Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00237/0.00237, allocations: 188.9 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.158/2.158, 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.001144/0.001144, allocations: 94.84 kB / 270.9 MB, free: 13.38 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.3078/0.3078, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1251, allocations: 58.87 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002594/0.1278, allocations: 1.302 MB / 491.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.1288, allocations: 303.7 kB / 491.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.1289, allocations: 0 / 491.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1292, allocations: 47.88 kB / 491.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1294, allocations: 47.81 kB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.1301, allocations: 139.8 kB / 492.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1303, allocations: 43.94 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1304, allocations: 15.98 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.602e-05/0.1305, allocations: 31.84 kB / 492.1 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1306, allocations: 27.91 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1306, allocations: 3.938 kB / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1307, allocations: 31.92 kB / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.498e-05/0.1308, allocations: 19.97 kB / 492.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.1309, allocations: 33.64 kB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1311, allocations: 72.17 kB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1311, allocations: 0 / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1311, allocations: 0 / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1311, allocations: 0 / 492.3 MB, free: 7.207 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.0006795/0.1318, allocations: 402.9 kB / 492.7 MB, free: 6.766 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1319, allocations: 16.02 kB / 492.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.1319, allocations: 7.906 kB / 492.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1322, allocations: 198.8 kB / 492.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.1322, allocations: 0 / 492.9 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.1323, allocations: 7.984 kB / 492.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1326, allocations: 61.67 kB / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1326, allocations: 0 / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1326, allocations: 0 / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1326, allocations: 4 kB / 493 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.1329, allocations: 47.97 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.1336, allocations: 328.6 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1338, allocations: 46.56 kB / 493.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1338, allocations: 4 kB / 493.4 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.1339, allocations: 30.56 kB / 493.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.1339, allocations: 4 kB / 493.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001389/0.1353, allocations: 265.2 kB / 493.7 MB, free: 5.645 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.1354, allocations: 55.41 kB / 493.8 MB, free: 5.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.1357, allocations: 194.2 kB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1357, allocations: 29.64 kB / 494 MB, free: 5.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1358, allocations: 170.5 kB / 494.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.1359, allocations: 23.56 kB / 494.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.1359, allocations: 7.938 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1361, allocations: 310.8 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.1364, allocations: 51.95 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.1366, allocations: 43.97 kB / 494.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.1369, allocations: 51.97 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1369, allocations: 0 / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005496/0.1374, allocations: 125.6 kB / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1375, allocations: 11.98 kB / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1375, allocations: 0 / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1375, allocations: 3.953 kB / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1378, allocations: 27.92 kB / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1378, allocations: 3.938 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1379, allocations: 11.98 kB / 494.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.138, allocations: 8 kB / 494.8 MB, free: 4.492 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.0001382/0.1381, allocations: 121.8 kB / 494.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.1382, allocations: 15.89 kB / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.1388, allocations: 154.6 kB / 495.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1388, allocations: 3.984 kB / 495.1 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.1388, allocations: 7.938 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1389, allocations: 0 / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.1398, allocations: 438.3 kB / 495.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1398, allocations: 4 kB / 495.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.14, allocations: 19.98 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.14, allocations: 4 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1401, allocations: 7.953 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1401, allocations: 480 / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.1401, allocations: 3.984 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.1407, allocations: 239.3 kB / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.1408, allocations: 85 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.1409, allocations: 8 kB / 495.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.141, allocations: 15.94 kB / 495.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.1411, allocations: 7.984 kB / 495.9 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1411, allocations: 4 kB / 495.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001956/0.1413, allocations: 151.2 kB / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1414, allocations: 0 / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000341/0.1417, allocations: 16 kB / 496.1 MB, free: 3.102 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.001196/0.1429, allocations: 409.1 kB / 496.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.1435, allocations: 107.9 kB / 496.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1435, allocations: 4 kB / 496.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.1438, allocations: 59.95 kB / 496.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1441, allocations: 8 kB / 496.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.1449, allocations: 282.9 kB / 497 MB, free: 2.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.1453, allocations: 0.716 MB / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/0.1454, allocations: 19.42 kB / 497.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1454, allocations: 0 / 497.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of Templates: time 0.005421/0.1509, allocations: 1.74 MB / 499.4 MB, free: 15.76 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches