Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 106.6 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 186 kB / 17.19 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2438/0.2438, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 74.02 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1594, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.004302/0.1637, allocations: 1.685 MB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1658, allocations: 1.399 MB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.166, allocations: 7.938 kB / 443.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.1664, allocations: 35.83 kB / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1667, allocations: 55.7 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1669, allocations: 87.75 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1671, allocations: 99.69 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1673, allocations: 16.5 kB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.1674, allocations: 43.78 kB / 444 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1675, allocations: 35.78 kB / 444 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1676, allocations: 8 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1677, allocations: 59.97 kB / 444.1 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.1678, allocations: 15.92 kB / 444.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.1678, allocations: 31.8 kB / 444.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1681, allocations: 115.7 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.1681, allocations: 15.92 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1681, allocations: 4 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.1681, allocations: 0 / 444.2 MB, free: 3.176 MB / 318.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.0005716/0.1687, allocations: 403 kB / 444.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1687, allocations: 11.89 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.1688, allocations: 8.844 kB / 444.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.169, allocations: 201.4 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.169, allocations: 4.375 kB / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1691, allocations: 4.125 kB / 444.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1692, allocations: 71.39 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1693, allocations: 3.906 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1693, allocations: 7.984 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1693, allocations: 0 / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.228e-05/0.1694, allocations: 27.86 kB / 445 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1698, allocations: 280.8 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1699, allocations: 62.67 kB / 445.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.17, allocations: 20.84 kB / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.17, allocations: 7.875 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1703, allocations: 67.39 kB / 445.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1703, allocations: 0 / 445.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.1708, allocations: 169.3 kB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.1709, allocations: 81.11 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1711, allocations: 152.9 kB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1711, allocations: 25.7 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.1712, allocations: 100.1 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1712, allocations: 27.64 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1712, allocations: 21.72 kB / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.1713, allocations: 330.8 kB / 446.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.1714, allocations: 20 kB / 446.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.923e-05/0.1714, allocations: 46.53 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.1716, allocations: 57.66 kB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1716, allocations: 0 / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001532/0.1717, allocations: 101.5 kB / 446.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1717, allocations: 12.06 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1718, allocations: 0 / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1718, allocations: 0 / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.1719, allocations: 12 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1719, allocations: 7.984 kB / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.1719, allocations: 7.844 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.172, allocations: 8 kB / 446.6 MB, free: 0.6133 MB / 318.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 8.591e-05/0.1721, allocations: 121.3 kB / 446.7 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.1721, allocations: 11.91 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.1721, allocations: 16.7 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1721, allocations: 4 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1721, allocations: 0 / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1722, allocations: 7.875 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.1725, allocations: 387.4 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1725, allocations: 0 / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.1726, allocations: 15.92 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1726, allocations: 4.219 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1726, allocations: 8.312 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1726, allocations: 3.938 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.1726, allocations: 4 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1729, allocations: 200.2 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.173, allocations: 85.02 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.173, allocations: 7.922 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.1731, allocations: 8 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1731, allocations: 7.938 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1732, allocations: 7.984 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1733, allocations: 115.3 kB / 447.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1733, allocations: 0 / 447.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1736, allocations: 31.98 kB / 447.6 MB, free: 15.48 MB / 334.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.001318/0.1749, allocations: 494.8 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1751, allocations: 67.84 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1751, allocations: 4.062 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.1752, allocations: 27.98 kB / 448.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1756, allocations: 31.86 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.176, allocations: 202.8 kB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1764, allocations: 0.6924 MB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.1765, allocations: 17.17 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.1765, allocations: 27.42 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1765, allocations: 0 / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of Templates: time 0.005103/0.1816, allocations: 1.931 MB / 451.1 MB, free: 12.05 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches