Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 180 kB / 16.41 MB, free: 5.703 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.706/1.706, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008967/0.0008966, allocations: 94.28 kB / 270.9 MB, free: 8.344 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.4134/0.4134, allocations: 43.57 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004261, allocations: 19.98 kB / 431.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1615, allocations: 58.84 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.00218/0.1637, allocations: 1.259 MB / 491.5 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005768/0.1643, allocations: 291.8 kB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.1644, allocations: 0 / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1647, allocations: 67.84 kB / 491.8 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.1649, allocations: 59.8 kB / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1651, allocations: 67.86 kB / 492 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1652, allocations: 51.84 kB / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1654, allocations: 19.97 kB / 492 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.1654, allocations: 27.84 kB / 492.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1655, allocations: 39.89 kB / 492.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1656, allocations: 0 / 492.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.1656, allocations: 31.92 kB / 492.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.1657, allocations: 15.98 kB / 492.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.1658, allocations: 37.64 kB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1659, allocations: 63.91 kB / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1659, allocations: 0 / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1659, allocations: 0 / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1659, allocations: 0 / 492.3 MB, free: 9.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005398/0.1665, allocations: 395.1 kB / 492.6 MB, free: 8.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1665, allocations: 15.95 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1666, allocations: 11.86 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.1668, allocations: 198.9 kB / 492.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1668, allocations: 0 / 492.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1669, allocations: 7.984 kB / 492.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.167, allocations: 45.69 kB / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.167, allocations: 0 / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.167, allocations: 0 / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.167, allocations: 0 / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.962e-05/0.1672, allocations: 35.92 kB / 492.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.1675, allocations: 276.9 kB / 493.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.1678, allocations: 42.56 kB / 493.3 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.1678, allocations: 24.94 kB / 493.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1678, allocations: 0 / 493.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1679, allocations: 34.56 kB / 493.3 MB, free: 7.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.1679, allocations: 0 / 493.3 MB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005938/0.1685, allocations: 169.1 kB / 493.5 MB, free: 7.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1685, allocations: 51.41 kB / 493.5 MB, free: 7.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1687, allocations: 206.2 kB / 493.7 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1688, allocations: 25.7 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.1688, allocations: 100.1 kB / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.1689, allocations: 15.72 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.1689, allocations: 8 kB / 493.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.169, allocations: 322.8 kB / 494.2 MB, free: 7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.1691, allocations: 23.98 kB / 494.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.1692, allocations: 23.98 kB / 494.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/0.1692, allocations: 23.98 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1692, allocations: 0 / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.1694, allocations: 85.58 kB / 494.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1695, allocations: 7.953 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1695, allocations: 0 / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1695, allocations: 0 / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.1696, allocations: 20.23 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1696, allocations: 3.938 kB / 494.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.1696, allocations: 15.94 kB / 494.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1697, allocations: 3.984 kB / 494.4 MB, free: 6.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001391/0.1698, allocations: 125.8 kB / 494.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.1698, allocations: 7.906 kB / 494.5 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.1701, allocations: 101.9 kB / 494.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1701, allocations: 3.984 kB / 494.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1701, allocations: 0 / 494.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1701, allocations: 0 / 494.6 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1706, allocations: 362.5 kB / 495 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1706, allocations: 0 / 495 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.1706, allocations: 19.94 kB / 495 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1707, allocations: 0 / 495 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1707, allocations: 4 kB / 495 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1707, allocations: 0 / 495 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1707, allocations: 0 / 495 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1709, allocations: 195.3 kB / 495.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.171, allocations: 85.02 kB / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.171, allocations: 3.953 kB / 495.3 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.1711, allocations: 7.984 kB / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1711, allocations: 8 kB / 495.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1711, allocations: 480 / 495.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1713, allocations: 164 kB / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1713, allocations: 0 / 495.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.1715, allocations: 20 kB / 495.5 MB, free: 5.598 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009724/0.1725, allocations: 404.5 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1727, allocations: 51.97 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1727, allocations: 0 / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.1728, allocations: 31.92 kB / 496 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1731, allocations: 19.92 kB / 496 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.1736, allocations: 258.9 kB / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.174, allocations: 0.7004 MB / 496.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.174, allocations: 15.44 kB / 496.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.174, allocations: 4 kB / 497 MB, free: 4.105 MB / 378.7 MB Notification: Performance of Templates: time 0.003294/0.1773, allocations: 1.461 MB / 498.4 MB, free: 2.648 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches