Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009543/0.0009539, allocations: 99.3 kB / 17.01 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009787/0.0009787, allocations: 192 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12.22 kB / 418.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 63.57 MB / 482.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002171/0.1578, allocations: 1.419 MB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.16, allocations: 1.499 MB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.1601, allocations: 0 / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1604, allocations: 39.83 kB / 485.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1606, allocations: 79.67 kB / 485.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.1608, allocations: 63.83 kB / 485.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.161, allocations: 99.67 kB / 485.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.1611, allocations: 4 kB / 485.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.1612, allocations: 35.8 kB / 485.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1613, allocations: 43.83 kB / 485.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1614, allocations: 4 kB / 485.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.1616, allocations: 91.88 kB / 485.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.1616, allocations: 11.92 kB / 485.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.1617, allocations: 37.7 kB / 485.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1619, allocations: 127.9 kB / 486 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1619, allocations: 4 kB / 486 MB, free: 0.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1619, allocations: 0 / 486 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1619, allocations: 4 kB / 486 MB, free: 0.9531 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.0006133/0.1626, allocations: 407 kB / 486.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1626, allocations: 12.03 kB / 486.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1627, allocations: 7.906 kB / 486.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1629, allocations: 214.3 kB / 486.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1629, allocations: 4 kB / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.163, allocations: 0 / 486.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1632, allocations: 71.33 kB / 486.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1632, allocations: 0 / 486.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1632, allocations: 3.984 kB / 486.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1632, allocations: 4 kB / 486.7 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.1633, allocations: 19.98 kB / 486.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1638, allocations: 288.9 kB / 487 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1639, allocations: 62.61 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.164, allocations: 16.86 kB / 487.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.164, allocations: 0 / 487.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.1642, allocations: 71.39 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1642, allocations: 0 / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.00057/0.1648, allocations: 177.1 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.1649, allocations: 77.11 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1651, allocations: 169.9 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1651, allocations: 25.7 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.1652, allocations: 96.12 kB / 487.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1652, allocations: 31.64 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.1652, allocations: 4 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1653, allocations: 318.8 kB / 488 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.07e-05/0.1654, allocations: 23.98 kB / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.1655, allocations: 46.44 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.1656, allocations: 24 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1656, allocations: 0 / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.1658, allocations: 105.5 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1658, allocations: 4 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1658, allocations: 0 / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1658, allocations: 4 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.1659, allocations: 20.36 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.166, allocations: 0 / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.166, allocations: 8 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.166, allocations: 7.953 kB / 488.2 MB, free: 14.44 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 ($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.000119/0.1662, allocations: 125.8 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1662, allocations: 15.8 kB / 488.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.1662, allocations: 12.72 kB / 488.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.1662, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1663, allocations: 0 / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1663, allocations: 0 / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.1667, allocations: 391.3 kB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1667, allocations: 0 / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.1668, allocations: 19.95 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1668, allocations: 0 / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1668, allocations: 4 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1668, allocations: 0 / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1668, allocations: 3.953 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1671, allocations: 204.5 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-05/0.1672, allocations: 100.9 kB / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1672, allocations: 0 / 489.1 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.1673, allocations: 4 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1673, allocations: 11.94 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1674, allocations: 11.94 kB / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1675, allocations: 119.2 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1675, allocations: 0 / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.1678, allocations: 51.98 kB / 489.3 MB, free: 13.27 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 (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.001298/0.1691, allocations: 0.5294 MB / 489.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1693, allocations: 63.91 kB / 489.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1693, allocations: 0 / 489.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.633e-05/0.1694, allocations: 27.98 kB / 489.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1697, allocations: 32.03 kB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.1702, allocations: 214 kB / 490.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1706, allocations: 0.7082 MB / 490.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.1707, allocations: 16.86 kB / 490.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.1707, allocations: 23.42 kB / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1707, allocations: 0 / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Templates: time 0.005814/0.1765, allocations: 2.237 MB / 493.1 MB, free: 9.566 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches