Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.00166, allocations: 186.7 kB / 16.4 MB, free: 5.625 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.133/2.133, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001624/0.001624, allocations: 94.86 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4064/0.4064, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006772/0.0006774, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1453, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002434/0.1478, allocations: 1.267 MB / 491.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.1488, allocations: 264 kB / 491.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.1488, allocations: 3.938 kB / 491.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.1496, allocations: 439.2 kB / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.1501, allocations: 231.6 kB / 492.4 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.1505, allocations: 99.75 kB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.1508, allocations: 111.8 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1509, allocations: 8 kB / 492.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1511, allocations: 103.8 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.1514, allocations: 135.8 kB / 492.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1515, allocations: 4 kB / 492.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.303e-05/0.1516, allocations: 15.94 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.1517, allocations: 75.75 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.1518, allocations: 65.52 kB / 493 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.1521, allocations: 175.7 kB / 493.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1521, allocations: 8 kB / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1521, allocations: 0 / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1522, allocations: 0 / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009669/0.1531, allocations: 0.5873 MB / 493.8 MB, free: 5.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1532, allocations: 8.031 kB / 493.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.1533, allocations: 43.48 kB / 493.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.1537, allocations: 271.3 kB / 494.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1537, allocations: 4 kB / 494.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1537, allocations: 0 / 494.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1539, allocations: 53.69 kB / 494.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1539, allocations: 0 / 494.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.154, allocations: 0 / 494.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.154, allocations: 0 / 494.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1541, allocations: 27.92 kB / 494.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.1548, allocations: 380.8 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1549, allocations: 34.56 kB / 494.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.155, allocations: 0 / 494.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.155, allocations: 38.56 kB / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.155, allocations: 0 / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003862/0.1554, allocations: 113.1 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1555, allocations: 51.41 kB / 494.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.1569, allocations: 0.8613 MB / 495.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1569, allocations: 25.7 kB / 495.7 MB, free: 3.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.1572, allocations: 238.6 kB / 495.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1572, allocations: 7.906 kB / 495.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.1572, allocations: 0 / 495.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1574, allocations: 315 kB / 496.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1575, allocations: 11.98 kB / 496.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.1576, allocations: 15.94 kB / 496.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.1577, allocations: 11.98 kB / 496.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1577, allocations: 7.875 kB / 496.3 MB, free: 3.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002086/0.1579, allocations: 53.75 kB / 496.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1579, allocations: 8 kB / 496.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1579, allocations: 0 / 496.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.158, allocations: 0 / 496.3 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.1581, allocations: 4 kB / 496.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1581, allocations: 7.938 kB / 496.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1582, allocations: 11.92 kB / 496.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1582, allocations: 0 / 496.3 MB, free: 2.973 MB / 330.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 (2): * Single equations (assignments): 2 * 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.0003011/0.1586, allocations: 217.8 kB / 496.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.1586, allocations: 43.44 kB / 496.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.159, allocations: 108.6 kB / 496.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.159, allocations: 0 / 496.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.159, allocations: 0 / 496.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.159, allocations: 7.953 kB / 496.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.1595, allocations: 281.6 kB / 497 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1595, allocations: 4 kB / 497 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.1596, allocations: 8 kB / 497 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1596, allocations: 0 / 497 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1596, allocations: 4 kB / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1596, allocations: 0 / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1596, allocations: 0 / 497 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.1599, allocations: 202.8 kB / 497.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1601, allocations: 104.6 kB / 497.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.1601, allocations: 4 kB / 497.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1602, allocations: 7.984 kB / 497.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1603, allocations: 4 kB / 497.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1603, allocations: 0 / 497.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.1613, allocations: 0.6511 MB / 498 MB, free: 1.246 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1614, allocations: 0 / 498 MB, free: 1.246 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.1617, allocations: 20.03 kB / 498 MB, free: 1.227 MB / 330.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 (2): * Single equations (assignments): 2 * 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.001055/0.1628, allocations: 357 kB / 498.3 MB, free: 0.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1631, allocations: 27.98 kB / 498.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1631, allocations: 0 / 498.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.1632, allocations: 12 kB / 498.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1636, allocations: 25.89 kB / 498.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.1653, allocations: 0.8313 MB / 499.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.1659, allocations: 0.8301 MB / 0.4883 GB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.1659, allocations: 11.44 kB / 0.4884 GB, free: 15.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1659, allocations: 0 / 0.4884 GB, free: 15.12 MB / 346.7 MB Notification: Performance of Templates: time 0.01037/0.1763, allocations: 3.411 MB / 0.4917 GB, free: 11.71 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches