Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001553, allocations: 189.2 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.095/2.095, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001147/0.001147, allocations: 94.86 kB / 270.9 MB, free: 13.37 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.3141/0.3141, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004994, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003242/0.1315, allocations: 1.302 MB / 491.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1328, allocations: 299.8 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.1329, allocations: 0 / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.134, allocations: 439.2 kB / 492.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.1346, allocations: 239.5 kB / 492.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008021/0.1354, allocations: 135.8 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.1358, allocations: 119.7 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1359, allocations: 12.19 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1361, allocations: 103.8 kB / 492.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.1365, allocations: 147.7 kB / 493 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.1366, allocations: 0 / 493 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1367, allocations: 19.94 kB / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1369, allocations: 83.69 kB / 493.1 MB, free: 6.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.497e-05/0.137, allocations: 65.52 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1375, allocations: 192 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1375, allocations: 0 / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1375, allocations: 0 / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1375, allocations: 0 / 493.3 MB, free: 6.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001204/0.1388, allocations: 0.5948 MB / 493.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.1388, allocations: 15.95 kB / 493.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.139, allocations: 43.44 kB / 494 MB, free: 5.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.1395, allocations: 275.4 kB / 494.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1395, allocations: 4 kB / 494.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1396, allocations: 8 kB / 494.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.1399, allocations: 53.67 kB / 494.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1399, allocations: 4 kB / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1399, allocations: 4 kB / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1399, allocations: 0 / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.1402, allocations: 39.89 kB / 494.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009802/0.1412, allocations: 404.7 kB / 494.8 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.1416, allocations: 42.56 kB / 494.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1416, allocations: 3.938 kB / 494.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1417, allocations: 34.56 kB / 494.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.876e-06/0.1417, allocations: 0 / 494.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001339/0.1431, allocations: 263.9 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1431, allocations: 51.41 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.1451, allocations: 0.8652 MB / 496 MB, free: 3.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1451, allocations: 25.7 kB / 496 MB, free: 3.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.1455, allocations: 250.5 kB / 496.3 MB, free: 3.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.1455, allocations: 15.75 kB / 496.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1456, allocations: 0 / 496.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1457, allocations: 318.8 kB / 496.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.146, allocations: 27.98 kB / 496.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1462, allocations: 27.97 kB / 496.7 MB, free: 2.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1464, allocations: 23.98 kB / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1464, allocations: 0 / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004866/0.1469, allocations: 89.67 kB / 496.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.147, allocations: 4 kB / 496.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.147, allocations: 3.938 kB / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.147, allocations: 7.953 kB / 496.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1472, allocations: 11.98 kB / 496.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1472, allocations: 4 kB / 496.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1474, allocations: 11.98 kB / 496.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1474, allocations: 3.938 kB / 496.8 MB, free: 2.488 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 (5): * Single equations (assignments): 5 * 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.0004119/0.1479, allocations: 209.8 kB / 497 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.148, allocations: 43.44 kB / 497.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008328/0.1488, allocations: 149.1 kB / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.1489, allocations: 4 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.1489, allocations: 7.891 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.149, allocations: 3.984 kB / 497.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1504, allocations: 470.9 kB / 497.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.1504, allocations: 4 kB / 497.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.1506, allocations: 15.98 kB / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1506, allocations: 0 / 497.7 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1507, allocations: 7.953 kB / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1507, allocations: 0 / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1507, allocations: 0 / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.1514, allocations: 230.9 kB / 497.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.1516, allocations: 116.5 kB / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.1517, allocations: 4 kB / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.152, allocations: 7.953 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.152, allocations: 3.984 kB / 498.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1521, allocations: 4 kB / 498.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00169/0.1538, allocations: 0.6589 MB / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.1538, allocations: 0 / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006031/0.1544, allocations: 24 kB / 498.8 MB, free: 456 kB / 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 (5): * Single equations (assignments): 5 * 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.001877/0.1563, allocations: 401.1 kB / 499.2 MB, free: 96 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.157, allocations: 63.91 kB / 499.2 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.157, allocations: 0 / 499.2 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.1573, allocations: 36.02 kB / 499.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.1579, allocations: 18.31 kB / 499.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.1607, allocations: 0.8704 MB / 0.4884 GB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.1615, allocations: 0.8379 MB / 0.4892 GB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.1616, allocations: 11.44 kB / 0.4892 GB, free: 14.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1616, allocations: 0 / 0.4892 GB, free: 14.2 MB / 346.7 MB Notification: Performance of Templates: time 0.011/0.1726, allocations: 3.723 MB / 0.4929 GB, free: 10.48 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches