Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001627/0.001627, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001939/0.001939, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.578/1.578, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.2639/0.2639, allocations: 46.92 MB / 357.8 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.89 kB / 0.4921 GB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1597, allocations: 65.99 MB / 0.5566 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003243/0.163, allocations: 1.694 MB / 0.5582 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1647, allocations: 1.019 MB / 0.5592 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.1648, allocations: 8 kB / 0.5592 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.1652, allocations: 63.73 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1655, allocations: 99.58 kB / 0.5594 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.1657, allocations: 87.59 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1658, allocations: 99.75 kB / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.1659, allocations: 240 / 0.5596 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.166, allocations: 55.77 kB / 0.5596 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1661, allocations: 51.7 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1661, allocations: 8 kB / 0.5597 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.764e-05/0.1662, allocations: 35.97 kB / 0.5597 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.1663, allocations: 19.92 kB / 0.5597 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.1663, allocations: 31.75 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1665, allocations: 99.58 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1665, allocations: 0 / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1666, allocations: 0 / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1666, allocations: 0 / 0.5599 GB, free: 1.863 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.0006132/0.1672, allocations: 418.7 kB / 0.5603 GB, free: 1.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.1672, allocations: 12.03 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.1673, allocations: 16.84 kB / 0.5603 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.1676, allocations: 211.2 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1676, allocations: 384 / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1676, allocations: 8.125 kB / 0.5605 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1678, allocations: 49.67 kB / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1678, allocations: 0 / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1678, allocations: 0 / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1678, allocations: 0 / 0.5606 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.1679, allocations: 19.92 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.1681, allocations: 189.6 kB / 0.5608 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1683, allocations: 46.61 kB / 0.5608 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.1683, allocations: 20.8 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1683, allocations: 0 / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.1685, allocations: 75.33 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.1685, allocations: 7.875 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002958/0.1688, allocations: 93.61 kB / 0.561 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.1689, allocations: 51.41 kB / 0.561 GB, free: 500 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1691, allocations: 194.4 kB / 0.5612 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.1691, allocations: 29.7 kB / 0.5612 GB, free: 260 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.1692, allocations: 96.14 kB / 0.5613 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1692, allocations: 15.89 kB / 0.5614 GB, free: 144 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1692, allocations: 21.72 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1694, allocations: 326.8 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.1695, allocations: 16.23 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.008e-05/0.1695, allocations: 25.66 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.1696, allocations: 49.7 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1696, allocations: 0 / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001624/0.1698, allocations: 89.47 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1698, allocations: 8 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1698, allocations: 0 / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1698, allocations: 3.984 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.1699, allocations: 8 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1699, allocations: 4 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.17, allocations: 3.938 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.17, allocations: 8 kB / 0.5619 GB, free: 15.55 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.0001108/0.1701, allocations: 132 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1701, allocations: 7.953 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.1701, allocations: 13 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1701, allocations: 7.984 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1702, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1702, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1703, allocations: 193.5 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1703, allocations: 0 / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.1704, allocations: 7.984 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1704, allocations: 0 / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1704, allocations: 3.984 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1704, allocations: 4 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1704, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.1706, allocations: 117.1 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.1706, allocations: 81.06 kB / 0.5624 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1706, allocations: 3.938 kB / 0.5624 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.1707, allocations: 4 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.1707, allocations: 3.984 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1707, allocations: 8 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1709, allocations: 148.2 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1709, allocations: 0 / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1711, allocations: 19.94 kB / 0.5626 GB, free: 14.72 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.001498/0.1726, allocations: 414.1 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1728, allocations: 35.98 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.1728, allocations: 4 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.1729, allocations: 23.98 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1731, allocations: 32.47 kB / 0.5631 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.1736, allocations: 231.6 kB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.1739, allocations: 0.7041 MB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.174, allocations: 15.44 kB / 0.564 GB, free: 13.37 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.174, allocations: 0 / 0.564 GB, free: 13.37 MB / 430.1 MB Notification: Performance of Templates: time 0.003822/0.1778, allocations: 1.729 MB / 0.5657 GB, free: 11.64 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.207127287983894]