Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, 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.679/1.679, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008429/0.000843, allocations: 93 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.4842/0.4842, allocations: 43.57 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004034, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002517/0.1627, allocations: 1.39 MB / 491.6 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1649, allocations: 1.313 MB / 492.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.165, allocations: 3.938 kB / 492.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1653, allocations: 31.89 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1655, allocations: 39.84 kB / 493 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1658, allocations: 87.77 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1659, allocations: 83.7 kB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.166, allocations: 12.22 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.1661, allocations: 39.78 kB / 493.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1663, allocations: 31.84 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1663, allocations: 7.938 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1665, allocations: 51.97 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.1665, allocations: 15.92 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.1666, allocations: 37.64 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1668, allocations: 92.08 kB / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1668, allocations: 0 / 493.5 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1668, allocations: 4 kB / 493.5 MB, free: 7.941 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1668, allocations: 0 / 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.0006396/0.1674, allocations: 390.9 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1675, allocations: 12.02 kB / 493.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.1676, allocations: 7.906 kB / 493.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1678, allocations: 202.5 kB / 494.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.1679, allocations: 4 kB / 494.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1679, allocations: 4 kB / 494.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.1681, allocations: 75.33 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1682, allocations: 3.953 kB / 494.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1682, allocations: 3.984 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1682, allocations: 0 / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.077e-05/0.1683, allocations: 23.97 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.1688, allocations: 273 kB / 494.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.169, allocations: 62.61 kB / 494.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.1691, allocations: 28.8 kB / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1691, allocations: 0 / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1693, allocations: 67.38 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1693, allocations: 0 / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005911/0.1699, allocations: 185.1 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.17, allocations: 77.11 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1702, allocations: 145.8 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1702, allocations: 29.7 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.1703, allocations: 96.12 kB / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1703, allocations: 23.7 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1703, allocations: 0 / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1705, allocations: 326.8 kB / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.1705, allocations: 23.98 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.1706, allocations: 46.5 kB / 495.5 MB, free: 5.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.1707, allocations: 20 kB / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1707, allocations: 0 / 495.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002548/0.171, allocations: 105.5 kB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.171, allocations: 8 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.171, allocations: 4.062 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.171, allocations: 3.938 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.1711, allocations: 15.98 kB / 495.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1711, allocations: 4 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.1712, allocations: 0 / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1712, 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.000121/0.1713, allocations: 129.7 kB / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1714, allocations: 7.906 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.1714, allocations: 16.7 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1714, allocations: 7.938 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1714, allocations: 0 / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1715, allocations: 0 / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.1719, allocations: 383.4 kB / 496.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.172, allocations: 7.922 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.172, allocations: 8 kB / 496.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.172, allocations: 0 / 496.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.172, allocations: 4 kB / 496.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.172, allocations: 4.031 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1721, allocations: 0 / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1723, allocations: 208.1 kB / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.1724, allocations: 89 kB / 496.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1724, allocations: 0 / 496.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.1725, allocations: 8.188 kB / 496.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1726, allocations: 15.92 kB / 496.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1726, allocations: 7.938 kB / 496.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1727, allocations: 118.7 kB / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1727, allocations: 0 / 496.7 MB, free: 4.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002788/0.173, 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.001277/0.1743, allocations: 0.507 MB / 497.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1745, allocations: 55.91 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1745, allocations: 7.938 kB / 497.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.1746, allocations: 32.05 kB / 497.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.175, allocations: 23.97 kB / 497.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.1755, allocations: 227.8 kB / 497.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1759, allocations: 0.7044 MB / 498.3 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.1759, allocations: 15.44 kB / 498.3 MB, free: 2.77 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1759, allocations: 3.938 kB / 498.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of Templates: time 0.005096/0.181, allocations: 2.028 MB / 0.4886 GB, free: 0.7383 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches