Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 104.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.3 MB, free: 10.77 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.1 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 83.81 kB / 416.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1601, allocations: 62.42 MB / 479.3 MB, free: 9.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003602/0.1638, allocations: 1.791 MB / 481.1 MB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1658, allocations: 1.017 MB / 482.1 MB, free: 6.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1659, allocations: 0 / 482.1 MB, free: 6.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.1663, allocations: 55.81 kB / 482.2 MB, free: 6.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1667, allocations: 79.75 kB / 482.2 MB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1669, allocations: 63.86 kB / 482.3 MB, free: 6.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1671, allocations: 95.64 kB / 482.4 MB, free: 5.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1673, allocations: 15.98 kB / 482.4 MB, free: 5.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1674, allocations: 43.78 kB / 482.5 MB, free: 5.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1675, allocations: 39.78 kB / 482.5 MB, free: 5.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.1675, allocations: 0 / 482.5 MB, free: 5.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1677, allocations: 43.97 kB / 482.5 MB, free: 5.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.1678, allocations: 23.86 kB / 482.6 MB, free: 5.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.1678, allocations: 39.69 kB / 482.6 MB, free: 5.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1681, allocations: 119.9 kB / 482.7 MB, free: 5.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1681, allocations: 0 / 482.7 MB, free: 5.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1681, allocations: 0 / 482.7 MB, free: 5.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1681, allocations: 0 / 482.7 MB, free: 5.637 MB / 398.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.0007/0.1688, allocations: 438.8 kB / 483.1 MB, free: 5.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1689, allocations: 8.875 kB / 483.2 MB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.174e-05/0.169, allocations: 16.75 kB / 483.2 MB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1693, allocations: 220.7 kB / 483.4 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1693, allocations: 384 / 483.4 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1693, allocations: 12.12 kB / 483.4 MB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1695, allocations: 49.67 kB / 483.5 MB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.1695, allocations: 4 kB / 483.5 MB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1695, allocations: 3.938 kB / 483.5 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1696, allocations: 4 kB / 483.5 MB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.369e-05/0.1697, allocations: 19.98 kB / 483.5 MB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.1701, allocations: 292.8 kB / 483.8 MB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1703, allocations: 62.61 kB / 483.8 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.291e-05/0.1704, allocations: 24.84 kB / 483.9 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1705, allocations: 4 kB / 483.9 MB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1706, allocations: 67.39 kB / 483.9 MB, free: 4.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1707, allocations: 0 / 483.9 MB, free: 4.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007013/0.1714, allocations: 185.1 kB / 484.1 MB, free: 4.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.1714, allocations: 51.41 kB / 484.2 MB, free: 4.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1717, allocations: 226.3 kB / 484.4 MB, free: 3.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1717, allocations: 37.7 kB / 484.4 MB, free: 3.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.1718, allocations: 104.1 kB / 484.5 MB, free: 3.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.1718, allocations: 27.64 kB / 484.5 MB, free: 3.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.1719, allocations: 21.72 kB / 484.6 MB, free: 3.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.172, allocations: 334.7 kB / 484.9 MB, free: 3.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.1721, allocations: 23.98 kB / 484.9 MB, free: 3.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.456e-05/0.1722, allocations: 33.7 kB / 484.9 MB, free: 3.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1723, allocations: 57.7 kB / 485 MB, free: 3.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1723, allocations: 3.938 kB / 485 MB, free: 3.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002114/0.1725, allocations: 109.4 kB / 485.1 MB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1726, allocations: 4 kB / 485.1 MB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1726, allocations: 4 kB / 485.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1726, allocations: 0 / 485.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1727, allocations: 15.98 kB / 485.1 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1727, allocations: 0 / 485.1 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.1728, allocations: 15.91 kB / 485.2 MB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1728, allocations: 4 kB / 485.2 MB, free: 2.961 MB / 398.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.0001445/0.173, allocations: 129.8 kB / 485.3 MB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.173, allocations: 11.81 kB / 485.3 MB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.1731, allocations: 21.39 kB / 485.3 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1731, allocations: 0 / 485.3 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1731, allocations: 0 / 485.3 MB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1731, allocations: 3.938 kB / 485.3 MB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.1737, allocations: 403.3 kB / 485.7 MB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1737, allocations: 192 / 485.7 MB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1737, allocations: 8 kB / 485.7 MB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1737, allocations: 3.938 kB / 485.7 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.1738, allocations: 7.938 kB / 485.7 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1738, allocations: 0 / 485.7 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1738, allocations: 0 / 485.7 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.1741, allocations: 220.4 kB / 485.9 MB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.1742, allocations: 88.92 kB / 486 MB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.1742, allocations: 8.312 kB / 486 MB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.1743, allocations: 4 kB / 486 MB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1744, allocations: 7.984 kB / 486.1 MB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.1744, allocations: 8 kB / 486.1 MB, free: 1.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.1746, allocations: 176.4 kB / 486.2 MB, free: 1.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1746, allocations: 4 kB / 486.2 MB, free: 1.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.1749, allocations: 28 kB / 486.3 MB, free: 1.738 MB / 398.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.001215/0.1762, allocations: 445.4 kB / 486.7 MB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1764, allocations: 63.91 kB / 486.8 MB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1764, allocations: 0 / 486.8 MB, free: 1.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.799e-05/0.1765, allocations: 31.92 kB / 486.8 MB, free: 1.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1769, allocations: 27.98 kB / 486.8 MB, free: 1.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.1774, allocations: 301.1 kB / 487.1 MB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1778, allocations: 0.7082 MB / 487.8 MB, free: 288 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.112e-05/0.1779, allocations: 21.17 kB / 487.8 MB, free: 268 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.1779, allocations: 15.44 kB / 487.9 MB, free: 252 kB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1779, allocations: 0 / 487.9 MB, free: 252 kB / 398.1 MB Notification: Performance of Templates: time 0.00486/0.1828, allocations: 1.686 MB / 489.5 MB, free: 14.57 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches