Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test6,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_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,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_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 107.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2258/0.2258, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 67.72 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1355, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003359/0.1389, allocations: 1.604 MB / 442.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005429/0.1394, allocations: 343.4 kB / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.1395, allocations: 0 / 442.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.14, allocations: 451.2 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1403, allocations: 251.5 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1406, allocations: 111.1 kB / 443.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1408, allocations: 159.6 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.141, allocations: 20.39 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1411, allocations: 111.8 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1413, allocations: 215.6 kB / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1413, allocations: 0 / 443.7 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.1414, allocations: 35.98 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.1415, allocations: 79.69 kB / 443.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.1416, allocations: 110.9 kB / 444 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1418, allocations: 247 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1418, allocations: 0 / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1418, allocations: 0 / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1418, allocations: 0 / 444.2 MB, free: 3.199 MB / 318.1 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.0006307/0.1425, allocations: 0.6414 MB / 444.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1425, allocations: 11.89 kB / 444.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.1426, allocations: 40.38 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.1428, allocations: 288.2 kB / 445.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1428, allocations: 4.375 kB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.1429, allocations: 4.375 kB / 445.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.143, allocations: 65.53 kB / 445.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1431, allocations: 0 / 445.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1431, allocations: 4 kB / 445.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1431, allocations: 4 kB / 445.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1432, allocations: 31.97 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.1437, allocations: 380.7 kB / 445.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1438, allocations: 54.48 kB / 445.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.1439, allocations: 24.94 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1439, allocations: 0 / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1439, allocations: 34.56 kB / 445.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1439, allocations: 3.938 kB / 445.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007804/0.1447, allocations: 283.9 kB / 446.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.1448, allocations: 55.39 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.1454, allocations: 0.8495 MB / 447 MB, free: 256 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1454, allocations: 29.7 kB / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1455, allocations: 208.1 kB / 447.2 MB, free: 8 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.1456, allocations: 35.78 kB / 447.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1456, allocations: 25.66 kB / 447.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1458, allocations: 358.8 kB / 447.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1459, allocations: 27.98 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.146, allocations: 35.97 kB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.1462, allocations: 76.73 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1462, allocations: 0 / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002732/0.1465, allocations: 137.2 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1465, allocations: 7.984 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1466, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1466, allocations: 4 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1467, allocations: 15.98 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1467, allocations: 4 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.1468, allocations: 15.92 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1468, allocations: 4 kB / 447.9 MB, free: 15.25 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.147, allocations: 217.7 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.1471, allocations: 43.44 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.1474, allocations: 173.7 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1474, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.1474, allocations: 3.984 kB / 448.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1475, allocations: 3.938 kB / 448.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.1482, allocations: 490.8 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1482, allocations: 0 / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.1483, allocations: 19.98 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1483, allocations: 4 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1483, allocations: 3.938 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1483, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1483, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.1486, allocations: 250.9 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.1487, allocations: 108.6 kB / 449.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.1487, allocations: 11.94 kB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-05/0.1488, allocations: 7.984 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1489, allocations: 4 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1489, allocations: 0 / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005829/0.1495, allocations: 0.6472 MB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.1495, allocations: 0 / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1498, allocations: 35.86 kB / 449.9 MB, free: 13.14 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009574/0.1507, allocations: 395.8 kB / 450.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.1511, allocations: 79.86 kB / 450.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1511, allocations: 0 / 450.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1512, allocations: 43.97 kB / 450.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.1517, allocations: 29.91 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1529, allocations: 0.7993 MB / 451.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.1535, allocations: 0.828 MB / 452.1 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1535, allocations: 8 kB / 452.1 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.1536, allocations: 11.44 kB / 452.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1536, allocations: 3.938 kB / 452.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Templates: time 0.0058/0.1594, allocations: 1.56 MB / 453.7 MB, free: 9.43 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches