Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002001/0.002001, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.08/2.08, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3544/0.3544, allocations: 46.11 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 78.84 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.156, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00515/0.1612, allocations: 1.805 MB / 481.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.164, allocations: 1.025 MB / 482.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1642, allocations: 3.938 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.1647, allocations: 83.81 kB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.1653, allocations: 103.6 kB / 483 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.1657, allocations: 67.88 kB / 483 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.166, allocations: 115.7 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1662, allocations: 19.97 kB / 483.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1664, allocations: 55.72 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1665, allocations: 63.8 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1666, allocations: 4 kB / 483.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.1668, allocations: 47.98 kB / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.1669, allocations: 31.84 kB / 483.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.555e-05/0.167, allocations: 39.73 kB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.1673, allocations: 112 kB / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1673, allocations: 0 / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1673, allocations: 4 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1673, allocations: 0 / 483.5 MB, free: 2.113 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000915/0.1683, allocations: 430.9 kB / 483.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1683, allocations: 8.875 kB / 483.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.1684, allocations: 12.84 kB / 483.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.1688, allocations: 224.7 kB / 484.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1688, allocations: 4.375 kB / 484.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.1689, allocations: 12.12 kB / 484.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1691, allocations: 69.53 kB / 484.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1692, allocations: 0 / 484.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1692, allocations: 4 kB / 484.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1692, allocations: 0 / 484.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1693, allocations: 19.98 kB / 484.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.1699, allocations: 312.7 kB / 484.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1703, allocations: 66.48 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.1704, allocations: 20.97 kB / 484.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.1705, allocations: 4 kB / 484.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.1708, allocations: 63.39 kB / 484.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.805e-06/0.1708, allocations: 0 / 484.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001253/0.1721, allocations: 249.3 kB / 485 MB, free: 480 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1722, allocations: 59.34 kB / 485 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.1726, allocations: 239 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1726, allocations: 29.7 kB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1727, allocations: 108.1 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.1728, allocations: 35.72 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.1729, allocations: 33.59 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1731, allocations: 322.8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1732, allocations: 35.98 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1734, allocations: 41.7 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1736, allocations: 81.75 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1736, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003917/0.1741, allocations: 129.4 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1741, allocations: 8 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1741, allocations: 0 / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1741, allocations: 4.031 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1743, allocations: 23.98 kB / 486.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1743, allocations: 11.88 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/0.1744, allocations: 0 / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1744, allocations: 4 kB / 486.1 MB, free: 15.26 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 (13): * Single equations (assignments): 13 * 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.000165/0.1746, allocations: 129.8 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.1747, allocations: 15.81 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.6e-05/0.1748, allocations: 25.39 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1748, allocations: 3.938 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1748, allocations: 7.938 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1748, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/0.1758, allocations: 456 kB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.1758, allocations: 4 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.1759, allocations: 8 kB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.1759, allocations: 7.984 kB / 486.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1759, allocations: 8.062 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1759, allocations: 4 kB / 486.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.176, allocations: 7.922 kB / 486.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.1764, allocations: 225 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.1765, allocations: 96.91 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.1766, allocations: 8 kB / 487.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1767, allocations: 4 kB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.1768, allocations: 11.98 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.1768, allocations: 4 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.1771, allocations: 176.3 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.198e-06/0.1771, allocations: 96 / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005335/0.1776, allocations: 35.88 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001991/0.1796, allocations: 0.4992 MB / 487.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.18, allocations: 79.84 kB / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.18, allocations: 0 / 487.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1802, allocations: 35.94 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.1808, allocations: 42.7 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008644/0.1817, allocations: 348.2 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.1821, allocations: 0.7199 MB / 489 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.1822, allocations: 19.44 kB / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1822, allocations: 3.938 kB / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.006521/0.1887, allocations: 2.254 MB / 491.3 MB, free: 10.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches