Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.001366/0.001366, allocations: 116.7 kB / 19.17 MB, free: 3.871 MB / 14.72 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.002475/0.002475, allocations: 206.6 kB / 22.12 MB, free: 0.9219 MB / 14.72 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 1.597/1.597, allocations: 230.3 MB / 255.2 MB, free: 15.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2567/0.2567, allocations: 46.92 MB / 358.2 MB, free: 10.43 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003903/0.003903, allocations: 84.42 kB / 0.4926 GB, free: 26.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1687, allocations: 66 MB / 0.557 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003471/0.1722, allocations: 1.74 MB / 0.5587 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1739, allocations: 1.034 MB / 0.5598 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.174, allocations: 3.938 kB / 0.5598 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1743, allocations: 51.75 kB / 0.5598 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.1746, allocations: 95.55 kB / 0.5599 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1748, allocations: 79.66 kB / 0.56 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1749, allocations: 99.77 kB / 0.5601 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.175, allocations: 11.98 kB / 0.5601 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1751, allocations: 47.72 kB / 0.5601 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.1752, allocations: 39.78 kB / 0.5602 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1752, allocations: 4 kB / 0.5602 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/0.1753, allocations: 51.97 kB / 0.5602 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1754, allocations: 19.92 kB / 0.5602 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.1754, allocations: 31.75 kB / 0.5603 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1757, allocations: 123.4 kB / 0.5604 GB, free: 4.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1757, allocations: 0 / 0.5604 GB, free: 4.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1757, allocations: 0 / 0.5604 GB, free: 4.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1757, allocations: 3.938 kB / 0.5604 GB, free: 4.965 MB / 414.1 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.0007469/0.1764, allocations: 426.6 kB / 0.5608 GB, free: 4.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1765, allocations: 8.031 kB / 0.5608 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.1765, allocations: 16.88 kB / 0.5608 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.1769, allocations: 216.1 kB / 0.561 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1769, allocations: 8.312 kB / 0.561 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.177, allocations: 4.375 kB / 0.561 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1772, allocations: 57.98 kB / 0.5611 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1772, allocations: 0 / 0.5611 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1772, allocations: 0 / 0.5611 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1772, allocations: 3.938 kB / 0.5611 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1773, allocations: 19.98 kB / 0.5611 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.1778, allocations: 292.8 kB / 0.5614 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.178, allocations: 58.67 kB / 0.5615 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.1781, allocations: 24.78 kB / 0.5615 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1781, allocations: 0 / 0.5615 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1783, allocations: 75.38 kB / 0.5615 GB, free: 3.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.1783, allocations: 4 kB / 0.5616 GB, free: 3.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000821/0.1792, allocations: 173.3 kB / 0.5617 GB, free: 3.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1792, allocations: 51.41 kB / 0.5618 GB, free: 3.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.1795, allocations: 214.1 kB / 0.562 GB, free: 3.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.1795, allocations: 29.7 kB / 0.562 GB, free: 3.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.1796, allocations: 100.1 kB / 0.5621 GB, free: 3.016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1797, allocations: 27.8 kB / 0.5621 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.1797, allocations: 29.7 kB / 0.5621 GB, free: 2.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.18, allocations: 330.7 kB / 0.5625 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.18, allocations: 20 kB / 0.5625 GB, free: 2.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1801, allocations: 33.7 kB / 0.5625 GB, free: 2.562 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1803, allocations: 61.64 kB / 0.5626 GB, free: 2.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1803, allocations: 4 kB / 0.5626 GB, free: 2.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002872/0.1806, allocations: 109.5 kB / 0.5627 GB, free: 2.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1806, allocations: 5.719 kB / 0.5627 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1806, allocations: 4 kB / 0.5627 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1806, allocations: 0 / 0.5627 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1808, allocations: 12 kB / 0.5627 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1808, allocations: 0 / 0.5627 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.1808, allocations: 7.984 kB / 0.5627 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1809, allocations: 4 kB / 0.5627 GB, free: 2.348 MB / 414.1 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.0001453/0.181, allocations: 129.8 kB / 0.5628 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.181, allocations: 15.91 kB / 0.5629 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.1811, allocations: 17.39 kB / 0.5629 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1811, allocations: 3.938 kB / 0.5629 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1811, allocations: 3.938 kB / 0.5629 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1811, allocations: 4 kB / 0.5629 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.1818, allocations: 399.5 kB / 0.5633 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1818, allocations: 4.031 kB / 0.5633 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.1818, allocations: 11.94 kB / 0.5633 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1818, allocations: 0 / 0.5633 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1818, allocations: 0 / 0.5633 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.1818, allocations: 7.938 kB / 0.5633 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1818, allocations: 0 / 0.5633 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.1822, allocations: 204.3 kB / 0.5635 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.1823, allocations: 93.05 kB / 0.5636 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1823, allocations: 384 / 0.5636 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1824, allocations: 7.938 kB / 0.5636 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.1825, allocations: 11.92 kB / 0.5636 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1825, allocations: 8 kB / 0.5636 GB, free: 1.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.1827, allocations: 160.3 kB / 0.5637 GB, free: 1.176 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1827, allocations: 0 / 0.5637 GB, free: 1.176 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.1832, allocations: 23.94 kB / 0.5638 GB, free: 1.152 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002368/0.1855, allocations: 462.3 kB / 0.5642 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1858, allocations: 55.92 kB / 0.5643 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1858, allocations: 0 / 0.5643 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1859, allocations: 28.05 kB / 0.5643 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.1864, allocations: 23.98 kB / 0.5643 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.1871, allocations: 280.2 kB / 0.5646 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.1876, allocations: 0.7119 MB / 0.5653 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1877, allocations: 19.5 kB / 0.5653 GB, free: 15.69 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1877, allocations: 0 / 0.5653 GB, free: 15.69 MB / 430.1 MB Notification: Performance of Templates: time 0.005738/0.1934, allocations: 1.981 MB / 0.5672 GB, free: 13.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.817661957000382]