Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001195/0.001195, allocations: 115 kB / 18.46 MB, free: 4.621 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.001387/0.001387, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.556/1.556, allocations: 230.6 MB / 254.8 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.2635/0.2635, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 75.91 kB / 0.4921 GB, free: 7.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1616, allocations: 65.99 MB / 0.5566 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003602/0.1652, allocations: 1.692 MB / 0.5582 GB, free: 3.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1671, allocations: 1.023 MB / 0.5592 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.1672, allocations: 0 / 0.5592 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1675, allocations: 59.75 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.1678, allocations: 111.5 kB / 0.5594 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.168, allocations: 63.75 kB / 0.5595 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1681, allocations: 99.69 kB / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.1682, allocations: 8.219 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.1683, allocations: 43.78 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.1684, allocations: 27.8 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1684, allocations: 8 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.1685, allocations: 35.97 kB / 0.5597 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.1685, allocations: 23.92 kB / 0.5597 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.1686, allocations: 39.62 kB / 0.5597 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1688, allocations: 119.4 kB / 0.5598 GB, free: 1.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1688, allocations: 4 kB / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1688, allocations: 0 / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1688, allocations: 0 / 0.5599 GB, free: 1.891 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007818/0.1696, allocations: 450.5 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1696, allocations: 8.031 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1697, allocations: 12.89 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.17, allocations: 225 kB / 0.5605 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.17, allocations: 384 / 0.5605 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1701, allocations: 8.125 kB / 0.5605 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1702, allocations: 53.61 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1702, allocations: 0 / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1702, allocations: 0 / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1702, allocations: 4 kB / 0.5606 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.112e-05/0.1703, allocations: 11.98 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.1706, allocations: 189.7 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1707, allocations: 54.61 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1708, allocations: 24.72 kB / 0.5608 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1708, allocations: 0 / 0.5608 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.171, allocations: 71.38 kB / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.171, allocations: 0 / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003251/0.1713, allocations: 105.5 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.1713, allocations: 55.34 kB / 0.5611 GB, free: 468 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.1716, allocations: 274.8 kB / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1716, allocations: 25.7 kB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.1717, allocations: 116.1 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.1718, allocations: 11.89 kB / 0.5615 GB, free: 16 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.1718, allocations: 21.72 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.172, allocations: 330.8 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.1721, allocations: 19.97 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.1721, allocations: 21.72 kB / 0.5619 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1723, allocations: 45.7 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1723, allocations: 3.938 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.1724, allocations: 89.47 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1724, allocations: 14.02 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1724, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1725, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.1725, allocations: 8 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1725, allocations: 4 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1726, allocations: 11.89 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1726, allocations: 7.938 kB / 0.562 GB, free: 15.42 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 (7): * Single equations (assignments): 7 * 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.0001273/0.1727, allocations: 141.5 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1727, allocations: 15.89 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.1728, allocations: 17 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1728, allocations: 0 / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1728, allocations: 0 / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1728, allocations: 0 / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.173, allocations: 201.6 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.173, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.173, allocations: 7.984 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.173, allocations: 0 / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.173, allocations: 4 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.173, allocations: 320 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.173, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.1733, allocations: 124.9 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.1733, allocations: 89.02 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1734, allocations: 0 / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.1734, allocations: 8 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1734, allocations: 3.984 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1735, allocations: 8 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1737, allocations: 196.6 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1737, allocations: 0 / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1739, allocations: 23.98 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001631/0.1755, allocations: 406.7 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1757, allocations: 43.92 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1757, allocations: 0 / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1757, allocations: 24.03 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.176, allocations: 33.17 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.1766, allocations: 300.1 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.177, allocations: 0.7157 MB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1771, allocations: 15.44 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1771, allocations: 0 / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Templates: time 0.004423/0.1815, allocations: 1.897 MB / 0.5662 GB, free: 11.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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: 8.279976444988279]