Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001252, allocations: 108.2 kB / 17.03 MB, free: 5.664 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.001158/0.001159, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.775/1.775, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2489/0.2489, allocations: 43.54 MB / 314.7 MB, free: 480 kB / 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.002224/0.002225, allocations: 69.83 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1564, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.00356/0.1601, allocations: 1.69 MB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1616, allocations: 0.8 MB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1617, allocations: 8 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.1621, allocations: 39.77 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.1625, allocations: 55.75 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1628, allocations: 83.7 kB / 444.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.163, allocations: 99.69 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1632, allocations: 8.234 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1633, allocations: 47.77 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.1634, allocations: 31.86 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1635, allocations: 4 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1636, allocations: 39.97 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.1637, allocations: 23.92 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.1638, allocations: 31.75 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1641, allocations: 119.6 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1641, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1641, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.1641, allocations: 4 kB / 445 MB, free: 3.047 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.0007292/0.1648, allocations: 410.9 kB / 445.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.1649, allocations: 19.83 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.844e-05/0.165, allocations: 8.844 kB / 445.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.1654, allocations: 212.7 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1654, allocations: 4.375 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1654, allocations: 8.125 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1656, allocations: 53.67 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1656, allocations: 7.938 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1656, allocations: 3.984 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1657, allocations: 0 / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.1657, allocations: 19.98 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.1661, allocations: 280.9 kB / 446.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.1663, allocations: 62.61 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.1664, allocations: 24.84 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1664, allocations: 4 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.1665, allocations: 63.39 kB / 446.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1666, allocations: 3.938 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005412/0.1671, allocations: 173.1 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1672, allocations: 59.41 kB / 446.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1673, allocations: 199.3 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1673, allocations: 25.7 kB / 446.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.1674, allocations: 108 kB / 446.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1674, allocations: 27.72 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.1675, allocations: 17.72 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.1675, allocations: 326.8 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.1676, allocations: 23.98 kB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1677, allocations: 41.64 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1678, allocations: 61.7 kB / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1678, allocations: 0 / 447.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001625/0.168, allocations: 101.5 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.168, allocations: 9.25 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.168, allocations: 0 / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.168, allocations: 0 / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.1681, allocations: 20.39 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1681, allocations: 4 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.1682, allocations: 15.88 kB / 447.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1682, allocations: 4 kB / 447.4 MB, free: 468 kB / 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.532e-05/0.1683, allocations: 125.8 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1683, allocations: 19.75 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.1684, allocations: 17.39 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1684, allocations: 0 / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1684, allocations: 0 / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1684, allocations: 11.94 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.1689, allocations: 387.3 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1689, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.1689, allocations: 8 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1689, allocations: 4 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1689, allocations: 11.92 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.169, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.169, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1692, allocations: 200.3 kB / 448.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.1693, allocations: 92.92 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1693, allocations: 8.125 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.1694, allocations: 7.922 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1695, allocations: 7.938 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1695, allocations: 8 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1696, allocations: 152.9 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1696, allocations: 0 / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1699, allocations: 27.98 kB / 448.5 MB, free: 15.28 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.001117/0.171, allocations: 466 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1712, allocations: 55.91 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1712, allocations: 0 / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.1713, allocations: 31.98 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1717, allocations: 28.28 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.1722, allocations: 227.4 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1726, allocations: 0.7119 MB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.1727, allocations: 16.88 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.1727, allocations: 19.42 kB / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1727, allocations: 0 / 450 MB, free: 13.77 MB / 334.1 MB Notification: Performance of Templates: time 0.005387/0.1781, allocations: 1.704 MB / 451.7 MB, free: 12.08 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches