Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002419/0.002418, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.135/2.135, allocations: 205.4 MB / 222.5 MB, free: 9.098 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.001236/0.001236, allocations: 97.22 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.6286/0.6286, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002768/0.1418, allocations: 1.305 MB / 491.5 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.1428, allocations: 295.8 kB / 491.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.1429, allocations: 0 / 491.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1432, allocations: 55.84 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.1435, allocations: 47.88 kB / 491.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.1441, allocations: 143.7 kB / 492 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1444, allocations: 43.94 kB / 492.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1445, allocations: 19.83 kB / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.062e-05/0.1446, allocations: 31.84 kB / 492.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1447, allocations: 31.91 kB / 492.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1447, allocations: 0 / 492.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1449, allocations: 27.86 kB / 492.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.145, allocations: 19.97 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.145, allocations: 37.64 kB / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1452, allocations: 68.17 kB / 492.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1452, allocations: 0 / 492.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1453, allocations: 4 kB / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1453, allocations: 0 / 492.3 MB, free: 9.094 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.0007154/0.146, allocations: 398.8 kB / 492.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.1461, allocations: 16.02 kB / 492.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.1461, allocations: 15.8 kB / 492.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1464, allocations: 194.9 kB / 492.9 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1465, allocations: 4 kB / 492.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1465, allocations: 4 kB / 492.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.1468, allocations: 61.67 kB / 493 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1468, allocations: 7.922 kB / 493 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1468, allocations: 0 / 493 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1469, allocations: 8 kB / 493 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.1471, allocations: 47.86 kB / 493.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.1478, allocations: 308.9 kB / 493.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1481, allocations: 54.55 kB / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1481, allocations: 0 / 493.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1482, allocations: 30.56 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1482, allocations: 4 kB / 493.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00141/0.1496, allocations: 273.4 kB / 493.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1497, allocations: 55.41 kB / 493.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.15, allocations: 194.2 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.15, allocations: 25.7 kB / 494 MB, free: 7.227 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.1501, allocations: 162.5 kB / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1502, allocations: 27.64 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.1502, allocations: 0 / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1504, allocations: 314.8 kB / 494.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.1507, allocations: 47.97 kB / 494.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.1509, allocations: 43.97 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1511, allocations: 47.97 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1512, allocations: 0 / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005611/0.1517, allocations: 137.6 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.1518, allocations: 11.95 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1518, allocations: 0 / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.1518, allocations: 4 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.1521, allocations: 23.92 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1521, allocations: 0 / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1522, allocations: 15.98 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1522, allocations: 4 kB / 494.8 MB, free: 6.387 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.0001569/0.1524, allocations: 129.8 kB / 494.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.1525, allocations: 15.75 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/0.1531, allocations: 162.6 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1531, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1532, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1532, allocations: 0 / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.1542, allocations: 430.4 kB / 495.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.1542, allocations: 8 kB / 495.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1544, allocations: 23.94 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1544, allocations: 0 / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1545, allocations: 8 kB / 495.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1545, allocations: 4 kB / 495.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1545, allocations: 0 / 495.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.1551, allocations: 243.3 kB / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.1552, allocations: 84.92 kB / 495.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.1553, allocations: 11.94 kB / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1554, allocations: 8 kB / 495.9 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.1555, allocations: 11.98 kB / 495.9 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1555, allocations: 4 kB / 495.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1557, allocations: 144.1 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1557, allocations: 0 / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.1561, allocations: 20 kB / 496.1 MB, free: 5.004 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.00119/0.1573, allocations: 400.6 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.1579, allocations: 115.8 kB / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.158, allocations: 0 / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.1582, allocations: 59.91 kB / 496.7 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.0003534/0.1586, allocations: 19.92 kB / 496.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.1593, allocations: 278.9 kB / 497 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1597, allocations: 0.7121 MB / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.1598, allocations: 19.42 kB / 497.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1598, allocations: 0 / 497.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of Templates: time 0.005578/0.1654, allocations: 1.728 MB / 499.4 MB, free: 1.672 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches