Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001267/0.001267, allocations: 104 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.4264/0.4264, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 55.92 kB / 429.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 57.77 MB / 487 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004293/0.162, allocations: 1.76 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.1645, allocations: 1.379 MB / 490.2 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1646, allocations: 4 kB / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.165, allocations: 31.89 kB / 490.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1654, allocations: 47.78 kB / 490.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1658, allocations: 83.77 kB / 490.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.166, allocations: 99.7 kB / 490.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1662, allocations: 12.22 kB / 490.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1663, allocations: 47.77 kB / 490.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1665, allocations: 35.84 kB / 490.5 MB, free: 9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.1666, allocations: 0 / 490.5 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.1668, allocations: 59.97 kB / 490.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.1668, allocations: 19.86 kB / 490.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.1669, allocations: 43.72 kB / 490.6 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1672, allocations: 124 kB / 490.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1672, allocations: 0 / 490.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1672, allocations: 0 / 490.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1672, allocations: 0 / 490.8 MB, free: 8.758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007141/0.168, allocations: 419 kB / 491.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.168, allocations: 8.031 kB / 491.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.1681, allocations: 8.844 kB / 491.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.1684, allocations: 208.7 kB / 491.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1684, allocations: 3.938 kB / 491.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1685, allocations: 8 kB / 491.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.1687, allocations: 83.36 kB / 491.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1687, allocations: 0 / 491.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1687, allocations: 4 kB / 491.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1687, allocations: 0 / 491.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1688, allocations: 31.97 kB / 491.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.1693, allocations: 292.7 kB / 491.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1695, allocations: 74.66 kB / 491.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.1696, allocations: 28.84 kB / 491.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1696, allocations: 3.938 kB / 491.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.1699, allocations: 79.22 kB / 492 MB, free: 7.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1699, allocations: 8 kB / 492 MB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006538/0.1706, allocations: 189.7 kB / 492.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.1706, allocations: 81.05 kB / 492.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1708, allocations: 158.5 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1709, allocations: 29.64 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.1709, allocations: 96.09 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.171, allocations: 31.55 kB / 492.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.171, allocations: 29.7 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1712, allocations: 322.8 kB / 492.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.1712, allocations: 23.98 kB / 492.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.1713, allocations: 50.56 kB / 493 MB, free: 6.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1715, allocations: 65.64 kB / 493 MB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1715, allocations: 0 / 493 MB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002226/0.1717, allocations: 125.5 kB / 493.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1717, allocations: 4 kB / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1717, allocations: 0 / 493.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1718, allocations: 3.938 kB / 493.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1719, allocations: 19.98 kB / 493.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1719, allocations: 160 / 493.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.1719, allocations: 4 kB / 493.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.172, allocations: 11.92 kB / 493.2 MB, free: 6.047 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 (11): * Single equations (assignments): 11 * 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.0001179/0.1721, allocations: 129.8 kB / 493.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1721, allocations: 11.91 kB / 493.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.1722, allocations: 16.66 kB / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1722, allocations: 0 / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1722, allocations: 0 / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1722, allocations: 0 / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.1727, allocations: 423.1 kB / 493.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1727, allocations: 0 / 493.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.1727, allocations: 16.03 kB / 493.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1727, allocations: 4.094 kB / 493.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1727, allocations: 3.938 kB / 493.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1728, allocations: 0 / 493.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1728, allocations: 3.984 kB / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.1734, allocations: 0.7988 MB / 494.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.1734, allocations: 85.02 kB / 494.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1735, allocations: 0 / 494.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.1735, allocations: 8 kB / 494.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1736, allocations: 11.92 kB / 494.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1736, allocations: 4 kB / 494.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.1737, allocations: 123.9 kB / 494.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1737, allocations: 0 / 494.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.1741, allocations: 35.98 kB / 494.9 MB, free: 4.242 MB / 378.7 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 (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.001161/0.1753, allocations: 0.5001 MB / 495.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.1755, allocations: 71.95 kB / 495.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.1755, allocations: 4 kB / 495.4 MB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.1756, allocations: 35.92 kB / 495.5 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.176, allocations: 24.58 kB / 495.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.1766, allocations: 355.6 kB / 495.8 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1769, allocations: 0.7043 MB / 496.5 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.788e-05/0.177, allocations: 24.78 kB / 496.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.1771, allocations: 19.44 kB / 496.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1771, allocations: 0 / 496.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of Templates: time 0.006754/0.1838, allocations: 2.018 MB / 498.6 MB, free: 492 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches