Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002612/0.002619, allocations: 183.5 kB / 16.4 MB, free: 5.754 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.223/2.223, 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.001666/0.001666, allocations: 89.48 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.5378/0.5378, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004607, allocations: 8 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1322, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003188/0.1354, allocations: 1.617 MB / 491.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1372, allocations: 0.5616 MB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.1374, allocations: 0 / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.138, allocations: 231.4 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004812/0.1385, allocations: 167.6 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1401, allocations: 415.1 kB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.1406, allocations: 175.6 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1408, allocations: 56.69 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.141, allocations: 103.6 kB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.1413, allocations: 147.4 kB / 493.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.1413, allocations: 4 kB / 493.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1416, allocations: 39.92 kB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1417, allocations: 79.67 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.1418, allocations: 65.52 kB / 493.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1423, allocations: 219.9 kB / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1423, allocations: 0 / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1423, allocations: 0 / 494.1 MB, free: 7.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1423, allocations: 0 / 494.1 MB, free: 7.375 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001013/0.1433, allocations: 0.6068 MB / 494.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1434, allocations: 8.031 kB / 494.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.1435, allocations: 39.48 kB / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.144, allocations: 301.2 kB / 495 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.144, allocations: 12 kB / 495 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.1441, allocations: 12 kB / 495 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1444, allocations: 105.6 kB / 495.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1444, allocations: 4 kB / 495.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.1445, allocations: 8 kB / 495.1 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1445, allocations: 4 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1448, allocations: 75.84 kB / 495.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.1457, allocations: 496.3 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.146, allocations: 98.53 kB / 495.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.1461, allocations: 4 kB / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.1461, allocations: 34.78 kB / 495.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.525e-06/0.1461, allocations: 7.875 kB / 495.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001438/0.1476, allocations: 391.8 kB / 496.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1477, allocations: 51.41 kB / 496.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009321/0.1486, allocations: 0.5525 MB / 496.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1487, allocations: 25.7 kB / 496.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1489, allocations: 234.8 kB / 497.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.1489, allocations: 63.09 kB / 497.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.149, allocations: 8 kB / 497.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1491, allocations: 314.8 kB / 497.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.1493, allocations: 51.97 kB / 497.5 MB, free: 3.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1496, allocations: 55.97 kB / 497.6 MB, free: 3.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1498, allocations: 63.92 kB / 497.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1498, allocations: 0 / 497.6 MB, free: 3.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000565/0.1504, allocations: 169.5 kB / 497.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1504, allocations: 11.92 kB / 497.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1504, allocations: 0 / 497.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1505, allocations: 0 / 497.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1507, allocations: 35.98 kB / 497.8 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1508, allocations: 4 kB / 497.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1509, allocations: 15.84 kB / 497.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.151, allocations: 8 kB / 497.9 MB, free: 3.336 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 (17): * Single equations (assignments): 17 * 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.0002583/0.1512, allocations: 177.7 kB / 498 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.1513, allocations: 35.53 kB / 498.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.1521, allocations: 240.9 kB / 498.3 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.1521, allocations: 4 kB / 498.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.1521, allocations: 3.984 kB / 498.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1521, allocations: 0 / 498.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.1534, allocations: 0.627 MB / 498.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1534, allocations: 0 / 498.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.1536, allocations: 39.92 kB / 499 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.1537, allocations: 4 kB / 499 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.1537, allocations: 15.94 kB / 499 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1537, allocations: 3.984 kB / 499 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1537, allocations: 0 / 499 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.1544, allocations: 298.9 kB / 499.3 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.1546, allocations: 128.6 kB / 499.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.1546, allocations: 0 / 499.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.1548, allocations: 15.95 kB / 499.4 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.1549, allocations: 11.98 kB / 499.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1549, allocations: 7.984 kB / 499.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006898/0.1556, allocations: 411 kB / 499.9 MB, free: 1.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.505e-06/0.1556, allocations: 0 / 499.9 MB, free: 1.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004529/0.1561, allocations: 51.94 kB / 499.9 MB, free: 1.188 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 (17): * Single equations (assignments): 17 * 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.002124/0.1582, allocations: 0.7012 MB / 0.4889 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000606/0.1589, allocations: 139.8 kB / 0.489 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1589, allocations: 0 / 0.489 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.1592, allocations: 83.91 kB / 0.4891 GB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.1599, allocations: 62.12 kB / 0.4892 GB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.306/0.4659, allocations: 0.7383 MB / 0.4899 GB, free: 42.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.4664, allocations: 0.811 MB / 0.4907 GB, free: 42.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.4666, allocations: 38.36 kB / 0.4907 GB, free: 42.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.4666, allocations: 0 / 0.4907 GB, free: 42.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01236/0.4789, allocations: 4.43 MB / 0.495 GB, free: 41.9 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches