Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 178.2 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.686/1.686, 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.0007661/0.0007663, allocations: 82.36 kB / 270.9 MB, free: 8.367 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.4482/0.4482, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005405/0.0005402, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1605, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002286/0.1628, allocations: 1.315 MB / 491.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.1638, allocations: 0.6447 MB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.1638, allocations: 0 / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1641, allocations: 27.91 kB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1643, allocations: 31.91 kB / 492.3 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.1643, allocations: 0 / 492.3 MB, free: 9.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1645, allocations: 43.83 kB / 492.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.1645, allocations: 3.984 kB / 492.3 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.1646, allocations: 15.92 kB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.1647, allocations: 15.94 kB / 492.3 MB, free: 9.125 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1647, allocations: 7.984 kB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.184e-05/0.1647, allocations: 11.98 kB / 492.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1648, allocations: 8 kB / 492.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1648, allocations: 41.58 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1649, allocations: 44.2 kB / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.165, allocations: 0 / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.165, allocations: 0 / 492.4 MB, free: 9.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.165, allocations: 0 / 492.4 MB, free: 9.008 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.0003832/0.1654, allocations: 367.1 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1654, allocations: 12.03 kB / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.1655, allocations: 7.906 kB / 492.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1657, allocations: 174.9 kB / 493 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1657, allocations: 0 / 493 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1657, allocations: 0 / 493 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1659, allocations: 122.7 kB / 493.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1659, allocations: 8 kB / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1659, allocations: 3.984 kB / 493.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.166, allocations: 27.97 kB / 493.1 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.1661, allocations: 39.88 kB / 493.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.1668, allocations: 0.8905 MB / 494.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.588e-05/0.1669, allocations: 169.2 kB / 494.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.1669, allocations: 84.14 kB / 494.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.1669, allocations: 83.28 kB / 494.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.167, allocations: 109.9 kB / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.167, allocations: 0 / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.354e-05/0.1671, allocations: 37.59 kB / 494.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.1671, allocations: 126.7 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1673, allocations: 186.1 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1674, allocations: 29.64 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.1675, allocations: 155.1 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.1675, allocations: 0 / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.1675, allocations: 8 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1676, allocations: 318.8 kB / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.1677, allocations: 27.98 kB / 495.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1678, allocations: 153.2 kB / 495.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.377e-05/0.1679, allocations: 67.91 kB / 495.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1679, allocations: 4 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002937/0.1682, allocations: 193.6 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1683, allocations: 8 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1683, allocations: 4 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1683, allocations: 8 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1684, allocations: 39.92 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.1684, allocations: 11.98 kB / 495.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.1685, allocations: 27.62 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1686, allocations: 15.94 kB / 495.9 MB, free: 5.215 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.0001266/0.1687, allocations: 213.1 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.1688, allocations: 116.8 kB / 496.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.1688, allocations: 116.9 kB / 496.3 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.456e-05/0.1689, allocations: 180.2 kB / 496.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.076e-05/0.169, allocations: 180.2 kB / 496.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.293e-05/0.1691, allocations: 188.1 kB / 496.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.1693, allocations: 417.2 kB / 497.3 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.029e-05/0.1694, allocations: 109 kB / 497.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1694, allocations: 104.9 kB / 497.5 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.747e-05/0.1695, allocations: 176.3 kB / 497.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.1696, allocations: 188.2 kB / 497.8 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.507e-05/0.1697, allocations: 184.3 kB / 498 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.323e-05/0.1697, allocations: 188.2 kB / 498.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.1699, allocations: 311.7 kB / 498.5 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.17, allocations: 185.9 kB / 498.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.1701, allocations: 184.2 kB / 498.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.1702, allocations: 108.9 kB / 499 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.1703, allocations: 180.2 kB / 499.2 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.1703, allocations: 101 kB / 499.3 MB, free: 1.633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.73e-05/0.1704, allocations: 136.1 kB / 499.4 MB, free: 1.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1704, allocations: 0 / 499.4 MB, free: 1.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.1707, allocations: 16 kB / 499.4 MB, free: 1.484 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.0005008/0.1712, allocations: 278 kB / 499.7 MB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.1714, allocations: 71.78 kB / 499.8 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1714, allocations: 0 / 499.8 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/0.1714, allocations: 5.188 kB / 499.8 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1718, allocations: 0.5263 MB / 0.4886 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.1722, allocations: 308.4 kB / 0.4889 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2486/0.4208, allocations: 0.7007 MB / 0.4895 GB, free: 43.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.421, allocations: 17.22 kB / 0.4896 GB, free: 43.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.421, allocations: 2.812 kB / 0.4896 GB, free: 43.44 MB / 378.7 MB Notification: Performance of Templates: time 0.003534/0.4245, allocations: 1.252 MB / 0.4908 GB, free: 43.41 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches