Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 109.4 kB / 17.21 MB, free: 6.273 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.001659/0.001659, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241.8 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2413/0.2413, allocations: 44.17 MB / 336.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.61 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1606, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003723/0.1644, allocations: 1.761 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.1667, allocations: 1.452 MB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.1669, allocations: 4 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.1672, allocations: 35.83 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1675, allocations: 47.83 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1679, allocations: 103.3 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.168, allocations: 87.77 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1682, allocations: 8.219 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.1682, allocations: 43.72 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1684, allocations: 39.84 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1684, allocations: 0 / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1686, allocations: 55.97 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.1686, allocations: 19.92 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.1687, allocations: 39.72 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1689, allocations: 115.9 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1689, allocations: 0 / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1689, allocations: 0 / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1689, allocations: 0 / 472.3 MB, free: 10.99 MB / 350.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.0005521/0.1695, allocations: 399.2 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000111/0.1696, allocations: 12.03 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.1697, allocations: 8.844 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1699, allocations: 204.1 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.17, allocations: 384 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.17, allocations: 8.125 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1702, allocations: 79.27 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1702, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1702, allocations: 4 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1703, allocations: 0 / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/0.1703, allocations: 19.98 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1708, allocations: 276.9 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.171, allocations: 58.61 kB / 473.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.171, allocations: 20.86 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1711, allocations: 8 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.1713, allocations: 59.39 kB / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1713, allocations: 0 / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006087/0.1719, allocations: 189.1 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.172, allocations: 77.11 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1722, allocations: 156.4 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.1723, allocations: 37.64 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.1724, allocations: 92.12 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.1724, allocations: 19.72 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.1725, allocations: 21.72 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.1727, allocations: 326.8 kB / 474.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.1728, allocations: 27.92 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.1729, allocations: 42.56 kB / 474.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.173, allocations: 61.7 kB / 474.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.173, allocations: 384 / 474.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.1732, allocations: 97.52 kB / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.1733, allocations: 4 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1733, allocations: 0 / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.1733, allocations: 8 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1734, allocations: 16.05 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1735, allocations: 4 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.652e-05/0.1736, allocations: 15.88 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1736, allocations: 4 kB / 474.6 MB, free: 8.434 MB / 350.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.1737, allocations: 125.8 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.1738, allocations: 7.906 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.1738, allocations: 12.72 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1738, allocations: 0 / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1739, allocations: 4 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1739, allocations: 11.88 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.1745, allocations: 387.3 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1745, allocations: 0 / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.1745, allocations: 8 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1745, allocations: 0 / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1745, allocations: 3.938 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1746, allocations: 4 kB / 475.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1746, allocations: 0 / 475.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.1749, allocations: 220.4 kB / 475.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.1749, allocations: 81.02 kB / 475.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.175, allocations: 7.938 kB / 475.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.175, allocations: 4 kB / 475.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.1751, allocations: 7.984 kB / 475.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1751, allocations: 4 kB / 475.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1752, allocations: 119.4 kB / 475.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1753, allocations: 0 / 475.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1756, allocations: 31.94 kB / 475.7 MB, free: 7.305 MB / 350.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 (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.001461/0.177, allocations: 0.4884 MB / 476.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1773, allocations: 55.91 kB / 476.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1773, allocations: 4 kB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.1774, allocations: 35.86 kB / 476.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1778, allocations: 31.75 kB / 476.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.1783, allocations: 204.6 kB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1787, allocations: 0.7004 MB / 477.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.1788, allocations: 21.16 kB / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.1788, allocations: 19.44 kB / 477.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1788, allocations: 0 / 477.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Templates: time 0.005683/0.1845, allocations: 1.893 MB / 479.1 MB, free: 4.012 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches