Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002537/0.002537, allocations: 189.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.327/2.327, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001144/0.001144, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2863/0.2863, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006755/0.0006756, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1557, allocations: 58.85 MB / 490.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00401/0.1598, allocations: 1.383 MB / 491.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.1624, allocations: 0.7345 MB / 492.3 MB, free: 7.184 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.1626, allocations: 3.938 kB / 492.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.163, allocations: 35.83 kB / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.1634, allocations: 43.88 kB / 492.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.164, allocations: 83.77 kB / 492.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.1643, allocations: 55.92 kB / 492.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1644, allocations: 16.16 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1646, allocations: 35.84 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1647, allocations: 35.84 kB / 492.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1648, allocations: 3.938 kB / 492.6 MB, free: 6.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.165, allocations: 31.92 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.743e-05/0.1651, allocations: 23.91 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.1652, allocations: 45.64 kB / 492.7 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.1655, allocations: 100.1 kB / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1655, allocations: 0 / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1656, allocations: 0 / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1656, allocations: 0 / 492.8 MB, free: 6.672 MB / 330.7 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.0009203/0.1665, allocations: 418.8 kB / 493.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.128e-05/0.1666, allocations: 12.02 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/0.1667, allocations: 19.77 kB / 493.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.1672, allocations: 214.5 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.1672, allocations: 12 kB / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1673, allocations: 0 / 493.5 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.1676, allocations: 57.67 kB / 493.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1676, allocations: 0 / 493.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1676, allocations: 0 / 493.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1677, allocations: 4 kB / 493.6 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1678, allocations: 19.94 kB / 493.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.1685, allocations: 296.9 kB / 493.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.1689, allocations: 50.69 kB / 493.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.169, allocations: 4 kB / 493.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.1693, allocations: 63.52 kB / 494 MB, free: 5.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.987e-06/0.1693, allocations: 3.938 kB / 494 MB, free: 5.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.001096/0.1704, allocations: 197 kB / 494.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1706, allocations: 51.41 kB / 494.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.1712, allocations: 262.5 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.1713, allocations: 25.7 kB / 494.5 MB, free: 4.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1715, allocations: 170.5 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.1716, allocations: 19.72 kB / 494.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.1716, allocations: 4 kB / 494.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1718, allocations: 314.8 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.172, allocations: 23.98 kB / 495 MB, free: 4.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1722, allocations: 37.7 kB / 495.1 MB, free: 4.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1724, allocations: 20 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.1724, allocations: 0 / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004419/0.1729, allocations: 93.73 kB / 495.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.173, allocations: 8 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.173, allocations: 3.938 kB / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.173, allocations: 3.984 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.1733, allocations: 19.98 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1733, allocations: 4 kB / 495.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.1735, allocations: 4 kB / 495.2 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.1735, allocations: 4 kB / 495.2 MB, free: 4.051 MB / 330.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 ($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.0002787/0.1738, allocations: 141.6 kB / 495.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.1739, allocations: 15.81 kB / 495.4 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.174, allocations: 17.39 kB / 495.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.1741, allocations: 7.953 kB / 495.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1741, allocations: 4 kB / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1741, allocations: 0 / 495.4 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1754, allocations: 407.2 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.1754, allocations: 0 / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.1756, allocations: 8.375 kB / 495.8 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.1756, allocations: 3.953 kB / 495.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.1756, allocations: 4 kB / 495.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.1757, allocations: 4 kB / 495.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1757, allocations: 4.031 kB / 495.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.1763, allocations: 221.8 kB / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1765, allocations: 96.86 kB / 496.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.1765, allocations: 8 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.1768, allocations: 0 / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.1769, allocations: 11.98 kB / 496.2 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.1769, allocations: 4 kB / 496.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004626/0.1774, allocations: 204.2 kB / 496.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.1774, allocations: 0 / 496.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007338/0.1782, allocations: 24 kB / 496.4 MB, free: 2.781 MB / 330.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 (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.002298/0.1805, allocations: 468.3 kB / 496.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.1811, allocations: 59.91 kB / 496.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.1811, allocations: 0 / 496.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1813, allocations: 35.92 kB / 496.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.1821, allocations: 23.59 kB / 497 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1834, allocations: 324.7 kB / 497.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.1841, allocations: 0.7238 MB / 498 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1843, allocations: 15.44 kB / 498 MB, free: 1.145 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1843, allocations: 0 / 498 MB, free: 1.145 MB / 330.7 MB Notification: Performance of Templates: time 0.009931/0.1943, allocations: 2.039 MB / 0.4883 GB, free: 15.11 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches