Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000804/0.000804, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000834/0.000834, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9511/0.9511, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2684/0.2684, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.534e-05, allocations: 2.312 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002383/0.002399, allocations: 1.722 MB / 378.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003609, allocations: 0.9812 MB / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.003701, allocations: 3.938 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.00407, allocations: 39.77 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.00437, allocations: 95.53 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.004575, allocations: 75.66 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.004742, allocations: 115.6 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.004827, allocations: 7.938 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.004907, allocations: 55.81 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.004977, allocations: 27.92 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.004992, allocations: 4 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.005075, allocations: 47.91 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.005125, allocations: 19.92 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.005166, allocations: 19.94 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.005347, allocations: 111.6 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005349, allocations: 0 / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00535, allocations: 0 / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.005353, allocations: 3.938 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004246/0.005777, allocations: 341.6 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005816, allocations: 12.03 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.005844, allocations: 34.73 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.005891, allocations: 16.89 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.006052, allocations: 153.5 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.006064, allocations: 4.375 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.006082, allocations: 8.375 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.006193, allocations: 50.23 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.006202, allocations: 192 / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.006212, allocations: 8.125 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.006216, allocations: 4 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.006263, allocations: 23.98 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.006544, allocations: 256 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.006656, allocations: 46.69 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.00669, allocations: 24.78 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.006702, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.006809, allocations: 71.33 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.006811, allocations: 0 / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004271/0.007238, allocations: 177.4 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.007278, allocations: 67.31 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.007412, allocations: 183.3 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.007429, allocations: 33.7 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.007855, allocations: 100.1 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.007891, allocations: 27.78 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.007929, allocations: 29.66 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.008023, allocations: 322.8 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.00806, allocations: 19.98 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.624e-05/0.008107, allocations: 37.7 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.008195, allocations: 73.58 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.008197, allocations: 0 / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001353/0.008332, allocations: 97.59 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.008349, allocations: 8 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.008356, allocations: 3.984 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.008371, allocations: 0 / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.008452, allocations: 19.94 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.008462, allocations: 8.141 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.008496, allocations: 0 / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.00851, allocations: 12.39 kB / 382.3 MB, free: 13.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.008615, allocations: 125.8 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.008636, allocations: 11.95 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.00883, allocations: 119.1 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.008833, allocations: 0 / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.008839, allocations: 4 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.00885, allocations: 7.969 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.009209, allocations: 370.3 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.009212, allocations: 3.984 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.009245, allocations: 16.03 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.009249, allocations: 4 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.00926, allocations: 0 / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.009262, allocations: 0 / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.009266, allocations: 3.938 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.009469, allocations: 216.3 kB / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.009485, allocations: 15.84 kB / 383.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.009504, allocations: 4 kB / 383.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.009545, allocations: 4 kB / 383.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.009584, allocations: 11.92 kB / 383.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.009599, allocations: 4 kB / 383.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.2e-05/0.009681, allocations: 147.9 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009681, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.009873, allocations: 23.94 kB / 383.4 MB, free: 12.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.01099, allocations: 1.122 MB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01113, allocations: 63.89 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01113, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.01118, allocations: 31.92 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01141, allocations: 28.23 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.01293, allocations: 1.674 MB / 386.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.43e-05/0.013, allocations: 92.44 kB / 386.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.639e-05/0.01305, allocations: 16.91 kB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.01311, allocations: 36.48 kB / 386.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01311, allocations: 0 / 386.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.03077, allocations: 4.313 MB / 390.8 MB, free: 5.055 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.133, allocations: 8.062 kB / 390.8 MB, free: 5.047 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.234598373994231]