Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009312, allocations: 94.05 kB / 15.7 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 169.9 kB / 16.57 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4746/0.4746, allocations: 43.57 MB / 314.6 MB, free: 8.785 MB / 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.0007246/0.0007252, allocations: 16 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1564, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.0023/0.1588, allocations: 1.398 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1601, allocations: 0.7384 MB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.1602, allocations: 3.938 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1605, allocations: 39.89 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1607, allocations: 47.83 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.161, allocations: 71.78 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1612, allocations: 83.69 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1613, allocations: 16.22 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-05/0.1614, allocations: 31.86 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.1614, allocations: 31.77 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1615, allocations: 7.938 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.1616, allocations: 36 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.1616, allocations: 15.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.1617, allocations: 37.64 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1618, allocations: 92.08 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1619, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1619, allocations: 0 / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1619, allocations: 0 / 445.5 MB, free: 10.35 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.0005382/0.1624, allocations: 398.8 kB / 445.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1625, allocations: 12.03 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1625, allocations: 7.906 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1628, allocations: 210.8 kB / 446.1 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1628, allocations: 7.875 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1628, allocations: 4 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.163, allocations: 53.61 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.163, allocations: 4 kB / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.163, allocations: 4 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.163, allocations: 3.953 kB / 446.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.1631, allocations: 19.98 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.1635, allocations: 281 kB / 446.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1637, allocations: 58.61 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.1637, allocations: 24.86 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1638, allocations: 0 / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.1639, allocations: 79.23 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.164, allocations: 0 / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005105/0.1645, allocations: 161.3 kB / 446.8 MB, free: 8.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1645, allocations: 55.41 kB / 446.8 MB, free: 8.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1647, allocations: 186.1 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1647, allocations: 25.7 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.1648, allocations: 104.1 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1648, allocations: 23.7 kB / 447.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.1648, allocations: 8 kB / 447.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1649, allocations: 322.8 kB / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.165, allocations: 19.98 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.1651, allocations: 37.64 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.826e-05/0.1651, allocations: 24 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1651, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.1653, allocations: 101.6 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1653, allocations: 8 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1654, allocations: 0 / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1654, allocations: 3.938 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1655, allocations: 19.98 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1655, allocations: 0 / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.1656, allocations: 8 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1656, allocations: 0 / 447.7 MB, free: 7.895 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 ($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.0001085/0.1657, allocations: 126.9 kB / 447.8 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1657, allocations: 19.84 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.1658, allocations: 16.72 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1658, allocations: 4.125 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1658, allocations: 0 / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1658, allocations: 7.938 kB / 447.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1662, allocations: 395.2 kB / 448.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1663, allocations: 0 / 448.2 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.1663, allocations: 15.92 kB / 448.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1663, allocations: 4.031 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1663, allocations: 8 kB / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1663, allocations: 0 / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1663, allocations: 0 / 448.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1665, allocations: 192.3 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.1666, allocations: 100.9 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1667, allocations: 384 / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.1667, allocations: 8 kB / 448.6 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1668, allocations: 11.98 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1668, allocations: 8 kB / 448.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1669, allocations: 144 kB / 448.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.638e-06/0.167, allocations: 0 / 448.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1672, allocations: 27.94 kB / 448.8 MB, free: 6.727 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 (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.001109/0.1683, allocations: 464.6 kB / 449.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.1685, allocations: 59.95 kB / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.1685, allocations: 0 / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.1686, allocations: 23.94 kB / 449.3 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.1689, allocations: 36.09 kB / 449.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.1693, allocations: 230.4 kB / 449.5 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1697, allocations: 0.7082 MB / 450.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.1698, allocations: 16.81 kB / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.1698, allocations: 15.44 kB / 450.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1698, allocations: 0 / 450.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of Templates: time 0.004613/0.1745, allocations: 1.6 MB / 451.9 MB, free: 3.566 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches