Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 177.6 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.683/1.683, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001004/0.001004, allocations: 96.73 kB / 270.9 MB, free: 8.348 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.4827/0.4827, allocations: 43.57 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 12 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1635, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.002149/0.1657, allocations: 1.313 MB / 491.5 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006118/0.1663, allocations: 303.8 kB / 491.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1664, allocations: 0 / 491.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1667, allocations: 47.88 kB / 491.9 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.1668, allocations: 43.89 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1672, allocations: 107.8 kB / 492 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1673, allocations: 55.83 kB / 492.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.1674, allocations: 12.17 kB / 492.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.1675, allocations: 23.92 kB / 492.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.1676, allocations: 43.83 kB / 492.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1676, allocations: 0 / 492.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.1677, allocations: 27.98 kB / 492.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.1678, allocations: 19.92 kB / 492.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.1678, allocations: 33.64 kB / 492.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.168, allocations: 67.83 kB / 492.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.168, allocations: 0 / 492.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.168, allocations: 0 / 492.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.168, allocations: 0 / 492.3 MB, free: 9.105 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.0005371/0.1685, allocations: 399.2 kB / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1686, allocations: 12.02 kB / 492.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1686, allocations: 15.84 kB / 492.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1688, allocations: 195.4 kB / 492.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1688, allocations: 0 / 492.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1689, allocations: 4 kB / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1691, allocations: 53.69 kB / 493 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1691, allocations: 7.984 kB / 493 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1691, allocations: 4 kB / 493 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1691, allocations: 0 / 493 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.1693, allocations: 43.92 kB / 493 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1697, allocations: 296.7 kB / 493.3 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1698, allocations: 46.55 kB / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.1699, allocations: 24.94 kB / 493.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1699, allocations: 8 kB / 493.4 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1699, allocations: 30.56 kB / 493.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1699, allocations: 0 / 493.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008298/0.1708, allocations: 253 kB / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1708, allocations: 51.41 kB / 493.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.171, allocations: 186.3 kB / 493.9 MB, free: 7.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1711, allocations: 29.7 kB / 493.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.1711, allocations: 96.12 kB / 494 MB, free: 7.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1712, allocations: 27.64 kB / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1712, allocations: 0 / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1713, allocations: 314.8 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1715, allocations: 51.91 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1716, allocations: 39.98 kB / 494.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1717, allocations: 51.95 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1717, allocations: 0 / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002722/0.172, allocations: 129.5 kB / 494.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.172, allocations: 7.953 kB / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.172, allocations: 0 / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.172, allocations: 0 / 494.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1722, allocations: 23.98 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1722, allocations: 0 / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.1723, allocations: 23.98 kB / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1723, allocations: 0 / 494.7 MB, free: 6.508 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 9.534e-05/0.1724, allocations: 121.8 kB / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1724, allocations: 7.906 kB / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.1728, allocations: 154.6 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1728, allocations: 0 / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1728, allocations: 0 / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1728, allocations: 0 / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.1733, allocations: 406.5 kB / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1734, allocations: 11.95 kB / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.1735, allocations: 23.98 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1735, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1735, allocations: 4 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1735, allocations: 0 / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1735, allocations: 0 / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.1738, allocations: 231.3 kB / 495.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.1739, allocations: 97.14 kB / 495.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1739, allocations: 0 / 495.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.174, allocations: 15.98 kB / 495.7 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.174, allocations: 8 kB / 495.8 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1741, allocations: 7.984 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1742, allocations: 140 kB / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1742, allocations: 0 / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.1744, allocations: 16 kB / 495.9 MB, free: 5.188 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.000819/0.1752, allocations: 404.6 kB / 496.3 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.1755, allocations: 95.88 kB / 496.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1755, allocations: 4 kB / 496.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1757, allocations: 47.97 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.176, allocations: 11.98 kB / 496.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005055/0.1765, allocations: 267.2 kB / 496.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.1768, allocations: 0.6965 MB / 497.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.1769, allocations: 15.44 kB / 497.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1769, allocations: 0 / 497.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of Templates: time 0.003197/0.1801, allocations: 1.579 MB / 499 MB, free: 2.066 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches