Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 187 kB / 16.64 MB, free: 5.133 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.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 8.457 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.001053/0.001053, allocations: 105.5 kB / 269.9 MB, free: 8.43 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.3659/0.3659, allocations: 43.5 MB / 360.7 MB, free: 51.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 55.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1586, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003658/0.1623, allocations: 1.964 MB / 489 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1637, allocations: 0.8313 MB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.424e-05/0.1639, allocations: 0 / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1642, allocations: 31.83 kB / 489.8 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1644, allocations: 51.77 kB / 489.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1647, allocations: 95.83 kB / 490 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1649, allocations: 123.6 kB / 490.1 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.165, allocations: 37.73 kB / 490.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.1651, allocations: 55.66 kB / 490.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.1652, allocations: 47.7 kB / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1653, allocations: 8 kB / 490.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.1654, allocations: 39.98 kB / 490.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.1654, allocations: 19.92 kB / 490.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.1655, allocations: 55.55 kB / 490.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1658, allocations: 143.5 kB / 490.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1658, allocations: 0 / 490.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1658, allocations: 0 / 490.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1658, allocations: 0 / 490.5 MB, free: 9.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006899/0.1665, allocations: 476.5 kB / 491 MB, free: 8.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1666, allocations: 12.02 kB / 491 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.1666, allocations: 16.75 kB / 491 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1669, allocations: 216 kB / 491.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1669, allocations: 12.38 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.1669, allocations: 8.125 kB / 491.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.1672, allocations: 112.2 kB / 491.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1672, allocations: 3.984 kB / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1672, allocations: 0 / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.1672, allocations: 0 / 491.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.1674, allocations: 55.89 kB / 491.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.168, allocations: 0.5125 MB / 491.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.1683, allocations: 94.59 kB / 492 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.1684, allocations: 36.84 kB / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1684, allocations: 0 / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.1687, allocations: 83.31 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1687, allocations: 0 / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003755/0.1691, allocations: 141.5 kB / 492.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1691, allocations: 55.34 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1693, allocations: 191.5 kB / 492.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1693, allocations: 29.7 kB / 492.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.1694, allocations: 119.9 kB / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1695, allocations: 23.7 kB / 492.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.1695, allocations: 33.7 kB / 492.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1697, allocations: 330.8 kB / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.1697, allocations: 23.98 kB / 493 MB, free: 6.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/0.1699, allocations: 64.27 kB / 493.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.17, allocations: 104.5 kB / 493.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1701, allocations: 3.938 kB / 493.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002391/0.1703, allocations: 133.4 kB / 493.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1703, allocations: 8 kB / 493.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1703, allocations: 8.109 kB / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1704, allocations: 0 / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.1705, allocations: 23.94 kB / 493.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1705, allocations: 11.91 kB / 493.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.1706, allocations: 19.84 kB / 493.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1706, allocations: 4 kB / 493.4 MB, free: 5.824 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001092/0.1707, allocations: 121.8 kB / 493.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1707, allocations: 19.8 kB / 493.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.1708, allocations: 13.41 kB / 493.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1708, allocations: 7.938 kB / 493.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1708, allocations: 0 / 493.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1708, allocations: 4 kB / 493.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.171, allocations: 205.6 kB / 493.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.171, allocations: 0 / 493.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.1711, allocations: 15.98 kB / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1711, allocations: 0 / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1711, allocations: 3.938 kB / 493.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1711, allocations: 7.875 kB / 493.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1711, allocations: 4 kB / 493.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.1728, allocations: 1.41 MB / 495.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.1729, allocations: 92.89 kB / 495.3 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1729, allocations: 7.938 kB / 495.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.173, allocations: 11.92 kB / 495.3 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.173, allocations: 8 kB / 495.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.173, allocations: 7.984 kB / 495.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1732, allocations: 133.2 kB / 495.5 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1732, allocations: 0 / 495.5 MB, free: 3.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.1735, allocations: 44.17 kB / 495.5 MB, free: 3.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009544/0.1744, allocations: 421.5 kB / 495.9 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.1747, allocations: 79.84 kB / 496 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1747, allocations: 0 / 496 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1748, allocations: 39.91 kB / 496.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1751, allocations: 47.77 kB / 496.1 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.1757, allocations: 432.2 kB / 496.5 MB, free: 2.492 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.176, allocations: 0.7124 MB / 497.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.418e-05/0.1761, allocations: 17.36 kB / 497.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1762, allocations: 23.42 kB / 497.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1762, allocations: 0 / 497.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of Templates: time 0.004645/0.1808, allocations: 1.849 MB / 499.1 MB, free: 15.86 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches