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.001264/0.001265, allocations: 180.4 kB / 16.41 MB, free: 5.73 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.84/1.84, 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.0008738/0.0008737, allocations: 86.31 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.4408/0.4408, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004077, allocations: 16 kB / 431.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 58.85 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002339/0.1462, allocations: 1.508 MB / 491.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1474, allocations: 0.6866 MB / 492.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.1475, allocations: 8 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.148, allocations: 239.5 kB / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1483, allocations: 171.5 kB / 492.9 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1496, allocations: 0.546 MB / 493.4 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.1499, allocations: 239.3 kB / 493.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1501, allocations: 52.48 kB / 493.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1502, allocations: 103.5 kB / 493.8 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1504, allocations: 155.5 kB / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1505, allocations: 0 / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1506, allocations: 39.97 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1507, allocations: 75.75 kB / 494 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.1508, allocations: 61.52 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.151, allocations: 207.4 kB / 494.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.151, allocations: 0 / 494.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.151, allocations: 0 / 494.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.151, allocations: 0 / 494.3 MB, free: 6.871 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.0007977/0.1518, allocations: 0.564 MB / 494.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1519, allocations: 8.031 kB / 494.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.152, allocations: 39.48 kB / 494.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1524, allocations: 289.4 kB / 495.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1524, allocations: 4 kB / 495.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1524, allocations: 8 kB / 495.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1527, allocations: 93.59 kB / 495.3 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1527, allocations: 7.922 kB / 495.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1527, allocations: 8 kB / 495.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1527, allocations: 4 kB / 495.3 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.1529, allocations: 71.91 kB / 495.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.1535, allocations: 444.6 kB / 495.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1537, allocations: 78.5 kB / 495.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.1538, allocations: 36.95 kB / 495.9 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.1538, allocations: 4 kB / 495.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1539, allocations: 30.56 kB / 496 MB, free: 5.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1539, allocations: 0 / 496 MB, free: 5.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003689/0.1542, allocations: 165.1 kB / 496.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.1543, allocations: 51.41 kB / 496.2 MB, free: 4.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.1549, allocations: 0.5212 MB / 496.7 MB, free: 4.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1549, allocations: 29.7 kB / 496.7 MB, free: 4.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1551, allocations: 184.2 kB / 496.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1551, allocations: 27.62 kB / 496.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.1551, allocations: 8 kB / 497 MB, free: 4.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1553, allocations: 346.8 kB / 497.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.1554, allocations: 31.92 kB / 497.3 MB, free: 3.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.1555, allocations: 23.98 kB / 497.3 MB, free: 3.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.1556, allocations: 31.98 kB / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1556, allocations: 4 kB / 497.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002349/0.1558, allocations: 133.2 kB / 497.5 MB, free: 3.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1558, allocations: 4 kB / 497.5 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1558, allocations: 0 / 497.5 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1559, allocations: 0 / 497.5 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-05/0.156, allocations: 15.98 kB / 497.5 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.156, allocations: 0 / 497.5 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.156, allocations: 7.906 kB / 497.5 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.156, allocations: 4 kB / 497.5 MB, free: 3.414 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.0001654/0.1562, allocations: 177.8 kB / 497.7 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.1563, allocations: 39.52 kB / 497.8 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.1566, allocations: 153 kB / 497.9 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1566, allocations: 4 kB / 497.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1566, allocations: 4.062 kB / 497.9 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1566, allocations: 0 / 497.9 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.1569, allocations: 281.5 kB / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1569, allocations: 0 / 498.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.157, allocations: 15.98 kB / 498.2 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.157, allocations: 3.953 kB / 498.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.157, allocations: 0 / 498.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.157, allocations: 0 / 498.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.157, allocations: 0 / 498.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1573, allocations: 223.1 kB / 498.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.1574, allocations: 124.5 kB / 498.5 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1574, allocations: 7.953 kB / 498.6 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.1575, allocations: 4 kB / 498.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1575, allocations: 3.984 kB / 498.6 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1575, allocations: 4 kB / 498.6 MB, free: 2.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003986/0.1579, allocations: 391.1 kB / 498.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.158, allocations: 0 / 498.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.1582, allocations: 35.94 kB / 499 MB, free: 1.871 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.001234/0.1594, allocations: 0.5901 MB / 499.6 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.1597, allocations: 63.95 kB / 499.6 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1597, allocations: 0 / 499.6 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.1598, allocations: 43.92 kB / 499.7 MB, free: 1.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.1603, allocations: 65.44 kB / 499.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.1612, allocations: 0.6471 MB / 0.4887 GB, free: 496 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2053/0.3665, allocations: 0.7848 MB / 0.4894 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.3667, allocations: 26.34 kB / 0.4895 GB, free: 42.55 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3667, allocations: 2.344 kB / 0.4895 GB, free: 42.55 MB / 378.7 MB Notification: Performance of Templates: time 0.006477/0.3731, allocations: 3.682 MB / 0.4931 GB, free: 42.31 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/jenkins/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