Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002387/0.002387, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2495/0.2495, allocations: 46.93 MB / 357.1 MB, free: 10.29 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 68.09 kB / 0.4915 GB, free: 7.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1646, allocations: 66 MB / 0.5559 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003407/0.168, allocations: 1.733 MB / 0.5576 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1699, allocations: 1.038 MB / 0.5586 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.17, allocations: 0 / 0.5586 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1703, allocations: 39.77 kB / 0.5587 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.1706, allocations: 95.59 kB / 0.5588 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1708, allocations: 75.67 kB / 0.5588 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1711, allocations: 115.6 kB / 0.559 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1712, allocations: 8 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1713, allocations: 47.78 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.1714, allocations: 35.84 kB / 0.559 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1714, allocations: 4 kB / 0.559 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.1715, allocations: 43.98 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.137e-05/0.1715, allocations: 15.92 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.1716, allocations: 39.67 kB / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1719, allocations: 115.5 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.1719, allocations: 4 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1719, allocations: 0 / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1719, allocations: 0 / 0.5593 GB, free: 1.789 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.0006789/0.1725, allocations: 418.7 kB / 0.5597 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1726, allocations: 8.031 kB / 0.5597 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1726, allocations: 16.84 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1729, allocations: 210.4 kB / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1729, allocations: 4.312 kB / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.173, allocations: 4.125 kB / 0.5599 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1731, allocations: 57.67 kB / 0.5599 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1731, allocations: 3.984 kB / 0.5599 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1732, allocations: 0 / 0.5599 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1732, allocations: 4 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.1732, allocations: 19.98 kB / 0.56 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1737, allocations: 288.9 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1739, allocations: 50.62 kB / 0.5603 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.1739, allocations: 24.84 kB / 0.5603 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.174, allocations: 7.984 kB / 0.5603 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.1741, allocations: 63.39 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1741, allocations: 0 / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006124/0.1747, allocations: 181.3 kB / 0.5606 GB, free: 292 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1748, allocations: 51.41 kB / 0.5606 GB, free: 228 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.175, allocations: 185.7 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.175, allocations: 29.7 kB / 0.5608 GB, free: 16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1751, allocations: 108.1 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1752, allocations: 19.84 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1752, allocations: 21.72 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1754, allocations: 326.8 kB / 0.5613 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.1754, allocations: 27.92 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.1755, allocations: 33.7 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1756, allocations: 65.7 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1756, allocations: 0 / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002095/0.1759, allocations: 105.5 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1759, allocations: 4 kB / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1759, allocations: 4 kB / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1759, allocations: 0 / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.176, allocations: 15.98 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.176, allocations: 0 / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.176, allocations: 11.97 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1761, allocations: 15.92 kB / 0.5615 GB, free: 15.21 MB / 430.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.0001128/0.1762, allocations: 124.2 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.1762, allocations: 7.953 kB / 0.5617 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.347e-05/0.1762, allocations: 13.41 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1762, allocations: 0 / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1763, allocations: 4 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1763, allocations: 7.922 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.1768, allocations: 395.3 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1768, allocations: 0 / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.1768, allocations: 8.375 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1768, allocations: 4 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1768, allocations: 11.92 kB / 0.5621 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1768, allocations: 4 kB / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1768, allocations: 0 / 0.5621 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1771, allocations: 200.3 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.1772, allocations: 89.02 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1772, allocations: 11.94 kB / 0.5624 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1773, allocations: 0 / 0.5624 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1773, allocations: 7.984 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1773, allocations: 4 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1775, allocations: 137.8 kB / 0.5625 GB, free: 14.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1775, allocations: 8.188 kB / 0.5625 GB, free: 14.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1777, allocations: 23.94 kB / 0.5626 GB, free: 14.07 MB / 430.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.001761/0.1795, allocations: 466.3 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1797, allocations: 59.91 kB / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1797, allocations: 0 / 0.5631 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.1798, allocations: 27.92 kB / 0.5631 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1801, allocations: 29.11 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.1807, allocations: 223.1 kB / 0.5633 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.1811, allocations: 0.7081 MB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.527e-05/0.1811, allocations: 8.891 kB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.1812, allocations: 23.42 kB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1812, allocations: 0 / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of Templates: time 0.00535/0.1865, allocations: 1.742 MB / 0.5657 GB, free: 10.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.503723379224539]