Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 106.7 kB / 17.21 MB, free: 6.27 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.001125/0.001125, 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.426/1.426, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2139/0.2139, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.48 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 60.81 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004317/0.1437, allocations: 2.285 MB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1459, allocations: 1.177 MB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.146, allocations: 3.938 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.1465, allocations: 127.6 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1468, allocations: 179.3 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.1475, allocations: 284.9 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.1479, allocations: 410.7 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1481, allocations: 52.73 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.1484, allocations: 271 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1486, allocations: 155.2 kB / 473.4 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.1487, allocations: 8 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1489, allocations: 67.97 kB / 473.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1491, allocations: 139.5 kB / 473.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1493, allocations: 194.4 kB / 473.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.1497, allocations: 450.4 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1497, allocations: 4 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1497, allocations: 0 / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.1497, allocations: 0 / 474.3 MB, free: 9.051 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001137/0.1509, allocations: 0.8632 MB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1509, allocations: 12.02 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1511, allocations: 68.09 kB / 475.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.1516, allocations: 432.2 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1516, allocations: 8.375 kB / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.1516, allocations: 28.03 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.1521, allocations: 189.5 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1521, allocations: 4 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1521, allocations: 4 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.1521, allocations: 8 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.1524, allocations: 95.86 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009365/0.1533, allocations: 0.8171 MB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.154, allocations: 242.5 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.1542, allocations: 91.52 kB / 477.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.1542, allocations: 8.219 kB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.1547, allocations: 208.1 kB / 477.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.1547, allocations: 0 / 477.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002609/0.1573, allocations: 1.144 MB / 478.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.1575, allocations: 140.5 kB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.1585, allocations: 0.9221 MB / 479.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1585, allocations: 41.62 kB / 479.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.1587, allocations: 260.9 kB / 479.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1589, allocations: 138.1 kB / 480 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.159, allocations: 90.03 kB / 480 MB, free: 2.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1592, allocations: 378.8 kB / 480.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1594, allocations: 112.8 kB / 480.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.1597, allocations: 179.1 kB / 480.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.1602, allocations: 323 kB / 481 MB, free: 1.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1602, allocations: 0 / 481 MB, free: 1.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007372/0.161, allocations: 444.5 kB / 481.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.161, allocations: 7.938 kB / 481.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.161, allocations: 4 kB / 481.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1611, allocations: 4 kB / 481.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1613, allocations: 83.89 kB / 481.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1613, allocations: 4 kB / 481.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1615, allocations: 27.95 kB / 481.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.1615, allocations: 20 kB / 481.6 MB, free: 1.352 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002738/0.1618, allocations: 255.9 kB / 481.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1619, allocations: 71.16 kB / 481.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.1621, allocations: 85.36 kB / 482 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1621, allocations: 4 kB / 482 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.1621, allocations: 0 / 482 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1621, allocations: 15.86 kB / 482 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.1638, allocations: 1.322 MB / 483.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1638, allocations: 0 / 483.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.164, allocations: 63.91 kB / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.164, allocations: 4 kB / 483.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.164, allocations: 19.98 kB / 483.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/0.1641, allocations: 7.938 kB / 483.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1641, allocations: 4 kB / 483.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.1649, allocations: 0.793 MB / 484.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.1651, allocations: 176.2 kB / 484.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.1652, allocations: 16 kB / 484.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.1655, allocations: 15.98 kB / 484.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.1656, allocations: 47.83 kB / 484.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.1656, allocations: 23.98 kB / 484.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007058/0.1663, allocations: 0.6748 MB / 485.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1663, allocations: 0 / 485.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.1669, allocations: 87.98 kB / 485.3 MB, free: 13.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001209/0.1681, allocations: 0.5363 MB / 485.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006259/0.1687, allocations: 316 kB / 486.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1687, allocations: 0 / 486.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.1691, allocations: 165 kB / 486.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/0.17, allocations: 136.7 kB / 486.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.1717, allocations: 1.345 MB / 487.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.1723, allocations: 0.9097 MB / 488.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.1725, allocations: 75.25 kB / 488.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1726, allocations: 59.41 kB / 488.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1726, allocations: 0 / 488.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Templates: time 0.009658/0.1823, allocations: 5.108 MB / 493.9 MB, free: 5.066 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches