Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002019/0.002019, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.294/2.294, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3746/0.3746, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 83.78 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1524, allocations: 62.44 MB / 479.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004836/0.1573, allocations: 1.785 MB / 481.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1598, allocations: 1.017 MB / 482.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1599, allocations: 3.938 kB / 482.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.1603, allocations: 27.92 kB / 482.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.1609, allocations: 83.73 kB / 482.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1612, allocations: 67.8 kB / 482.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1614, allocations: 95.7 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1616, allocations: 11.98 kB / 483 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1617, allocations: 47.7 kB / 483.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1618, allocations: 31.8 kB / 483.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1619, allocations: 0 / 483.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.162, allocations: 47.98 kB / 483.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.1621, allocations: 23.91 kB / 483.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.207e-05/0.1622, allocations: 35.73 kB / 483.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1624, allocations: 88.11 kB / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1624, allocations: 0 / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1625, allocations: 0 / 483.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1625, allocations: 0 / 483.3 MB, free: 2.371 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.000702/0.1632, allocations: 414.9 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.1632, allocations: 12.88 kB / 483.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.1633, allocations: 8.844 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1636, allocations: 216.7 kB / 483.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1637, allocations: 384 / 483.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.1637, allocations: 16.11 kB / 484 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1639, allocations: 49.67 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1639, allocations: 0 / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.164, allocations: 4 kB / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.164, allocations: 0 / 484 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1641, allocations: 23.92 kB / 484 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.1646, allocations: 292.8 kB / 484.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1648, allocations: 54.69 kB / 484.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.1649, allocations: 20.84 kB / 484.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.165, allocations: 4 kB / 484.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.1652, allocations: 71.33 kB / 484.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.1653, allocations: 0 / 484.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007356/0.166, allocations: 173.2 kB / 484.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1661, allocations: 55.41 kB / 484.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1663, allocations: 190.9 kB / 484.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1664, allocations: 29.7 kB / 484.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.1665, allocations: 104.1 kB / 485 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1665, allocations: 23.7 kB / 485 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.1666, allocations: 33.66 kB / 485.1 MB, free: 412 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1667, allocations: 322.8 kB / 485.4 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.1668, allocations: 23.98 kB / 485.4 MB, free: 56 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1669, allocations: 37.7 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1671, allocations: 57.69 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1671, allocations: 4 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002731/0.1674, allocations: 109.8 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1675, allocations: 4 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1675, allocations: 0 / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1675, allocations: 0 / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.1677, allocations: 23.98 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1677, allocations: 0 / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.1678, allocations: 3.938 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1678, allocations: 4 kB / 485.6 MB, free: 15.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.0001387/0.1679, allocations: 129.9 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.168, allocations: 15.84 kB / 485.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.1681, allocations: 13.41 kB / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1681, allocations: 0 / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1681, allocations: 0 / 485.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1681, allocations: 7.938 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.1687, allocations: 395.2 kB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1687, allocations: 8.031 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.1688, allocations: 7.938 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.1688, allocations: 4 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.1688, allocations: 11.92 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1688, allocations: 0 / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1689, allocations: 4 kB / 486.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1692, allocations: 196.3 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.1693, allocations: 88.92 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.1693, allocations: 11.94 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1694, allocations: 0 / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.1695, allocations: 7.984 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1695, allocations: 7.938 kB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1697, allocations: 152.7 kB / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1697, allocations: 0 / 486.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.1702, allocations: 24 kB / 486.7 MB, free: 14.62 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.001608/0.1718, allocations: 465.1 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.1721, allocations: 63.89 kB / 487.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1721, allocations: 0 / 487.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1722, allocations: 32.05 kB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.1727, allocations: 23.92 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.1735, allocations: 290.4 kB / 487.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1738, allocations: 0.7004 MB / 488.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.1739, allocations: 23.42 kB / 488.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1739, allocations: 0 / 488.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.005468/0.1794, allocations: 1.934 MB / 490.2 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches