Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002389/0.002395, allocations: 189.5 kB / 16.4 MB, free: 5.621 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.369/2.369, 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.00162/0.001619, allocations: 86.88 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.2874/0.2874, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007062/0.0007065, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1568, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002646/0.1595, allocations: 1.403 MB / 491.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1614, allocations: 0.7344 MB / 492.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.1615, allocations: 4 kB / 492.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.1619, allocations: 95.72 kB / 492.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.1623, allocations: 79.77 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1627, allocations: 71.84 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1629, allocations: 79.83 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1631, allocations: 11.98 kB / 492.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1632, allocations: 55.75 kB / 492.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1634, allocations: 43.84 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1634, allocations: 8 kB / 492.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.1636, allocations: 31.92 kB / 492.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.1636, allocations: 23.91 kB / 492.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.1637, allocations: 45.64 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.1639, allocations: 104.1 kB / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1639, allocations: 0 / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.164, allocations: 0 / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.164, allocations: 0 / 493 MB, free: 6.535 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006704/0.1647, allocations: 426.7 kB / 493.4 MB, free: 6.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1647, allocations: 16.02 kB / 493.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.1648, allocations: 15.77 kB / 493.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1651, allocations: 222.6 kB / 493.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.1652, allocations: 7.984 kB / 493.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1652, allocations: 4 kB / 493.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1654, allocations: 69.59 kB / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1655, allocations: 0 / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1655, allocations: 0 / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1655, allocations: 4 kB / 493.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1657, allocations: 35.92 kB / 493.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.1662, allocations: 308.9 kB / 494.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1665, allocations: 78.77 kB / 494.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1665, allocations: 0 / 494.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.1668, allocations: 75.53 kB / 494.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.1668, allocations: 0 / 494.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008909/0.1677, allocations: 236.8 kB / 494.5 MB, free: 4.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1678, allocations: 51.41 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.1681, allocations: 250.3 kB / 494.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.1682, allocations: 29.7 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1683, allocations: 170.5 kB / 495 MB, free: 4.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.1683, allocations: 39.45 kB / 495 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.1684, allocations: 4 kB / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1685, allocations: 322.8 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1686, allocations: 23.98 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1688, allocations: 49.7 kB / 495.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1689, allocations: 35.98 kB / 495.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.169, allocations: 0 / 495.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003508/0.1693, allocations: 133.6 kB / 495.6 MB, free: 3.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1693, allocations: 11.39 kB / 495.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1694, allocations: 0 / 495.6 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1694, allocations: 4 kB / 495.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1696, allocations: 16 kB / 495.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1696, allocations: 0 / 495.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.1697, allocations: 7.984 kB / 495.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1697, allocations: 8 kB / 495.6 MB, free: 3.707 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 (13): * Single equations (assignments): 13 * 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.0001576/0.1699, allocations: 137.8 kB / 495.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.1699, allocations: 19.84 kB / 495.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.17, allocations: 25.81 kB / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.17, allocations: 0 / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.17, allocations: 0 / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1701, allocations: 0 / 495.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007815/0.1708, allocations: 451.1 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1709, allocations: 0 / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.171, allocations: 23.97 kB / 496.2 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.171, allocations: 4 kB / 496.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.171, allocations: 7.984 kB / 496.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.171, allocations: 4 kB / 496.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.171, allocations: 0 / 496.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.1715, allocations: 233.8 kB / 496.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.1716, allocations: 101 kB / 496.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.1716, allocations: 0 / 496.6 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1717, allocations: 4 kB / 496.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.1718, allocations: 11.98 kB / 496.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.1718, allocations: 7.938 kB / 496.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002421/0.1721, allocations: 184.5 kB / 496.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1721, allocations: 0 / 496.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003759/0.1725, allocations: 31.98 kB / 496.8 MB, free: 2.375 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 (11): * Single equations (assignments): 9 * 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.001414/0.1739, allocations: 476.2 kB / 497.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.1742, allocations: 79.91 kB / 497.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1743, allocations: 0 / 497.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1744, allocations: 43.98 kB / 497.4 MB, free: 1.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1748, allocations: 28.12 kB / 497.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.1756, allocations: 348.9 kB / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.176, allocations: 0.7243 MB / 498.5 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.1761, allocations: 15.44 kB / 498.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of SimCode: time 3.376e-06/0.1761, allocations: 0 / 498.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of Templates: time 0.006103/0.1822, allocations: 2.218 MB / 0.489 GB, free: 14.46 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches