Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.0013/0.0013, allocations: 109.7 kB / 18.33 MB, free: 4.078 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.001433/0.001433, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.863/1.863, allocations: 207.6 MB / 232.1 MB, free: 3.191 MB / 174.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.4215/0.4215, allocations: 44.23 MB / 328.4 MB, free: 6.676 MB / 254.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [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.002213/0.002213, allocations: 73.81 kB / 465.6 MB, free: 45.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1586, allocations: 61.01 MB / 0.5143 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003639/0.1623, allocations: 1.724 MB / 0.516 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1638, allocations: 0.8214 MB / 0.5168 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.1639, allocations: 1.375 kB / 0.5168 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.1643, allocations: 42.89 kB / 0.5168 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1645, allocations: 50.89 kB / 0.5168 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1648, allocations: 92.44 kB / 0.5169 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.165, allocations: 90.25 kB / 0.517 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1651, allocations: 20.56 kB / 0.517 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1652, allocations: 39.41 kB / 0.5171 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.1653, allocations: 34 kB / 0.5171 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1653, allocations: 3.25 kB / 0.5171 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1655, allocations: 42.44 kB / 0.5172 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.1655, allocations: 19.98 kB / 0.5172 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.1656, allocations: 26.91 kB / 0.5172 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.1659, allocations: 119.9 kB / 0.5173 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1659, allocations: 0 / 0.5173 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1659, allocations: 0 / 0.5173 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1659, allocations: 1.5 kB / 0.5173 GB, free: 10.09 MB / 382.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.0006296/0.1665, allocations: 414.7 kB / 0.5177 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1665, allocations: 19.84 kB / 0.5177 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1666, allocations: 12.84 kB / 0.5177 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1669, allocations: 216.1 kB / 0.5179 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-06/0.1669, allocations: 384 / 0.5179 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1669, allocations: 8.125 kB / 0.518 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1671, allocations: 57.61 kB / 0.518 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1671, allocations: 0 / 0.518 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1671, allocations: 4 kB / 0.518 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1671, allocations: 0 / 0.518 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.1672, allocations: 19.98 kB / 0.518 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.1675, allocations: 284.9 kB / 0.5183 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1676, allocations: 62.48 kB / 0.5184 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.1677, allocations: 20.92 kB / 0.5184 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1677, allocations: 4 kB / 0.5184 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.1678, allocations: 67.34 kB / 0.5185 GB, free: 8.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1678, allocations: 0 / 0.5185 GB, free: 8.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005107/0.1683, allocations: 177.3 kB / 0.5186 GB, free: 8.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.1684, allocations: 55.41 kB / 0.5187 GB, free: 8.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1685, allocations: 188.6 kB / 0.5189 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.1685, allocations: 25.7 kB / 0.5189 GB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.1685, allocations: 104.1 kB / 0.519 GB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1686, allocations: 27.78 kB / 0.519 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1686, allocations: 25.7 kB / 0.519 GB, free: 8.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.554e-05/0.1687, allocations: 326.8 kB / 0.5193 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.1687, allocations: 24.31 kB / 0.5194 GB, free: 7.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.1688, allocations: 41.64 kB / 0.5194 GB, free: 7.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.339e-05/0.1689, allocations: 53.7 kB / 0.5195 GB, free: 7.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1689, allocations: 8 kB / 0.5195 GB, free: 7.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.169, allocations: 105.5 kB / 0.5196 GB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.169, allocations: 4 kB / 0.5196 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.169, allocations: 0 / 0.5196 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.169, allocations: 4 kB / 0.5196 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.1691, allocations: 12 kB / 0.5196 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1691, allocations: 4.031 kB / 0.5196 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.1692, allocations: 11.92 kB / 0.5196 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1692, allocations: 8 kB / 0.5196 GB, free: 7.523 MB / 382.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 7.307e-05/0.1693, allocations: 121.8 kB / 0.5197 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.1693, allocations: 7.953 kB / 0.5197 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1695, allocations: 110.4 kB / 0.5198 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1695, allocations: 7.984 kB / 0.5198 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1695, allocations: 0 / 0.5198 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1695, allocations: 7.938 kB / 0.5198 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.1698, allocations: 387.3 kB / 0.5202 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1698, allocations: 3.984 kB / 0.5202 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.1699, allocations: 12 kB / 0.5202 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1699, allocations: 4 kB / 0.5202 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1699, allocations: 3.938 kB / 0.5202 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1699, allocations: 4.125 kB / 0.5202 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1699, allocations: 0 / 0.5202 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.1701, allocations: 212.6 kB / 0.5204 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.1701, allocations: 93 kB / 0.5205 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1701, allocations: 7.938 kB / 0.5205 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.1702, allocations: 0 / 0.5205 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.1702, allocations: 7.984 kB / 0.5206 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1702, allocations: 8 kB / 0.5206 GB, free: 6.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.635e-05/0.1703, allocations: 144.1 kB / 0.5207 GB, free: 6.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1703, allocations: 0 / 0.5207 GB, free: 6.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1706, allocations: 31.86 kB / 0.5207 GB, free: 6.258 MB / 382.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.001669/0.1722, allocations: 474.1 kB / 0.5212 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1724, allocations: 51.97 kB / 0.5212 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1724, allocations: 0 / 0.5212 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.1725, allocations: 27.94 kB / 0.5213 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1728, allocations: 23.97 kB / 0.5213 GB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.1733, allocations: 239 kB / 0.5215 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.1734, allocations: 0.7041 MB / 0.5222 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.432e-05/0.1735, allocations: 21.17 kB / 0.5222 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1735, allocations: 15.44 kB / 0.5222 GB, free: 4.711 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1735, allocations: 0 / 0.5222 GB, free: 4.711 MB / 382.1 MB Notification: Performance of Templates: time 0.004318/0.1778, allocations: 1.718 MB / 0.5239 GB, free: 3 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.835373565554619]