Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 174.3 kB / 16.41 MB, free: 5.684 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.703/1.703, 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.0008426/0.0008426, allocations: 99.72 kB / 270.9 MB, free: 8.352 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.4416/0.4416, allocations: 43.56 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003959, allocations: 16 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.002186/0.1569, allocations: 1.315 MB / 491.6 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008576/0.1577, allocations: 0.6408 MB / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.1578, allocations: 0 / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.158, allocations: 23.92 kB / 492.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1582, allocations: 31.91 kB / 492.3 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.489e-06/0.1582, allocations: 4 kB / 492.3 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1584, allocations: 39.88 kB / 492.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.1584, allocations: 4 kB / 492.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.1585, allocations: 7.938 kB / 492.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.1586, allocations: 23.91 kB / 492.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1586, allocations: 0 / 492.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.1586, allocations: 8 kB / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.1587, allocations: 19.92 kB / 492.4 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.1587, allocations: 37.64 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1588, allocations: 48.2 kB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1589, allocations: 0 / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1589, allocations: 0 / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1589, allocations: 0 / 492.4 MB, free: 8.754 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.0003846/0.1593, allocations: 359.1 kB / 492.8 MB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.1593, allocations: 11.97 kB / 492.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.1594, allocations: 3.906 kB / 492.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.1596, allocations: 175 kB / 493 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1596, allocations: 4 kB / 493 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1596, allocations: 4 kB / 493 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1599, allocations: 130.3 kB / 493.1 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1599, allocations: 0 / 493.1 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1599, allocations: 4 kB / 493.1 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/0.16, allocations: 23.92 kB / 493.1 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.16, allocations: 55.84 kB / 493.2 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.1607, allocations: 0.8905 MB / 494.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.731e-05/0.1608, allocations: 169.1 kB / 494.3 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.1609, allocations: 80.14 kB / 494.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1609, allocations: 75.28 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.161, allocations: 113.9 kB / 494.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.161, allocations: 4 kB / 494.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.038e-05/0.1611, allocations: 41.64 kB / 494.6 MB, free: 6.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.1611, allocations: 126.7 kB / 494.7 MB, free: 6.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1613, allocations: 182.1 kB / 494.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1613, allocations: 25.7 kB / 494.9 MB, free: 6.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.1614, allocations: 151.1 kB / 495 MB, free: 5.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/0.1615, allocations: 4 kB / 495 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.1615, allocations: 0 / 495 MB, free: 5.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1616, allocations: 326.8 kB / 495.4 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.1616, allocations: 27.98 kB / 495.4 MB, free: 5.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1618, allocations: 157.1 kB / 495.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.377e-05/0.1619, allocations: 67.91 kB / 495.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1619, allocations: 0 / 495.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002884/0.1622, allocations: 193.1 kB / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1622, allocations: 8 kB / 495.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1622, allocations: 4 kB / 495.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1622, allocations: 12.61 kB / 495.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1624, allocations: 43.92 kB / 495.9 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1624, allocations: 7.938 kB / 495.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.1625, allocations: 23.69 kB / 495.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1625, allocations: 16 kB / 495.9 MB, free: 4.969 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.0001363/0.1626, allocations: 217 kB / 496.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.1627, allocations: 112.8 kB / 496.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.1628, allocations: 116.8 kB / 496.3 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.207e-05/0.1629, allocations: 188.3 kB / 496.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-05/0.1629, allocations: 180.2 kB / 496.7 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-05/0.163, allocations: 176.3 kB / 496.9 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1633, allocations: 421.2 kB / 497.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.347e-05/0.1634, allocations: 108.9 kB / 497.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.1634, allocations: 109 kB / 497.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.196e-05/0.1635, allocations: 180.2 kB / 497.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.1635, allocations: 184.2 kB / 497.9 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.825e-05/0.1636, allocations: 180.3 kB / 498 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.265e-05/0.1637, allocations: 188.2 kB / 498.2 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1639, allocations: 307.7 kB / 498.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.164, allocations: 194 kB / 498.7 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/0.1641, allocations: 176.3 kB / 498.9 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.1642, allocations: 112.9 kB / 499 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.1643, allocations: 180.2 kB / 499.2 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.1643, allocations: 112.9 kB / 499.3 MB, free: 1.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.1644, allocations: 128.1 kB / 499.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1644, allocations: 0 / 499.4 MB, free: 1.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.1647, allocations: 12 kB / 499.4 MB, free: 1.238 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.0004919/0.1652, allocations: 272.2 kB / 499.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1654, allocations: 80.53 kB / 499.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1654, allocations: 0 / 499.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.1654, allocations: 0 / 499.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1658, allocations: 0.5263 MB / 0.4886 GB, free: 396 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.1662, allocations: 312.9 kB / 0.4889 GB, free: 48 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2537/0.4199, allocations: 0.696 MB / 0.4895 GB, free: 43.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.4201, allocations: 18.19 kB / 0.4895 GB, free: 43.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4202, allocations: 0 / 0.4895 GB, free: 43.34 MB / 378.7 MB Notification: Performance of Templates: time 0.003365/0.4235, allocations: 1.251 MB / 0.4908 GB, free: 43.33 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches