Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 177.2 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.726/1.726, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001099/0.001099, allocations: 91.84 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.4502/0.4502, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003997, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1593, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002675/0.162, allocations: 1.323 MB / 491.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1631, allocations: 0.6369 MB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.1632, allocations: 4 kB / 492.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.1634, allocations: 27.91 kB / 492.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1638, allocations: 35.89 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.26e-06/0.1638, allocations: 0 / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.164, allocations: 35.84 kB / 492.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.243e-05/0.1641, allocations: 4 kB / 492.3 MB, free: 9.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.1641, allocations: 8 kB / 492.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.1642, allocations: 23.91 kB / 492.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1642, allocations: 4 kB / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.794e-05/0.1643, allocations: 11.94 kB / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.1644, allocations: 11.98 kB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.1644, allocations: 33.64 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.1645, allocations: 52.14 kB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.1646, allocations: 4 kB / 492.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1646, allocations: 0 / 492.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1646, allocations: 0 / 492.4 MB, free: 8.977 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000449/0.165, allocations: 359.1 kB / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.1651, allocations: 8.031 kB / 492.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.1652, allocations: 11.91 kB / 492.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1654, allocations: 174.9 kB / 493 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1654, allocations: 4 kB / 493 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.1654, allocations: 3.938 kB / 493 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1657, allocations: 118.8 kB / 493.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1657, allocations: 3.938 kB / 493.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1657, allocations: 8 kB / 493.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.1658, allocations: 19.98 kB / 493.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.1659, allocations: 47.86 kB / 493.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.1667, allocations: 0.8944 MB / 494.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.355e-05/0.1668, allocations: 165.1 kB / 494.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.1669, allocations: 88.17 kB / 494.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1669, allocations: 75.28 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.167, allocations: 117.9 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.167, allocations: 0 / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001016/0.1671, allocations: 33.61 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.1672, allocations: 126.7 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1674, allocations: 186.1 kB / 494.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1675, allocations: 25.7 kB / 494.9 MB, free: 6.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1676, allocations: 147.1 kB / 495 MB, free: 6.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.1676, allocations: 4 kB / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.1676, allocations: 4 kB / 495 MB, free: 6.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1678, allocations: 322.8 kB / 495.3 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1678, allocations: 31.98 kB / 495.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.168, allocations: 153.1 kB / 495.5 MB, free: 5.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/0.1681, allocations: 63.92 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.1681, allocations: 8 kB / 495.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003474/0.1684, allocations: 197.6 kB / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1685, allocations: 12.09 kB / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1685, allocations: 4 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.1685, allocations: 8 kB / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1687, allocations: 35.92 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1687, allocations: 4 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1688, allocations: 35.67 kB / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1688, allocations: 8 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001546/0.169, allocations: 217 kB / 496.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.1691, allocations: 120.8 kB / 496.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.1692, allocations: 120.8 kB / 496.3 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.702e-05/0.1692, allocations: 180.2 kB / 496.5 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.179e-05/0.1693, allocations: 180.2 kB / 496.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-05/0.1694, allocations: 180.3 kB / 496.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.1697, allocations: 429.1 kB / 497.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/0.1697, allocations: 105 kB / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.1698, allocations: 104.9 kB / 497.5 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.912e-05/0.1699, allocations: 184.2 kB / 497.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/0.17, allocations: 180.2 kB / 497.9 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-05/0.1701, allocations: 184.2 kB / 498 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.1702, allocations: 184.3 kB / 498.2 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.1703, allocations: 311.7 kB / 498.5 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1704, allocations: 186 kB / 498.7 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.931e-05/0.1705, allocations: 180.2 kB / 498.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.308e-05/0.1706, allocations: 108.9 kB / 499 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.1707, allocations: 188.2 kB / 499.2 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.1708, allocations: 105 kB / 499.3 MB, free: 1.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1709, allocations: 124.1 kB / 499.4 MB, free: 1.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1709, allocations: 0 / 499.4 MB, free: 1.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.1712, allocations: 16 kB / 499.4 MB, free: 1.461 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 (0): * Single equations (assignments): 0 * 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.0005672/0.1718, allocations: 286 kB / 499.7 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1719, allocations: 75.78 kB / 499.8 MB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.172, allocations: 0 / 499.8 MB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.172, allocations: 0 / 499.8 MB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1724, allocations: 0.5314 MB / 0.4886 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.1729, allocations: 304.5 kB / 0.4889 GB, free: 272 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2526/0.4255, allocations: 0.7028 MB / 0.4895 GB, free: 43.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4257, allocations: 18.88 kB / 0.4896 GB, free: 43.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4257, allocations: 0 / 0.4896 GB, free: 43.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003564/0.4293, allocations: 1.25 MB / 0.4908 GB, free: 43.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches