Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.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.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.703/1.703, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009443/0.0009444, allocations: 92.92 kB / 270.9 MB, free: 8.352 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.4776/0.4776, allocations: 43.56 MB / 362.7 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.000396, allocations: 11.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002724/0.1605, allocations: 1.317 MB / 491.6 MB, free: 9.895 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.1612, allocations: 295.8 kB / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.1613, allocations: 0 / 491.8 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1617, allocations: 67.83 kB / 491.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.162, allocations: 51.88 kB / 492 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1624, allocations: 99.81 kB / 492.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1626, allocations: 63.77 kB / 492.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1628, allocations: 20.16 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.1629, allocations: 23.91 kB / 492.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.163, allocations: 43.84 kB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1631, allocations: 0 / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1632, allocations: 35.97 kB / 492.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.1633, allocations: 19.92 kB / 492.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.1633, allocations: 37.64 kB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1635, allocations: 59.91 kB / 492.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1635, allocations: 3.938 kB / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1636, allocations: 0 / 492.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1636, allocations: 0 / 492.4 MB, free: 9.078 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.0007673/0.1643, allocations: 407.1 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.1644, allocations: 16.02 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.1645, allocations: 11.86 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1647, allocations: 190.8 kB / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1648, allocations: 8 kB / 493 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1648, allocations: 0 / 493 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.165, allocations: 61.67 kB / 493 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.165, allocations: 0 / 493 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.165, allocations: 4 kB / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.165, allocations: 0 / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1652, allocations: 43.92 kB / 493.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.1657, allocations: 304.7 kB / 493.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1659, allocations: 42.56 kB / 493.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.121e-05/0.166, allocations: 28.92 kB / 493.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.166, allocations: 8 kB / 493.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.166, allocations: 30.56 kB / 493.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1661, allocations: 0 / 493.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009075/0.167, allocations: 253 kB / 493.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.167, allocations: 51.41 kB / 493.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1673, allocations: 194.2 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1673, allocations: 29.7 kB / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.1674, allocations: 108.1 kB / 494.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1674, allocations: 23.64 kB / 494.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1674, allocations: 4 kB / 494.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1676, allocations: 318.8 kB / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1678, allocations: 39.97 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1679, allocations: 43.97 kB / 494.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.168, allocations: 43.91 kB / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.168, allocations: 0 / 494.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003273/0.1684, allocations: 137.5 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.1684, allocations: 11.89 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1684, allocations: 0 / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1684, allocations: 4 kB / 494.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1686, allocations: 19.98 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1686, allocations: 11.94 kB / 494.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.1687, allocations: 15.98 kB / 494.8 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1687, allocations: 0 / 494.8 MB, free: 6.441 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 (7): * Single equations (assignments): 7 * 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.0001298/0.1688, allocations: 129.8 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.1689, allocations: 7.906 kB / 494.9 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.1693, allocations: 146.3 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1693, allocations: 0 / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1693, allocations: 0 / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1693, allocations: 0 / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/0.1699, allocations: 410.8 kB / 495.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.17, allocations: 7.953 kB / 495.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.17, allocations: 19.98 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1701, allocations: 4 kB / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1701, allocations: 0 / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1701, allocations: 0 / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1701, allocations: 0 / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.1705, allocations: 235.3 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.1706, allocations: 92.97 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1706, allocations: 0 / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.1707, allocations: 19.98 kB / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.1708, allocations: 7.984 kB / 495.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1708, allocations: 0 / 495.8 MB, free: 5.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1709, allocations: 164 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1709, allocations: 0 / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002426/0.1712, allocations: 16 kB / 496 MB, free: 5.105 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 (7): * Single equations (assignments): 7 * 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.0009333/0.1721, allocations: 412.7 kB / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.1725, allocations: 91.88 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1725, allocations: 4 kB / 496.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1726, allocations: 47.97 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.173, allocations: 15.94 kB / 496.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.1736, allocations: 282.8 kB / 496.8 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1741, allocations: 0.7004 MB / 497.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.1742, allocations: 23.36 kB / 497.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1742, allocations: 0 / 497.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of Templates: time 0.00397/0.1781, allocations: 1.625 MB / 499.2 MB, free: 1.906 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches