Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 92 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001647, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.8 MB / 246.9 MB, free: 9.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.21 MB / 345.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004231, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, allocations: 63.58 MB / 483.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002709/0.1588, allocations: 1.442 MB / 484.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1608, allocations: 0.998 MB / 485.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-05/0.1609, allocations: 0 / 485.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1613, allocations: 55.8 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.1616, allocations: 91.72 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1618, allocations: 63.88 kB / 485.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.162, allocations: 103.6 kB / 485.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1622, allocations: 11.98 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.1623, allocations: 35.8 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1624, allocations: 35.78 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1624, allocations: 4 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1625, allocations: 51.91 kB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.1626, allocations: 23.92 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.1627, allocations: 69.38 kB / 486.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.163, allocations: 131.8 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.163, allocations: 0 / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1631, allocations: 0 / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1631, allocations: 0 / 486.3 MB, free: 0.8867 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.0008495/0.1639, allocations: 429.4 kB / 486.7 MB, free: 432 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.164, allocations: 8.875 kB / 486.7 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.911e-05/0.1641, allocations: 20.75 kB / 486.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.1644, allocations: 224.9 kB / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.1645, allocations: 4.359 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.1645, allocations: 8.125 kB / 487 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1647, allocations: 53.67 kB / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1648, allocations: 0 / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1648, allocations: 0 / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1648, allocations: 0 / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.036e-05/0.1649, allocations: 19.98 kB / 487 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.1655, allocations: 304.7 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.1657, allocations: 62.66 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.1658, allocations: 20.84 kB / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.1659, allocations: 0 / 487.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.1661, allocations: 71.39 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1662, allocations: 7.875 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006173/0.1668, allocations: 177.1 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.1669, allocations: 55.41 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.1672, allocations: 270.9 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1672, allocations: 29.7 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1673, allocations: 116 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1674, allocations: 23.8 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1674, allocations: 13.72 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1676, allocations: 330.8 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.1677, allocations: 23.98 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.1677, allocations: 33.7 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1679, allocations: 57.69 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1679, allocations: 4 kB / 488.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.1681, allocations: 109.3 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1681, allocations: 8 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1681, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1682, allocations: 0 / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.1683, allocations: 19.92 kB / 488.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1683, allocations: 4 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1683, allocations: 7.875 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1684, allocations: 8.188 kB / 488.8 MB, free: 14.17 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.0001447/0.1685, allocations: 137.9 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1685, allocations: 19.75 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.1686, allocations: 21.39 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1686, allocations: 0 / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1686, allocations: 0 / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1686, allocations: 3.938 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.1692, allocations: 403.3 kB / 489.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1692, allocations: 8.031 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1692, allocations: 7.984 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1692, allocations: 4 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1692, allocations: 3.938 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1692, allocations: 0 / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1693, allocations: 4.234 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1695, allocations: 212.1 kB / 489.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.1696, allocations: 92.91 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1696, allocations: 15.88 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.1697, allocations: 0 / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1698, allocations: 7.984 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1698, allocations: 4.375 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.17, allocations: 200.4 kB / 489.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.17, allocations: 4 kB / 489.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1703, allocations: 27.98 kB / 489.9 MB, free: 12.91 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.001715/0.172, allocations: 457.4 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1722, allocations: 51.97 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.1722, allocations: 4.062 kB / 490.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.1723, allocations: 35.92 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1727, allocations: 31.91 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.1732, allocations: 319 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1736, allocations: 0.7238 MB / 491.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.1737, allocations: 17.19 kB / 491.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.1738, allocations: 23.42 kB / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1738, allocations: 0 / 491.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of Templates: time 0.004958/0.1787, allocations: 1.673 MB / 493.2 MB, free: 9.715 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches