Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 194.4 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2658/0.2658, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 71.89 kB / 468 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1661, allocations: 61.03 MB / 0.5166 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003409/0.1695, allocations: 1.722 MB / 0.5183 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.171, allocations: 0.8351 MB / 0.5191 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.1711, allocations: 4 kB / 0.5191 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1715, allocations: 51.75 kB / 0.5192 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1717, allocations: 63.75 kB / 0.5192 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.172, allocations: 87.77 kB / 0.5193 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1721, allocations: 99.62 kB / 0.5194 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.1722, allocations: 8.219 kB / 0.5194 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1723, allocations: 47.78 kB / 0.5195 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.1724, allocations: 27.84 kB / 0.5195 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1724, allocations: 4 kB / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.717e-05/0.1725, allocations: 43.98 kB / 0.5196 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.1726, allocations: 31.86 kB / 0.5196 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.547e-05/0.1727, allocations: 47.59 kB / 0.5196 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1729, allocations: 135.4 kB / 0.5198 GB, free: 3.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1729, allocations: 0 / 0.5198 GB, free: 3.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1729, allocations: 0 / 0.5198 GB, free: 3.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1729, allocations: 0 / 0.5198 GB, free: 3.594 MB / 398.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.0005986/0.1735, allocations: 357.5 kB / 0.5201 GB, free: 3.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1736, allocations: 8.031 kB / 0.5201 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.1736, allocations: 20.83 kB / 0.5201 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.1739, allocations: 166 kB / 0.5203 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1739, allocations: 4.375 kB / 0.5203 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.174, allocations: 4.125 kB / 0.5203 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1741, allocations: 57.61 kB / 0.5203 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1741, allocations: 0 / 0.5203 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1741, allocations: 4 kB / 0.5204 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1741, allocations: 0 / 0.5204 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.1742, allocations: 15.98 kB / 0.5204 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1746, allocations: 275.9 kB / 0.5206 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1748, allocations: 54.62 kB / 0.5207 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.1749, allocations: 24.78 kB / 0.5207 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1749, allocations: 4 kB / 0.5207 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.1751, allocations: 71.39 kB / 0.5208 GB, free: 2.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1751, allocations: 0 / 0.5208 GB, free: 2.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005783/0.1757, allocations: 181.3 kB / 0.521 GB, free: 2.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.1757, allocations: 51.41 kB / 0.521 GB, free: 2.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.176, allocations: 259.5 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.176, allocations: 29.7 kB / 0.5213 GB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1761, allocations: 116.1 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.1761, allocations: 23.8 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.1762, allocations: 29.7 kB / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1763, allocations: 330.8 kB / 0.5218 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.1764, allocations: 19.98 kB / 0.5218 GB, free: 1.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.1765, allocations: 37.64 kB / 0.5218 GB, free: 1.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1766, allocations: 57.72 kB / 0.5219 GB, free: 1.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1766, allocations: 4 kB / 0.5219 GB, free: 1.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.1768, allocations: 113.5 kB / 0.522 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1768, allocations: 4 kB / 0.522 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1768, allocations: 192 / 0.522 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1768, allocations: 0 / 0.522 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.1769, allocations: 27.92 kB / 0.522 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1769, allocations: 0 / 0.522 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.177, allocations: 3.938 kB / 0.522 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.177, allocations: 4 kB / 0.522 GB, free: 1.078 MB / 398.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.0001606/0.1771, allocations: 141.8 kB / 0.5221 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1772, allocations: 15.91 kB / 0.5222 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.1774, allocations: 115 kB / 0.5223 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1775, allocations: 4 kB / 0.5223 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1775, allocations: 0 / 0.5223 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1775, allocations: 3.938 kB / 0.5223 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.178, allocations: 370.4 kB / 0.5226 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.178, allocations: 4.031 kB / 0.5226 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.178, allocations: 8 kB / 0.5226 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.178, allocations: 0 / 0.5226 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.178, allocations: 11.94 kB / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.178, allocations: 7.875 kB / 0.5227 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.178, allocations: 0 / 0.5227 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1783, allocations: 204.3 kB / 0.5229 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.1783, allocations: 19.91 kB / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.1784, allocations: 4.312 kB / 0.5229 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.1784, allocations: 7.984 kB / 0.5229 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.1785, allocations: 7.984 kB / 0.5229 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1785, allocations: 4 kB / 0.5229 GB, free: 80 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.1787, allocations: 199.3 kB / 0.5231 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1787, allocations: 0 / 0.5231 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1789, allocations: 27.92 kB / 0.5231 GB, free: 15.86 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.001704/0.1806, allocations: 463.9 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1808, allocations: 55.95 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1808, allocations: 3.938 kB / 0.5236 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.1809, allocations: 28 kB / 0.5236 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1813, allocations: 39.77 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.1818, allocations: 283.5 kB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1822, allocations: 0.7119 MB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.1823, allocations: 21.03 kB / 0.5247 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1823, allocations: 15.44 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1823, allocations: 0 / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005214/0.1875, allocations: 1.786 MB / 0.5264 GB, free: 12.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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: 5.993126388639212]