Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 108.3 kB / 17.04 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 195 kB / 17.98 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 254.1 MB 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.00227/0.00227, allocations: 68.38 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1575, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004224/0.1617, allocations: 1.84 MB / 443.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1635, allocations: 0.8896 MB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1636, allocations: 4 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.1642, allocations: 155.5 kB / 444.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1646, allocations: 139.4 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.1651, allocations: 151.2 kB / 445.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.1654, allocations: 219.3 kB / 445.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1656, allocations: 25.55 kB / 445.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1658, allocations: 99.59 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.166, allocations: 123.6 kB / 445.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.166, allocations: 8 kB / 445.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1661, allocations: 43.98 kB / 445.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.524e-05/0.1662, allocations: 43.78 kB / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1664, allocations: 83.39 kB / 445.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1667, allocations: 191.4 kB / 446 MB, free: 2.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1667, allocations: 4 kB / 446 MB, free: 2.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1667, allocations: 0 / 446 MB, free: 2.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1667, allocations: 0 / 446 MB, free: 2.141 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007842/0.1675, allocations: 0.5137 MB / 446.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1676, allocations: 11.89 kB / 446.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.308e-05/0.1677, allocations: 24.66 kB / 446.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.1681, allocations: 263.6 kB / 446.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1682, allocations: 8.375 kB / 446.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.1682, allocations: 12.12 kB / 446.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.1685, allocations: 107.2 kB / 446.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1685, allocations: 0 / 446.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1686, allocations: 0 / 446.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1686, allocations: 0 / 446.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.1688, allocations: 39.97 kB / 446.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.1693, allocations: 444.8 kB / 447.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1697, allocations: 113.3 kB / 447.5 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.1698, allocations: 41.7 kB / 447.5 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.1699, allocations: 11.98 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.1702, allocations: 101.1 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/0.1702, allocations: 0 / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001158/0.1713, allocations: 360 kB / 448 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.1714, allocations: 89.03 kB / 448.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.172, allocations: 354.9 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.172, allocations: 29.7 kB / 448.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1722, allocations: 140.4 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.1722, allocations: 47.36 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.1723, allocations: 33.7 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1726, allocations: 346.8 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.1727, allocations: 43.94 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.1729, allocations: 68.61 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1733, allocations: 124.2 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1733, allocations: 4 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005037/0.1738, allocations: 173.3 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1738, allocations: 5.25 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1739, allocations: 4 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1739, allocations: 0 / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1741, allocations: 35.92 kB / 449.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1741, allocations: 11.88 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.1743, allocations: 11.98 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1743, allocations: 12.06 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001931/0.1745, allocations: 153.7 kB / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.1746, allocations: 31.61 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.068e-05/0.1747, allocations: 33.67 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1747, allocations: 4 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1747, allocations: 3.938 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1747, allocations: 0 / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.1758, allocations: 0.6087 MB / 450.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1758, allocations: 0 / 450.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.1759, allocations: 27.92 kB / 450.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1759, allocations: 3.984 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.176, allocations: 4 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.176, allocations: 0 / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.176, allocations: 4 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.1766, allocations: 364.5 kB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.1767, allocations: 96.83 kB / 450.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/0.1767, allocations: 11.98 kB / 450.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.177, allocations: 4 kB / 450.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.177, allocations: 15.98 kB / 450.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.1771, allocations: 8 kB / 450.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003797/0.1775, allocations: 265.9 kB / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1775, allocations: 0 / 451.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006069/0.1781, allocations: 39.98 kB / 451.2 MB, free: 12.56 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001709/0.1798, allocations: 484.6 kB / 451.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000413/0.1802, allocations: 111.9 kB / 451.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1803, allocations: 0 / 451.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1805, allocations: 63.89 kB / 451.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.1813, allocations: 62.17 kB / 451.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.1825, allocations: 442.5 kB / 452.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.183, allocations: 0.7515 MB / 453 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1831, allocations: 26.56 kB / 453.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/0.1832, allocations: 27.42 kB / 453.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1832, allocations: 0 / 453.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of Templates: time 0.0072/0.1905, allocations: 2.681 MB / 455.8 MB, free: 7.965 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches