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.001614/0.001617, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001074/0.001074, allocations: 86.92 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2867/0.2867, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006457, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1486, allocations: 58.86 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.003792/0.1524, allocations: 1.312 MB / 491.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.1548, allocations: 0.6409 MB / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.1549, allocations: 0 / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.1553, allocations: 23.84 kB / 492.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.1557, allocations: 23.97 kB / 492.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.142e-05/0.1558, allocations: 0 / 492.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.1561, allocations: 31.83 kB / 492.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.1562, allocations: 4 kB / 492.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.1562, allocations: 4 kB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1564, allocations: 11.94 kB / 492.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1564, allocations: 4 kB / 492.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.1565, allocations: 11.98 kB / 492.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1566, allocations: 11.94 kB / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.1567, allocations: 33.64 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1569, allocations: 52.19 kB / 492.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1569, allocations: 0 / 492.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1569, allocations: 0 / 492.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.157, allocations: 0 / 492.4 MB, free: 7.148 MB / 330.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.0005558/0.1575, allocations: 351.2 kB / 492.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.1576, allocations: 12.03 kB / 492.7 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.1577, allocations: 7.906 kB / 492.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1579, allocations: 175 kB / 492.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.158, allocations: 4 kB / 492.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.158, allocations: 0 / 492.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.1584, allocations: 126.4 kB / 493 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1584, allocations: 4 kB / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1584, allocations: 0 / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.1586, allocations: 27.92 kB / 493.1 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.1587, allocations: 43.91 kB / 493.1 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.16, allocations: 0.8983 MB / 494 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1602, allocations: 165.1 kB / 494.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.103e-05/0.1603, allocations: 79.22 kB / 494.3 MB, free: 5.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.003e-05/0.1604, allocations: 113.8 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 4.147e-06/0.1604, allocations: 3.938 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001544/0.1606, allocations: 41.64 kB / 494.4 MB, free: 4.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1607, allocations: 130.7 kB / 494.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.1611, allocations: 182 kB / 494.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1612, allocations: 25.7 kB / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1614, allocations: 209.7 kB / 494.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.1614, allocations: 8 kB / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.1615, allocations: 4 kB / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1617, allocations: 326.8 kB / 495.3 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1618, allocations: 27.98 kB / 495.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.1621, allocations: 157.1 kB / 495.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.1624, allocations: 63.91 kB / 495.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.1624, allocations: 4 kB / 495.5 MB, free: 3.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007324/0.1631, allocations: 193.2 kB / 495.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.1632, allocations: 11.28 kB / 495.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.1633, allocations: 8 kB / 495.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.472e-05/0.1633, allocations: 15.89 kB / 495.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.1636, allocations: 31.98 kB / 495.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.1637, allocations: 11.94 kB / 495.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.1639, allocations: 27.69 kB / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.164, allocations: 8 kB / 495.8 MB, free: 3.395 MB / 330.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.000265/0.1643, allocations: 213 kB / 496 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.1644, allocations: 112.9 kB / 496.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1646, allocations: 124.8 kB / 496.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001152/0.1647, allocations: 180.2 kB / 496.4 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/0.1648, allocations: 180.2 kB / 496.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.874e-05/0.1649, allocations: 180.3 kB / 496.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.1654, allocations: 421.2 kB / 497.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.519e-05/0.1655, allocations: 116.9 kB / 497.3 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.1656, allocations: 101 kB / 497.4 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1657, allocations: 180.2 kB / 497.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.1658, allocations: 180.2 kB / 497.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001005/0.1659, allocations: 180.3 kB / 497.9 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.872e-05/0.166, allocations: 184.2 kB / 498.1 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1663, allocations: 323.7 kB / 498.4 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.1665, allocations: 186 kB / 498.6 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.1666, allocations: 184.2 kB / 498.8 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1668, allocations: 108.9 kB / 498.9 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.167, allocations: 184.2 kB / 499.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.1671, allocations: 108.9 kB / 499.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.1674, allocations: 127.2 kB / 499.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1674, allocations: 4 kB / 499.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006946/0.1681, allocations: 12 kB / 499.3 MB, free: 15.66 MB / 346.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.0009201/0.1691, allocations: 281 kB / 499.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.1695, allocations: 75.78 kB / 499.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.1695, allocations: 0 / 499.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.1695, allocations: 0 / 499.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.1701, allocations: 0.5273 MB / 0.4885 GB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.1709, allocations: 304.7 kB / 0.4888 GB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.1714, allocations: 0.7009 MB / 0.4895 GB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.1716, allocations: 19.42 kB / 0.4895 GB, free: 13.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1716, allocations: 4 kB / 0.4895 GB, free: 13.72 MB / 346.7 MB Notification: Performance of Templates: time 0.005941/0.1776, allocations: 1.245 MB / 0.4907 GB, free: 12.48 MB / 346.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/jenkins1/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