Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 95.3 kB / 16.99 MB, free: 5.941 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.0009407/0.0009408, allocations: 181.8 kB / 17.87 MB, free: 5.609 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.412/1.412, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2301/0.2301, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1643, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002405/0.1667, allocations: 1.351 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1684, allocations: 0.7764 MB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.1686, allocations: 4 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1689, allocations: 31.78 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1692, allocations: 55.8 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1695, allocations: 91.27 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1697, allocations: 63.84 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.321e-05/0.1697, allocations: 4 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1699, allocations: 35.84 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.17, allocations: 27.86 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.17, allocations: 4 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.1701, allocations: 19.92 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.1702, allocations: 27.91 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.1702, allocations: 41.64 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1704, allocations: 88.09 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1704, allocations: 0 / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1704, allocations: 0 / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1704, allocations: 0 / 474.1 MB, free: 11.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005615/0.171, allocations: 410.8 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.171, allocations: 8.031 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.1711, allocations: 15.89 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1714, allocations: 210.6 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.1714, allocations: 4 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.1714, allocations: 8 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1716, allocations: 49.62 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1716, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1716, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1716, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.1717, allocations: 15.98 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.172, allocations: 189.7 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1721, allocations: 58.56 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.1722, allocations: 0 / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.1724, allocations: 71.44 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1724, allocations: 0 / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003024/0.1727, allocations: 101.4 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1728, allocations: 59.41 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.173, allocations: 262.3 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1731, allocations: 25.7 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.393e-05/0.1732, allocations: 112.1 kB / 475.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1732, allocations: 11.89 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.1732, allocations: 4 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1733, allocations: 322.8 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.1734, allocations: 15.98 kB / 476 MB, free: 8.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.1735, allocations: 33.7 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.1735, allocations: 12 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1735, allocations: 0 / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.1737, allocations: 89.38 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1737, allocations: 4 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1737, allocations: 3.953 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1737, allocations: 4 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.152e-05/0.1738, allocations: 11.98 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1738, allocations: 4.031 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1739, allocations: 15.84 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.1739, allocations: 0 / 476.2 MB, free: 8.773 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 ($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 (7): * Single equations (assignments): 7 * 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.0001232/0.1741, allocations: 134.3 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.1741, allocations: 15.84 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.1741, allocations: 16.98 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1742, allocations: 11.94 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1742, allocations: 0 / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1742, allocations: 0 / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.1743, allocations: 197.6 kB / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1744, allocations: 0 / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.1744, allocations: 4 kB / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1744, allocations: 0 / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1744, allocations: 0 / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1744, allocations: 4 kB / 476.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1744, allocations: 3.953 kB / 476.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.1746, allocations: 113.2 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.1747, allocations: 96.91 kB / 476.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1747, allocations: 0 / 476.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.1748, allocations: 11.94 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.1748, allocations: 7.938 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1748, allocations: 4 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.175, allocations: 188.5 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.175, allocations: 0 / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1753, allocations: 27.98 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00102/0.1763, allocations: 411.7 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1765, allocations: 43.98 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1765, allocations: 0 / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.298e-05/0.1766, allocations: 19.94 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.1768, allocations: 19.97 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.1773, allocations: 269.9 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1777, allocations: 0.7199 MB / 478.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.1777, allocations: 16.42 kB / 478.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.1778, allocations: 15.42 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1778, allocations: 0 / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004491/0.1823, allocations: 1.408 MB / 479.9 MB, free: 5.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches