Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 79.39 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.167, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003685/0.1707, allocations: 1.715 MB / 483.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1727, allocations: 1.029 MB / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1728, allocations: 0 / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.1733, allocations: 39.77 kB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.1737, allocations: 91.55 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.174, allocations: 83.66 kB / 484.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.1742, allocations: 99.75 kB / 484.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1744, allocations: 15.94 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1745, allocations: 35.84 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1746, allocations: 39.78 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1746, allocations: 4 kB / 484.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1748, allocations: 47.97 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.1748, allocations: 19.86 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.1749, allocations: 35.73 kB / 484.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1752, allocations: 119.6 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1752, allocations: 4 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.1752, allocations: 0 / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1752, allocations: 0 / 484.8 MB, free: 1.109 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.0007587/0.176, allocations: 403 kB / 485.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.176, allocations: 8.031 kB / 485.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.1761, allocations: 12.75 kB / 485.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1765, allocations: 216 kB / 485.5 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1765, allocations: 8.375 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.1765, allocations: 8.062 kB / 485.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1767, allocations: 57.61 kB / 485.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1767, allocations: 4 kB / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1768, allocations: 0 / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1768, allocations: 0 / 485.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.1769, allocations: 23.98 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.1774, allocations: 280.9 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1777, allocations: 66.61 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.1777, allocations: 20.84 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.1778, allocations: 0 / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.178, allocations: 67.39 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.178, allocations: 4 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007042/0.1787, allocations: 169.2 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.1788, allocations: 59.38 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.179, allocations: 179.3 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.179, allocations: 29.7 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.1791, allocations: 104 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.1791, allocations: 23.73 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.1792, allocations: 25.66 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1794, allocations: 334.8 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.1795, allocations: 15.98 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.1795, allocations: 37.7 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1796, allocations: 53.72 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1797, allocations: 0 / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.1798, allocations: 105.5 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1799, allocations: 10.5 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1799, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1799, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.18, allocations: 20 kB / 487.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.18, allocations: 12.06 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1801, allocations: 3.938 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1801, allocations: 4 kB / 487.2 MB, free: 14.55 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.000125/0.1802, allocations: 124.5 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1803, allocations: 15.91 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.1803, allocations: 17.39 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1803, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1803, allocations: 192 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1803, allocations: 7.875 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1808, allocations: 403.2 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1808, allocations: 0 / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1809, allocations: 8 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1809, allocations: 0 / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1809, allocations: 8.344 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1809, allocations: 4 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1809, allocations: 4 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1812, allocations: 204.2 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1812, allocations: 92.98 kB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1813, allocations: 3.938 kB / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1814, allocations: 8 kB / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1814, allocations: 7.984 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1814, allocations: 4 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1815, allocations: 136 kB / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1815, allocations: 0 / 488.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1818, allocations: 27.98 kB / 488.2 MB, free: 13.39 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.001123/0.1829, allocations: 448.9 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1831, allocations: 55.92 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1832, allocations: 4 kB / 488.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-05/0.1832, allocations: 27.92 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1836, allocations: 37.86 kB / 488.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.1841, allocations: 223.5 kB / 489 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1846, allocations: 0.7002 MB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1847, allocations: 16.86 kB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.1847, allocations: 19.44 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1847, allocations: 4 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004763/0.1895, allocations: 1.721 MB / 491.5 MB, free: 10.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches