Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002454/0.002453, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.082/2.082, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001203/0.001203, allocations: 99.42 kB / 270.9 MB, free: 8.289 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.5405/0.5405, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007444/0.0007446, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1397, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002942/0.1427, allocations: 1.523 MB / 491.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1445, allocations: 0.5734 MB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1447, allocations: 4 kB / 492.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.1453, allocations: 243.4 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.1458, allocations: 175.5 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.148, allocations: 0.5419 MB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.1486, allocations: 179.6 kB / 493.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.1488, allocations: 52.5 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1491, allocations: 107.6 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1494, allocations: 135.5 kB / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.1494, allocations: 0 / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1496, allocations: 31.98 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1498, allocations: 79.72 kB / 493.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.1499, allocations: 65.52 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.1503, allocations: 207.5 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1503, allocations: 0 / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1503, allocations: 0 / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1503, allocations: 0 / 494.1 MB, free: 7.309 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00103/0.1514, allocations: 0.5912 MB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1514, allocations: 8.031 kB / 494.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.906e-05/0.1515, allocations: 43.48 kB / 494.7 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.1521, allocations: 301.2 kB / 495 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1522, allocations: 4 kB / 495 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1522, allocations: 4 kB / 495 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.1526, allocations: 101.6 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1526, allocations: 0 / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1526, allocations: 0 / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1526, allocations: 4 kB / 495.2 MB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1529, allocations: 83.89 kB / 495.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.1539, allocations: 460.5 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.1542, allocations: 78.5 kB / 495.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.1542, allocations: 4 kB / 495.8 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1543, allocations: 34.69 kB / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.1543, allocations: 0 / 495.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005712/0.1549, allocations: 165 kB / 496 MB, free: 5.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1549, allocations: 55.41 kB / 496 MB, free: 5.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.156, allocations: 0.5487 MB / 496.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.156, allocations: 25.7 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.1562, allocations: 234.7 kB / 496.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1563, allocations: 19.7 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.1563, allocations: 4 kB / 496.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1564, allocations: 314.8 kB / 497.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1566, allocations: 31.97 kB / 497.2 MB, free: 4.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1567, allocations: 27.98 kB / 497.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.1569, allocations: 31.98 kB / 497.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1569, allocations: 0 / 497.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003411/0.1572, allocations: 105.5 kB / 497.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1573, allocations: 4 kB / 497.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1573, allocations: 4 kB / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1573, allocations: 0 / 497.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1575, allocations: 15.98 kB / 497.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1575, allocations: 0 / 497.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.1576, allocations: 7.938 kB / 497.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1577, allocations: 4 kB / 497.4 MB, free: 3.816 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 (6): * Single equations (assignments): 6 * 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.0002511/0.1579, allocations: 173.8 kB / 497.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/0.158, allocations: 39.48 kB / 497.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.1585, allocations: 156.8 kB / 497.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1585, allocations: 0 / 497.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1586, allocations: 3.984 kB / 497.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1586, allocations: 7.984 kB / 497.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.1591, allocations: 285.5 kB / 498 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1591, allocations: 0 / 498 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1593, allocations: 16.48 kB / 498 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.1593, allocations: 4 kB / 498 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1593, allocations: 3.953 kB / 498 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1593, allocations: 0 / 498 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1593, allocations: 4 kB / 498.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1598, allocations: 223 kB / 498.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.16, allocations: 124.6 kB / 498.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.16, allocations: 7.922 kB / 498.4 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.1602, allocations: 11.95 kB / 498.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.1602, allocations: 4 kB / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1603, allocations: 0 / 498.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006865/0.161, allocations: 419.1 kB / 498.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.161, allocations: 3.938 kB / 498.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004305/0.1614, allocations: 35.94 kB / 498.9 MB, free: 2.227 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 (6): * Single equations (assignments): 6 * 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.001765/0.1632, allocations: 0.5828 MB / 499.4 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.1636, allocations: 67.95 kB / 499.5 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1636, allocations: 0 / 499.5 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1638, allocations: 39.92 kB / 499.6 MB, free: 1.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.1645, allocations: 65.69 kB / 499.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1659, allocations: 0.6784 MB / 0.4886 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3345/0.5005, allocations: 0.8142 MB / 0.4894 GB, free: 42.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.5007, allocations: 23.89 kB / 0.4894 GB, free: 42.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5007, allocations: 0 / 0.4894 GB, free: 42.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01174/0.5125, allocations: 3.916 MB / 0.4932 GB, free: 42.3 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches