Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001036, allocations: 96.94 kB / 17 MB, free: 6.402 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.0009992/0.0009993, allocations: 180.2 kB / 17.89 MB, free: 5.945 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.489/1.489, allocations: 223.3 MB / 241.9 MB, free: 14.61 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.2051/0.2051, allocations: 44.25 MB / 337.3 MB, free: 2.531 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005712/0.0005716, allocations: 12 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1567, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002421/0.1592, allocations: 1.39 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1606, allocations: 0.7959 MB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1607, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.1611, allocations: 43.83 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1613, allocations: 47.83 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.1617, allocations: 87.81 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.1619, allocations: 83.7 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.162, allocations: 8.219 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1621, allocations: 39.8 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.29e-05/0.1622, allocations: 31.78 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1623, allocations: 0 / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1624, allocations: 39.98 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1624, allocations: 15.92 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.1625, allocations: 37.64 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1627, allocations: 84.09 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1627, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1627, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1627, allocations: 4 kB / 474.3 MB, free: 10.92 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.0005586/0.1633, allocations: 394.9 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1633, allocations: 12.02 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1634, allocations: 11.91 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1636, allocations: 206.7 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1637, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1637, allocations: 8 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1638, allocations: 53.62 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1639, allocations: 3.984 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1639, allocations: 4 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1639, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.164, allocations: 19.98 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.1643, allocations: 284.9 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1645, allocations: 58.62 kB / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.1646, allocations: 24.84 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1646, allocations: 0 / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.1648, allocations: 67.39 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1648, allocations: 0 / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005377/0.1653, allocations: 173.2 kB / 475.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.1654, allocations: 51.41 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1655, allocations: 186.2 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1656, allocations: 25.7 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1656, allocations: 100.1 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1657, allocations: 35.62 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.1657, allocations: 4 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1658, allocations: 330.7 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.1659, allocations: 15.98 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.1659, allocations: 37.7 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.166, allocations: 24.19 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.166, allocations: 3.938 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.1662, allocations: 105.4 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1662, allocations: 4 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1662, allocations: 0 / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1663, allocations: 7.984 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.1663, allocations: 12.38 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1664, allocations: 0 / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.1664, allocations: 8 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1664, allocations: 8 kB / 476.5 MB, free: 8.461 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 (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.0001058/0.1665, allocations: 134.3 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.1666, allocations: 7.906 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.1666, allocations: 20.86 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1666, allocations: 4 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1666, allocations: 0 / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1667, allocations: 3.984 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.1671, allocations: 391.3 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1671, allocations: 0 / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.1671, allocations: 12.03 kB / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1671, allocations: 4 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1672, allocations: 7.984 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1672, allocations: 0 / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1672, allocations: 0 / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1674, allocations: 200.2 kB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1675, allocations: 89.02 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1675, allocations: 11.94 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.1676, allocations: 3.984 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1676, allocations: 8 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1676, allocations: 7.984 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1677, allocations: 139.2 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1678, allocations: 0 / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.168, allocations: 27.98 kB / 477.6 MB, free: 7.301 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 (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.001133/0.1692, allocations: 472.3 kB / 478.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.1694, allocations: 55.92 kB / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1694, allocations: 0 / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-05/0.1695, allocations: 32.09 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1698, allocations: 39.86 kB / 478.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.1703, allocations: 234.4 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1706, allocations: 0.7043 MB / 479.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.187e-05/0.1707, allocations: 17.17 kB / 479.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.1708, allocations: 15.44 kB / 479.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1708, allocations: 3.938 kB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of Templates: time 0.004499/0.1753, allocations: 1.599 MB / 480.7 MB, free: 4.281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches