Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001516, allocations: 181.8 kB / 16.4 MB, free: 5.746 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.978/1.978, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001123/0.001123, allocations: 86.88 kB / 270.9 MB, free: 8.375 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.511/0.511, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007169/0.0007171, allocations: 8 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1405, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003119/0.1437, allocations: 1.617 MB / 491.8 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1456, allocations: 0.6009 MB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1458, allocations: 7.938 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.1464, allocations: 243.4 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.1469, allocations: 171.6 kB / 492.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.1491, allocations: 0.5497 MB / 493.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.1497, allocations: 199.5 kB / 493.6 MB, free: 7.844 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.1499, allocations: 72.56 kB / 493.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1501, allocations: 111.5 kB / 493.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.1505, allocations: 147.5 kB / 493.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.1505, allocations: 4 kB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.1508, allocations: 35.92 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.151, allocations: 87.72 kB / 494 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.1511, allocations: 65.52 kB / 494.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.1515, allocations: 231.6 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1515, allocations: 0 / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1516, allocations: 3.938 kB / 494.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1516, allocations: 0 / 494.3 MB, free: 7.094 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.001093/0.1527, allocations: 0.6107 MB / 494.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1527, allocations: 8.031 kB / 494.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1529, allocations: 47.39 kB / 495 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.1534, allocations: 301.3 kB / 495.3 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1535, allocations: 8 kB / 495.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.1535, allocations: 15.91 kB / 495.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1539, allocations: 129.5 kB / 495.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.154, allocations: 7.938 kB / 495.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.154, allocations: 4 kB / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.154, allocations: 4 kB / 495.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.1544, allocations: 91.89 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1554, allocations: 0.5198 MB / 496.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1558, allocations: 106.5 kB / 496.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.1558, allocations: 7.984 kB / 496.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.1559, allocations: 30.78 kB / 496.2 MB, free: 5.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/0.1559, allocations: 7.938 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001609/0.1575, allocations: 451.8 kB / 496.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1576, allocations: 59.41 kB / 496.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009562/0.1585, allocations: 0.5525 MB / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1586, allocations: 33.7 kB / 497.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.1588, allocations: 234.8 kB / 497.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.1589, allocations: 55.11 kB / 497.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.1589, allocations: 4 kB / 497.6 MB, free: 3.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1591, allocations: 318.8 kB / 497.9 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1593, allocations: 71.97 kB / 498 MB, free: 3.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1596, allocations: 65.98 kB / 498 MB, free: 3.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.1598, allocations: 79.91 kB / 498.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1599, allocations: 0 / 498.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006188/0.1605, allocations: 216.8 kB / 498.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1605, allocations: 4 kB / 498.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1606, allocations: 4 kB / 498.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1606, allocations: 0 / 498.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1609, allocations: 35.97 kB / 498.4 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1609, allocations: 4 kB / 498.4 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.1611, allocations: 15.95 kB / 498.4 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1611, allocations: 8 kB / 498.4 MB, free: 2.809 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.0002727/0.1614, allocations: 185.7 kB / 498.6 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.1615, allocations: 39.53 kB / 498.6 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008849/0.1624, allocations: 285.4 kB / 498.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.1624, allocations: 4 kB / 498.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1624, allocations: 0 / 498.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1625, allocations: 0 / 498.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.1639, allocations: 0.6894 MB / 499.6 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1639, allocations: 3.938 kB / 499.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1641, allocations: 35.98 kB / 499.6 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1642, allocations: 0 / 499.6 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.1642, allocations: 7.953 kB / 499.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1642, allocations: 0 / 499.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.1642, allocations: 0 / 499.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.1649, allocations: 345.9 kB / 500 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.1651, allocations: 128.6 kB / 0.4884 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.1652, allocations: 0 / 0.4884 GB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.1653, allocations: 15.95 kB / 0.4884 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.1654, allocations: 19.98 kB / 0.4884 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1655, allocations: 4 kB / 0.4884 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006832/0.1662, allocations: 415.1 kB / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.274e-06/0.1662, allocations: 0 / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004649/0.1666, allocations: 51.94 kB / 0.4889 GB, free: 0.5078 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.3059/0.4725, allocations: 0.6838 MB / 0.4895 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006817/0.4733, allocations: 168.3 kB / 0.4897 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4733, allocations: 2.125 kB / 0.4897 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.4736, allocations: 95.38 kB / 0.4898 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.4743, allocations: 62.2 kB / 0.4898 GB, free: 43.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.4759, allocations: 0.7939 MB / 0.4906 GB, free: 43.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.4763, allocations: 0.8298 MB / 0.4914 GB, free: 42.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.4765, allocations: 37.78 kB / 0.4915 GB, free: 42.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.4765, allocations: 2.25 kB / 0.4915 GB, free: 42.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01207/0.4886, allocations: 4.706 MB / 0.4961 GB, free: 42.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches