Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.000771, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 175.8 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4934/0.4934, allocations: 43.57 MB / 314.6 MB, free: 8.766 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.0008118/0.0008118, allocations: 16 kB / 384 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1607, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002479/0.1632, allocations: 1.352 MB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1646, allocations: 0.7266 MB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.1647, allocations: 0 / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.1651, allocations: 83.75 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.1653, allocations: 63.8 kB / 445.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1656, allocations: 71.86 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1658, allocations: 83.73 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.318e-05/0.1659, allocations: 11.98 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.166, allocations: 43.78 kB / 445.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1661, allocations: 47.81 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1661, allocations: 4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.289e-05/0.1662, allocations: 20 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.1663, allocations: 23.91 kB / 445.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.1664, allocations: 37.64 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1666, allocations: 76.11 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1666, allocations: 0 / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1666, allocations: 0 / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1666, allocations: 4 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006114/0.1672, allocations: 410.8 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1673, allocations: 11.97 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.1673, allocations: 7.906 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1676, allocations: 211.5 kB / 446.1 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1676, allocations: 3.984 kB / 446.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.1677, allocations: 8 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1678, allocations: 49.67 kB / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1679, allocations: 0 / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1679, allocations: 0 / 446.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1679, allocations: 7.953 kB / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.168, allocations: 19.98 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.1682, allocations: 177.7 kB / 446.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1684, allocations: 54.55 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.1685, allocations: 24.84 kB / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1685, allocations: 0 / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.1687, allocations: 67.39 kB / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1687, allocations: 0 / 446.5 MB, free: 9.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003113/0.169, allocations: 93.52 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1691, allocations: 55.36 kB / 446.6 MB, free: 8.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1693, allocations: 214.3 kB / 446.9 MB, free: 8.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1694, allocations: 29.7 kB / 446.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.1694, allocations: 100.1 kB / 447 MB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.1695, allocations: 23.73 kB / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1695, allocations: 0 / 447 MB, free: 8.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1697, allocations: 322.8 kB / 447.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.1697, allocations: 11.94 kB / 447.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.1698, allocations: 37.69 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.1698, allocations: 16 kB / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1698, allocations: 0 / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001575/0.17, allocations: 85.52 kB / 447.5 MB, free: 8.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.17, allocations: 4 kB / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1701, allocations: 0 / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1701, allocations: 0 / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.1702, allocations: 8 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1702, allocations: 7.953 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1702, allocations: 11.94 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1703, allocations: 4 kB / 447.5 MB, free: 8.094 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001299/0.1704, allocations: 133.8 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.1704, allocations: 7.906 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.1705, allocations: 16.98 kB / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1705, allocations: 0 / 447.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1705, allocations: 4 kB / 447.7 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1705, allocations: 3.953 kB / 447.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1707, allocations: 189.6 kB / 447.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1707, allocations: 4 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.1708, allocations: 7.984 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1708, allocations: 320 / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1708, allocations: 0 / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1708, allocations: 4 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1708, allocations: 0 / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.171, allocations: 116.9 kB / 448 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.1711, allocations: 84.95 kB / 448.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1711, allocations: 12 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.1711, allocations: 3.984 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.1712, allocations: 7.984 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1712, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1713, allocations: 160.2 kB / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1713, allocations: 0 / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1716, allocations: 16 kB / 448.3 MB, free: 7.238 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001041/0.1726, allocations: 413.8 kB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1728, allocations: 39.98 kB / 448.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1728, allocations: 0 / 448.7 MB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.1729, allocations: 23.92 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1732, allocations: 27.88 kB / 448.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1737, allocations: 233 kB / 449 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.174, allocations: 0.7043 MB / 449.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.553e-05/0.1741, allocations: 8.562 kB / 449.7 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.1741, allocations: 19.42 kB / 449.7 MB, free: 5.766 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.1742, allocations: 4 kB / 449.7 MB, free: 5.762 MB / 382.1 MB Notification: Performance of Templates: time 0.004342/0.1785, allocations: 1.384 MB / 451.1 MB, free: 4.379 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches