Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 90.11 kB / 17 MB, free: 6.398 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.001252/0.001252, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 241.9 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 44.24 MB / 337.3 MB, free: 2.512 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1594, allocations: 61.93 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002362/0.1619, allocations: 1.39 MB / 473 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1634, allocations: 0.8153 MB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1635, allocations: 0 / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1638, allocations: 51.8 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1641, allocations: 55.81 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1644, allocations: 90.66 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1646, allocations: 87.69 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.1647, allocations: 4.234 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.1648, allocations: 47.77 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/0.1649, allocations: 27.86 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1649, allocations: 8 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.165, allocations: 31.98 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.1651, allocations: 23.91 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1651, allocations: 49.62 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1653, allocations: 96.08 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1653, allocations: 0 / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1653, allocations: 0 / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1653, allocations: 0 / 474.4 MB, free: 10.85 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.000585/0.1659, allocations: 426.6 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.166, allocations: 12.03 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.166, allocations: 15.91 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1663, allocations: 202.8 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1663, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1663, allocations: 4 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1665, allocations: 57.62 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1665, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1666, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1666, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.1667, allocations: 31.92 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.1671, allocations: 292.9 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1672, allocations: 58.67 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.1673, allocations: 20.84 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1673, allocations: 4 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1675, allocations: 79.27 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1676, allocations: 0 / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005795/0.1681, allocations: 185 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.1682, allocations: 55.41 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.1685, allocations: 262.3 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.1686, allocations: 25.7 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.1687, allocations: 116.1 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.1687, allocations: 19.72 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.1687, allocations: 0 / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1689, allocations: 334.8 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.169, allocations: 20 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.1691, allocations: 33.7 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.1692, allocations: 27.92 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1692, allocations: 4 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.1694, allocations: 105.4 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1694, allocations: 4 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1694, allocations: 0 / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1694, allocations: 4 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1696, allocations: 23.92 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1696, allocations: 0 / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1696, allocations: 4 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1696, allocations: 0 / 476.7 MB, free: 8.242 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1698, allocations: 149.1 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1698, allocations: 15.81 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.1699, allocations: 21.39 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1699, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1699, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.1699, allocations: 3.984 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.1704, allocations: 407.4 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1704, allocations: 4.031 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.1705, allocations: 8 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1705, allocations: 4 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1705, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1705, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.1705, allocations: 4.062 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1708, allocations: 216.1 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.1708, allocations: 93.11 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1709, allocations: 4 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1709, allocations: 11.92 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.171, allocations: 4 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.171, allocations: 4.375 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.1712, allocations: 196.5 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1712, allocations: 0 / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1714, allocations: 24 kB / 477.9 MB, free: 6.996 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.1726, allocations: 464.8 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.1728, allocations: 59.91 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1728, allocations: 4.062 kB / 478.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.1729, allocations: 31.92 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1732, allocations: 31.45 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.1738, allocations: 295 kB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1741, allocations: 0.7199 MB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.1742, allocations: 17.17 kB / 479.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1742, allocations: 23.38 kB / 479.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1742, allocations: 0 / 479.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of Templates: time 0.005015/0.1793, allocations: 1.62 MB / 481.1 MB, free: 3.879 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches