Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.00161, allocations: 187.6 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.117/2.117, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001138/0.001138, allocations: 82.94 kB / 270.9 MB, free: 13.29 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.4451/0.4451, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004982, allocations: 8 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002532/0.1261, allocations: 1.306 MB / 491.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008825/0.1271, allocations: 283.8 kB / 491.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.1272, allocations: 8 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1275, allocations: 51.84 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1277, allocations: 43.83 kB / 491.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.1283, allocations: 144.4 kB / 492 MB, free: 7.492 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1285, allocations: 43.95 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1286, allocations: 15.97 kB / 492.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.09e-05/0.1287, allocations: 23.86 kB / 492.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.911e-05/0.1288, allocations: 27.92 kB / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1288, allocations: 4 kB / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-05/0.1289, allocations: 27.84 kB / 492.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.129, allocations: 19.92 kB / 492.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1291, allocations: 37.64 kB / 492.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1292, allocations: 68.17 kB / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1293, allocations: 0 / 492.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.1293, allocations: 4 kB / 492.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.79e-06/0.1293, allocations: 0 / 492.3 MB, free: 7.219 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.0007029/0.13, allocations: 402.9 kB / 492.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1301, allocations: 15.95 kB / 492.7 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1301, allocations: 7.906 kB / 492.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1304, allocations: 198.8 kB / 492.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1304, allocations: 4 kB / 492.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1304, allocations: 0 / 492.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1307, allocations: 61.67 kB / 493 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1307, allocations: 0 / 493 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1307, allocations: 8 kB / 493 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1308, allocations: 4 kB / 493 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.131, allocations: 39.97 kB / 493 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.1316, allocations: 324.7 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1319, allocations: 50.56 kB / 493.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1319, allocations: 0 / 493.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.132, allocations: 30.56 kB / 493.4 MB, free: 5.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.132, allocations: 4 kB / 493.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001319/0.1333, allocations: 269.2 kB / 493.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.1334, allocations: 55.41 kB / 493.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1337, allocations: 190.2 kB / 493.9 MB, free: 5.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1337, allocations: 29.7 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.1338, allocations: 162.5 kB / 494.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.1338, allocations: 27.64 kB / 494.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.1339, allocations: 0 / 494.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.134, allocations: 310.8 kB / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.1342, allocations: 51.97 kB / 494.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.1345, allocations: 47.95 kB / 494.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1347, allocations: 47.97 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1347, allocations: 0 / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005575/0.1353, allocations: 141.8 kB / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1353, allocations: 4 kB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1354, allocations: 0 / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.1354, allocations: 7.938 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1356, allocations: 23.98 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.1356, allocations: 3.938 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1358, allocations: 23.83 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1358, allocations: 8 kB / 494.8 MB, free: 4.504 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 (7): * Single equations (assignments): 7 * 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.0001385/0.136, allocations: 129.8 kB / 494.9 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.136, allocations: 7.906 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.1367, allocations: 154.6 kB / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1367, allocations: 0 / 495.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.1367, allocations: 7.938 kB / 495.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1367, allocations: 3.984 kB / 495.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1377, allocations: 426.4 kB / 495.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1378, allocations: 0 / 495.5 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.138, allocations: 23.98 kB / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.138, allocations: 4 kB / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.138, allocations: 3.953 kB / 495.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.138, allocations: 4 kB / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.138, allocations: 0 / 495.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.1387, allocations: 235.3 kB / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1389, allocations: 96.91 kB / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.1389, allocations: 0 / 495.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.1392, allocations: 19.94 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.1393, allocations: 8 kB / 495.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1394, allocations: 4 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002781/0.1396, allocations: 143.2 kB / 496.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1397, allocations: 0 / 496.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005992/0.1403, allocations: 19.98 kB / 496.1 MB, free: 3.129 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 (7): * Single equations (assignments): 7 * 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.001924/0.1422, allocations: 401.7 kB / 496.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007018/0.143, allocations: 115.8 kB / 496.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.143, allocations: 0 / 496.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.1433, allocations: 55.97 kB / 496.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1436, allocations: 15.92 kB / 496.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.1444, allocations: 278.9 kB / 496.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1448, allocations: 0.7121 MB / 497.6 MB, free: 1.559 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.1449, allocations: 19.38 kB / 497.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1449, allocations: 0 / 497.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of Templates: time 0.005584/0.1505, allocations: 1.731 MB / 499.4 MB, free: 15.81 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches