Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001529, allocations: 183.3 kB / 16.4 MB, free: 5.754 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.368/2.368, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001166/0.001166, allocations: 88.42 kB / 270.9 MB, free: 8.359 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.5231/0.5231, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004656, allocations: 16 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 58.83 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.002435/0.1296, allocations: 1.321 MB / 491.5 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008442/0.1305, allocations: 271.9 kB / 491.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.1306, allocations: 0 / 491.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.1309, allocations: 51.84 kB / 491.8 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1311, allocations: 47.89 kB / 491.9 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.1316, allocations: 111.7 kB / 492 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1317, allocations: 35.94 kB / 492 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1318, allocations: 16.17 kB / 492 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.1319, allocations: 31.86 kB / 492.1 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.132, allocations: 27.89 kB / 492.1 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1321, allocations: 4 kB / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.416e-05/0.1322, allocations: 23.88 kB / 492.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.1322, allocations: 15.98 kB / 492.2 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1323, allocations: 37.64 kB / 492.2 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1325, allocations: 71.88 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1325, allocations: 0 / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1325, allocations: 0 / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1325, allocations: 0 / 492.3 MB, free: 8.926 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006013/0.1331, allocations: 395.2 kB / 492.6 MB, free: 8.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1332, allocations: 12.02 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.1332, allocations: 23.77 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1335, allocations: 194.7 kB / 492.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1335, allocations: 3.938 kB / 492.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.1335, allocations: 4 kB / 492.9 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.1338, allocations: 61.69 kB / 492.9 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1338, allocations: 0 / 492.9 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1338, allocations: 3.984 kB / 492.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1339, allocations: 0 / 492.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.1341, allocations: 47.86 kB / 493 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.1346, allocations: 296.8 kB / 493.3 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.1348, allocations: 42.56 kB / 493.3 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1349, allocations: 4 kB / 493.3 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1349, allocations: 38.56 kB / 493.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.1349, allocations: 0 / 493.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001263/0.1362, allocations: 245.1 kB / 493.6 MB, free: 7.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1363, allocations: 55.41 kB / 493.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.1366, allocations: 186.2 kB / 493.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1366, allocations: 25.7 kB / 493.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.955e-05/0.1367, allocations: 162.5 kB / 494 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1368, allocations: 27.64 kB / 494 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.1368, allocations: 3.938 kB / 494.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1369, allocations: 314.8 kB / 494.4 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.1372, allocations: 43.97 kB / 494.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.1374, allocations: 36.05 kB / 494.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.1376, allocations: 47.97 kB / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1376, allocations: 0 / 494.5 MB, free: 6.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005579/0.1382, allocations: 117.6 kB / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1382, allocations: 7.953 kB / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1382, allocations: 0 / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1383, allocations: 0 / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1385, allocations: 31.98 kB / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1385, allocations: 0 / 494.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1387, allocations: 23.92 kB / 494.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1387, allocations: 0 / 494.7 MB, free: 6.309 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 (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.0001275/0.1388, allocations: 121.8 kB / 494.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.1389, allocations: 7.906 kB / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005723/0.1394, allocations: 146.3 kB / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1395, allocations: 0 / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1395, allocations: 288 / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1395, allocations: 0 / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008477/0.1403, allocations: 422.3 kB / 495.3 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1404, allocations: 0 / 495.3 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.1406, allocations: 31.92 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1406, allocations: 7.938 kB / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1406, allocations: 3.938 kB / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1406, allocations: 480 / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1406, allocations: 0 / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.1412, allocations: 231.3 kB / 495.6 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1413, allocations: 89 kB / 495.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.1413, allocations: 7.953 kB / 495.7 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1415, allocations: 15.98 kB / 495.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1415, allocations: 8 kB / 495.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1415, allocations: 0 / 495.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1417, allocations: 147.9 kB / 495.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1417, allocations: 0 / 495.9 MB, free: 4.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.1421, allocations: 16 kB / 495.9 MB, free: 4.977 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 (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.001177/0.1433, allocations: 401 kB / 496.3 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005464/0.1439, allocations: 95.88 kB / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1439, allocations: 0 / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.1442, allocations: 51.97 kB / 496.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1445, allocations: 15.98 kB / 496.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.1452, allocations: 266.8 kB / 496.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1455, allocations: 0.7082 MB / 497.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.1456, allocations: 11.44 kB / 497.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of SimCode: time 3.677e-06/0.1456, allocations: 0 / 497.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of Templates: time 0.004943/0.1505, allocations: 1.637 MB / 499.1 MB, free: 1.789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches