Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001839/0.001839, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002414/0.002414, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.186/2.186, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.1 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002546/0.002546, allocations: 77.66 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.156, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003519/0.1596, allocations: 1.781 MB / 481.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1614, allocations: 1.017 MB / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.1615, allocations: 7.875 kB / 482.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.1619, allocations: 35.91 kB / 482.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.1622, allocations: 79.73 kB / 482.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1625, allocations: 63.81 kB / 482.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1627, allocations: 99.75 kB / 483 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1628, allocations: 4 kB / 483 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.1629, allocations: 43.78 kB / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.163, allocations: 39.72 kB / 483.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.163, allocations: 4 kB / 483.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1632, allocations: 39.98 kB / 483.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1632, allocations: 23.91 kB / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.1633, allocations: 31.75 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1635, allocations: 88.09 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1635, allocations: 0 / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1635, allocations: 0 / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1635, allocations: 0 / 483.3 MB, free: 2.371 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.0006482/0.1642, allocations: 426.8 kB / 483.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1642, allocations: 8.875 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.1643, allocations: 8.844 kB / 483.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1646, allocations: 208.8 kB / 483.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1646, allocations: 4.375 kB / 483.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1646, allocations: 4.125 kB / 483.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1648, allocations: 57.66 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1648, allocations: 0 / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1648, allocations: 0 / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1648, allocations: 8 kB / 484 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.1649, allocations: 19.92 kB / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1653, allocations: 296.8 kB / 484.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.1655, allocations: 54.67 kB / 484.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.1656, allocations: 16.86 kB / 484.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1656, allocations: 11.98 kB / 484.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.1658, allocations: 67.33 kB / 484.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1659, allocations: 0 / 484.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.1665, allocations: 169.2 kB / 484.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1665, allocations: 55.39 kB / 484.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1667, allocations: 190.9 kB / 484.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1667, allocations: 37.64 kB / 484.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.1668, allocations: 100.1 kB / 485 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.1668, allocations: 23.7 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1669, allocations: 21.72 kB / 485 MB, free: 420 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.167, allocations: 330.8 kB / 485.4 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.1671, allocations: 20.36 kB / 485.4 MB, free: 60 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.1672, allocations: 33.7 kB / 485.4 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1673, allocations: 77.62 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1673, allocations: 4 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.1675, allocations: 97.5 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1676, allocations: 7.938 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1676, allocations: 0 / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1676, allocations: 4 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.1677, allocations: 19.98 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1677, allocations: 0 / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.1678, allocations: 11.97 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1678, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.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.0001135/0.1679, allocations: 129.8 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.1679, allocations: 7.906 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.168, allocations: 17.39 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.168, allocations: 4 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.168, allocations: 0 / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.168, allocations: 3.938 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.1685, allocations: 399.2 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1685, allocations: 0 / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.1686, allocations: 15.92 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1686, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1686, allocations: 3.938 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1686, allocations: 4 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1686, allocations: 0 / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1689, allocations: 200.3 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1689, allocations: 88.92 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.169, allocations: 3.938 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.1691, allocations: 11.98 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.1691, allocations: 4 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1691, allocations: 0 / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1692, allocations: 160.9 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1693, allocations: 4 kB / 486.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1696, allocations: 31.92 kB / 486.7 MB, free: 14.61 MB / 366.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.001111/0.1707, allocations: 449.5 kB / 487.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.1709, allocations: 67.91 kB / 487.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1709, allocations: 0 / 487.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.171, allocations: 28.12 kB / 487.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1714, allocations: 39.89 kB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.1719, allocations: 282.5 kB / 487.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1722, allocations: 0.7121 MB / 488.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1723, allocations: 15.44 kB / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1723, allocations: 0 / 488.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.004231/0.1765, allocations: 1.937 MB / 490.2 MB, free: 11.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches