Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 180 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.432/1.432, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007327/0.0007328, allocations: 91.47 kB / 270.9 MB, free: 8.363 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.3886/0.3886, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.0006313, allocations: 20 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1664, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.002087/0.1685, allocations: 1.305 MB / 491.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005959/0.1691, allocations: 295.8 kB / 491.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.1692, allocations: 4 kB / 491.8 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.1694, allocations: 59.84 kB / 491.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1696, allocations: 39.89 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1699, allocations: 99.8 kB / 492 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1701, allocations: 55.84 kB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1702, allocations: 20.17 kB / 492.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.1703, allocations: 19.86 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1704, allocations: 35.89 kB / 492.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1704, allocations: 0 / 492.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.1705, allocations: 31.94 kB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.1706, allocations: 15.97 kB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.1706, allocations: 37.64 kB / 492.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1708, allocations: 63.89 kB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1708, allocations: 3.938 kB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1708, allocations: 0 / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1708, allocations: 4 kB / 492.3 MB, free: 9.109 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.0006218/0.1715, allocations: 387.3 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.1715, allocations: 12.02 kB / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1716, allocations: 11.86 kB / 492.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1718, allocations: 191.4 kB / 492.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1718, allocations: 4 kB / 492.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1719, allocations: 4 kB / 492.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1721, allocations: 65.66 kB / 493 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1721, allocations: 0 / 493 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1721, allocations: 4 kB / 493 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1721, allocations: 0 / 493 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.1723, allocations: 43.92 kB / 493 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.1727, allocations: 292.7 kB / 493.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1729, allocations: 46.56 kB / 493.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.173, allocations: 32.94 kB / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.173, allocations: 0 / 493.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1731, allocations: 30.56 kB / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1731, allocations: 0 / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008601/0.1739, allocations: 245.4 kB / 493.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.174, allocations: 51.41 kB / 493.7 MB, free: 7.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1742, allocations: 178.9 kB / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1743, allocations: 29.7 kB / 493.9 MB, free: 7.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.1744, allocations: 96.12 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1744, allocations: 31.66 kB / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.1744, allocations: 0 / 494 MB, free: 7.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.1746, allocations: 326.8 kB / 494.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1748, allocations: 43.91 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1749, allocations: 43.97 kB / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1751, allocations: 44.14 kB / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1751, allocations: 0 / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000286/0.1754, allocations: 125.5 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1754, allocations: 11.94 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1754, allocations: 4 kB / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1754, allocations: 0 / 494.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1756, allocations: 27.97 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1756, allocations: 3.938 kB / 494.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.1757, allocations: 23.98 kB / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1757, allocations: 0 / 494.7 MB, free: 6.527 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.000119/0.1758, allocations: 117.8 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.1759, allocations: 11.91 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.1763, allocations: 150.2 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1763, allocations: 0 / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1763, allocations: 4 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1763, allocations: 3.984 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.1769, allocations: 398.5 kB / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.1769, allocations: 11.94 kB / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.638e-05/0.177, allocations: 19.98 kB / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.177, allocations: 0 / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.177, allocations: 0 / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.177, allocations: 4 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.177, allocations: 0 / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1774, allocations: 227.3 kB / 495.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1775, allocations: 92.97 kB / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1775, allocations: 7.984 kB / 495.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.1776, allocations: 8 kB / 495.7 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1777, allocations: 7.984 kB / 495.7 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.1777, allocations: 8 kB / 495.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1778, allocations: 136.5 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1778, allocations: 0 / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.1781, allocations: 20 kB / 495.9 MB, free: 5.219 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.000979/0.1791, allocations: 405.4 kB / 496.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.1794, allocations: 95.89 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1794, allocations: 0 / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1795, allocations: 47.97 kB / 496.4 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1799, allocations: 19.84 kB / 496.4 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.1804, allocations: 262.8 kB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1809, allocations: 0.7005 MB / 497.4 MB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.1809, allocations: 11.44 kB / 497.4 MB, free: 3.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1809, allocations: 7.938 kB / 497.4 MB, free: 3.672 MB / 378.7 MB Notification: Performance of Templates: time 0.00354/0.1845, allocations: 1.571 MB / 499 MB, free: 2.102 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches