Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001013, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.784/1.784, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008681/0.0008687, allocations: 93.42 kB / 270.9 MB, free: 8.355 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.4737/0.4737, allocations: 43.55 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004021, allocations: 20 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1647, allocations: 58.85 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.0034/0.1682, allocations: 1.39 MB / 491.6 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1713, allocations: 1.317 MB / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1715, allocations: 0 / 493 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1718, allocations: 31.84 kB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.1722, allocations: 43.83 kB / 493 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.1727, allocations: 79.83 kB / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.173, allocations: 83.7 kB / 493.2 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1732, allocations: 16.22 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1733, allocations: 35.78 kB / 493.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.1735, allocations: 31.84 kB / 493.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.1736, allocations: 7.938 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.1738, allocations: 51.97 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.1739, allocations: 15.92 kB / 493.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.174, allocations: 33.64 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1743, allocations: 92.08 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1743, allocations: 0 / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1743, allocations: 0 / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1743, allocations: 4 kB / 493.5 MB, free: 7.941 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.0007804/0.1751, allocations: 394.9 kB / 493.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1752, allocations: 12.02 kB / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.1753, allocations: 7.906 kB / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.1756, allocations: 202.9 kB / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1757, allocations: 0 / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1757, allocations: 7.938 kB / 494.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.176, allocations: 67.39 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1761, allocations: 3.953 kB / 494.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1761, allocations: 4 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1761, allocations: 4 kB / 494.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1763, allocations: 15.98 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.1769, allocations: 280.9 kB / 494.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1772, allocations: 62.61 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.1773, allocations: 24.8 kB / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.1774, allocations: 0 / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.1777, allocations: 67.39 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.1777, allocations: 0 / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.1787, allocations: 177.1 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.1789, allocations: 81.11 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.1792, allocations: 141.8 kB / 495 MB, free: 6.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.1792, allocations: 33.7 kB / 495 MB, free: 6.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1794, allocations: 92.12 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.1795, allocations: 19.72 kB / 495.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1795, allocations: 3.938 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.1797, allocations: 330.8 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1799, allocations: 27.98 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.18, allocations: 42.5 kB / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1802, allocations: 20 kB / 495.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1802, allocations: 4 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003637/0.1806, allocations: 105.5 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1806, allocations: 4 kB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.1806, allocations: 0 / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.1807, allocations: 8 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.1809, allocations: 16.38 kB / 495.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1809, allocations: 3.984 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1811, allocations: 4 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1811, allocations: 4 kB / 495.7 MB, free: 5.473 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.0002175/0.1813, allocations: 137.5 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.1814, allocations: 7.906 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.1815, allocations: 16.7 kB / 495.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.1815, allocations: 7.984 kB / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1815, allocations: 0 / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1815, allocations: 0 / 495.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.1823, allocations: 387.3 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1823, allocations: 0 / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.1824, allocations: 11.98 kB / 496.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.1824, allocations: 4 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1824, allocations: 4 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1825, allocations: 4.031 kB / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1825, allocations: 0 / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.1829, allocations: 204.1 kB / 496.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.183, allocations: 93 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.1831, allocations: 4 kB / 496.6 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1832, allocations: 4 kB / 496.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.1833, allocations: 11.98 kB / 496.6 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.1833, allocations: 4 kB / 496.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1835, allocations: 119.7 kB / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1835, allocations: 0 / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000475/0.184, allocations: 31.95 kB / 496.7 MB, free: 4.344 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.001798/0.1858, allocations: 0.4996 MB / 497.2 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.1861, allocations: 59.91 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1862, allocations: 0 / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1863, allocations: 32.11 kB / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1869, allocations: 23.97 kB / 497.3 MB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.1876, allocations: 231.8 kB / 497.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.188, allocations: 0.7004 MB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.1881, allocations: 15.44 kB / 498.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1881, allocations: 3.938 kB / 498.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of Templates: time 0.0048/0.1929, allocations: 2.028 MB / 0.4886 GB, free: 0.7461 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches