Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 100.2 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001705/0.001705, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004281, allocations: 12 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1498, allocations: 63.57 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002454/0.1523, allocations: 1.442 MB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.1549, allocations: 1.577 MB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1551, allocations: 4 kB / 486.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.1555, allocations: 31.91 kB / 486.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1559, allocations: 87.67 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1562, allocations: 59.88 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1565, allocations: 103.6 kB / 486.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1566, allocations: 8 kB / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1567, allocations: 47.77 kB / 486.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1569, allocations: 43.78 kB / 486.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.157, allocations: 4 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.1572, allocations: 103.8 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.1573, allocations: 19.91 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.807e-05/0.1574, allocations: 53.5 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.1578, allocations: 163.8 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1578, allocations: 0 / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1578, allocations: 3.938 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1578, allocations: 0 / 486.8 MB, free: 392 kB / 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.000709/0.1585, allocations: 411.2 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.1586, allocations: 12.88 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.1587, allocations: 8.844 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.1591, allocations: 212.6 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.1591, allocations: 3.938 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.1591, allocations: 11.98 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.1594, allocations: 67.33 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1594, allocations: 0 / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1594, allocations: 8 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.1594, allocations: 0 / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.1595, allocations: 15.98 kB / 487.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.1601, allocations: 284.9 kB / 487.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1602, allocations: 58.61 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.1603, allocations: 32.83 kB / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.1604, allocations: 0 / 487.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.1606, allocations: 63.39 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1606, allocations: 0 / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006751/0.1613, allocations: 181.1 kB / 488.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.1614, allocations: 85.05 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1616, allocations: 165.9 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.1616, allocations: 29.7 kB / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.1617, allocations: 92.14 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.1618, allocations: 31.62 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1618, allocations: 17.72 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.162, allocations: 322.8 kB / 488.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/0.1621, allocations: 15.98 kB / 488.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.916e-05/0.1622, allocations: 50.5 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1623, allocations: 53.75 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1624, allocations: 0 / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00025/0.1626, allocations: 109.6 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1627, allocations: 4 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1627, allocations: 3.938 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1627, allocations: 4 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1628, allocations: 15.98 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1628, allocations: 7.969 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.1629, allocations: 4 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1629, allocations: 0 / 489.2 MB, free: 13.8 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.0001328/0.1631, allocations: 125.8 kB / 489.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.1631, allocations: 15.8 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.1631, allocations: 12.72 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1632, allocations: 4 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.1632, allocations: 3.938 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1632, allocations: 0 / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.1637, allocations: 395.3 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1637, allocations: 0 / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.1638, allocations: 15.92 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1638, allocations: 0 / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1638, allocations: 4 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1638, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1638, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.1641, allocations: 204.3 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.1642, allocations: 96.94 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.1643, allocations: 4 kB / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.1643, allocations: 0 / 490 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.1644, allocations: 11.98 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1644, allocations: 4 kB / 490 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1646, allocations: 127.2 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1646, allocations: 0 / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.1649, allocations: 47.98 kB / 490.2 MB, free: 12.64 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.00139/0.1663, allocations: 0.5425 MB / 490.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1666, allocations: 63.84 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.1666, allocations: 0 / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.1667, allocations: 28 kB / 490.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.1671, allocations: 27.91 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1676, allocations: 230.3 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.168, allocations: 0.7004 MB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.732e-05/0.1681, allocations: 16.86 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.1682, allocations: 27.42 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1682, allocations: 4 kB / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005785/0.174, allocations: 2.275 MB / 494.1 MB, free: 8.875 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches