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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 98.61 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4435/0.4435, allocations: 43.5 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003991/0.164, allocations: 1.723 MB / 488.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1655, allocations: 0.778 MB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.1656, allocations: 0 / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.166, allocations: 71.83 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1662, allocations: 75.66 kB / 489.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1665, allocations: 71.91 kB / 489.7 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.1667, allocations: 99.69 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.1668, allocations: 15.92 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1669, allocations: 43.78 kB / 489.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.167, allocations: 47.81 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1671, allocations: 4 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.1672, allocations: 31.98 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.1673, allocations: 23.91 kB / 490 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.1673, allocations: 35.67 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1676, allocations: 99.94 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.1676, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.1676, allocations: 4 kB / 490.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1676, allocations: 4 kB / 490.1 MB, free: 9.402 MB / 378.7 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.0008032/0.1684, allocations: 407 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.1685, allocations: 8.031 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.1686, allocations: 12.75 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1689, allocations: 212.1 kB / 490.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.169, allocations: 4.375 kB / 490.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.169, allocations: 4.125 kB / 490.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1692, allocations: 49.61 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1692, allocations: 4 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1692, allocations: 4 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1692, allocations: 0 / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.1693, allocations: 19.92 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.1696, allocations: 177.7 kB / 491 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1698, allocations: 54.61 kB / 491.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.1699, allocations: 28.8 kB / 491.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1699, allocations: 3.938 kB / 491.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.1702, allocations: 63.39 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1702, allocations: 0 / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003032/0.1705, allocations: 101.5 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.1705, allocations: 51.41 kB / 491.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1708, allocations: 210.4 kB / 491.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1708, allocations: 25.7 kB / 491.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1709, allocations: 112.1 kB / 491.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.1709, allocations: 11.83 kB / 491.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.171, allocations: 17.72 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1711, allocations: 326.8 kB / 492 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.1712, allocations: 15.98 kB / 492 MB, free: 7.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1712, allocations: 33.7 kB / 492 MB, free: 7.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/0.1714, allocations: 37.72 kB / 492.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1714, allocations: 3.938 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001571/0.1715, allocations: 93.61 kB / 492.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1716, allocations: 4 kB / 492.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1716, allocations: 4.062 kB / 492.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1716, allocations: 4 kB / 492.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1717, allocations: 8 kB / 492.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.1717, allocations: 4.031 kB / 492.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.1718, allocations: 7.984 kB / 492.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1718, allocations: 0 / 492.2 MB, free: 7.086 MB / 378.7 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 (7): * Single equations (assignments): 7 * 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.0001194/0.1719, allocations: 133.7 kB / 492.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1719, allocations: 15.8 kB / 492.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.172, allocations: 13 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.172, allocations: 4 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.172, allocations: 0 / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.172, allocations: 0 / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1722, allocations: 193.6 kB / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1722, allocations: 0 / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.1722, allocations: 4 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1722, allocations: 3.938 kB / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1723, allocations: 0 / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1723, allocations: 4 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1723, allocations: 0 / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.1728, allocations: 0.6902 MB / 493.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.1729, allocations: 88.92 kB / 493.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1729, allocations: 0 / 493.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.173, allocations: 3.984 kB / 493.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.173, allocations: 8 kB / 493.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.173, allocations: 3.938 kB / 493.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.1732, allocations: 160.2 kB / 493.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1732, allocations: 0 / 493.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000294/0.1735, allocations: 23.98 kB / 493.5 MB, free: 5.605 MB / 378.7 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 (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.0009311/0.1744, allocations: 422 kB / 494 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1746, allocations: 35.98 kB / 494 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1746, allocations: 0 / 494 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.1746, allocations: 23.98 kB / 494 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.1749, allocations: 27.91 kB / 494 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.1755, allocations: 350.6 kB / 494.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1758, allocations: 0.7082 MB / 495.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.407e-05/0.1758, allocations: 16.53 kB / 495.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1759, allocations: 19.44 kB / 495.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1759, allocations: 0 / 495.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of Templates: time 0.004329/0.1802, allocations: 1.458 MB / 496.6 MB, free: 2.555 MB / 378.7 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@2/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