Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 176.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000793/0.0007934, allocations: 87.91 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4389/0.4389, allocations: 43.57 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.000444, allocations: 16 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1679, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00228/0.1702, allocations: 1.398 MB / 491.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1715, allocations: 0.7422 MB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.1716, allocations: 0 / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.172, allocations: 39.84 kB / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.1722, allocations: 43.83 kB / 492.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1725, allocations: 75.78 kB / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1727, allocations: 83.69 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1728, allocations: 20.22 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.1729, allocations: 35.84 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.173, allocations: 27.78 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.173, allocations: 4 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.1731, allocations: 43.92 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.1732, allocations: 15.92 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.1733, allocations: 41.62 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1735, allocations: 80.11 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.1735, allocations: 4 kB / 492.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1735, allocations: 4 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1735, allocations: 0 / 492.9 MB, free: 8.543 MB / 378.7 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.0007413/0.1743, allocations: 402.8 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1743, allocations: 12.02 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.1744, allocations: 11.91 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.1747, allocations: 195.6 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1747, allocations: 8 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1747, allocations: 3.938 kB / 493.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1749, allocations: 61.61 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.175, allocations: 7.906 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.175, allocations: 0 / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.175, allocations: 3.953 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.1751, allocations: 15.98 kB / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.1756, allocations: 284.9 kB / 493.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1758, allocations: 62.62 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1758, allocations: 20.84 kB / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1759, allocations: 0 / 494 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.1761, allocations: 71.34 kB / 494 MB, free: 7.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1761, allocations: 0 / 494 MB, free: 7.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.1767, allocations: 173.2 kB / 494.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1768, allocations: 59.41 kB / 494.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.177, allocations: 200.7 kB / 494.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1771, allocations: 25.7 kB / 494.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.1771, allocations: 112.1 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1772, allocations: 15.72 kB / 494.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1772, allocations: 4 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1773, allocations: 322.8 kB / 494.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.1774, allocations: 19.98 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1775, allocations: 45.64 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.029e-05/0.1775, allocations: 20 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1775, allocations: 0 / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.1777, allocations: 109.4 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1778, allocations: 7.938 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1778, allocations: 0 / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.1778, allocations: 4 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1779, allocations: 20.02 kB / 495.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1779, allocations: 0 / 495.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.178, allocations: 4 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.178, allocations: 4 kB / 495.1 MB, free: 6.059 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.1781, allocations: 133.6 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.1782, allocations: 15.86 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.1782, allocations: 13.41 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1782, allocations: 0 / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1782, allocations: 3.938 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1782, allocations: 4 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.1787, allocations: 399.2 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1787, allocations: 0 / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.1787, allocations: 11.94 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1787, allocations: 0 / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1788, allocations: 4 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1788, allocations: 0 / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1788, allocations: 0 / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.179, allocations: 204.3 kB / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.1791, allocations: 96.95 kB / 496 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1791, allocations: 0 / 496 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1792, allocations: 4 kB / 496 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.1792, allocations: 7.984 kB / 496 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1793, allocations: 8 kB / 496 MB, free: 5.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1794, allocations: 156.8 kB / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1794, allocations: 192 / 496.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.1797, allocations: 31.91 kB / 496.2 MB, free: 4.883 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.1807, allocations: 476 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1809, allocations: 55.92 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1809, allocations: 0 / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/0.181, allocations: 27.98 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1814, allocations: 19.98 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.182, allocations: 280.2 kB / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.1824, allocations: 0.712 MB / 497.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1825, allocations: 23.42 kB / 497.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1825, allocations: 0 / 497.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of Templates: time 0.004022/0.1865, allocations: 1.902 MB / 499.7 MB, free: 1.387 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches