Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009575/0.0009574, allocations: 98.92 kB / 17.35 MB, free: 6.367 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.001095/0.001095, allocations: 172.3 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 242.3 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.25 MB / 337.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.000341, allocations: 8.812 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 61.92 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002468/0.1397, allocations: 1.656 MB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1412, allocations: 0.8224 MB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.1413, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.1418, allocations: 243.4 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1421, allocations: 179.5 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.1431, allocations: 457.5 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.1435, allocations: 271.3 kB / 475.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1437, allocations: 56.58 kB / 475.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1438, allocations: 111.5 kB / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.144, allocations: 183.4 kB / 476.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1441, allocations: 4 kB / 476.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1442, allocations: 83.95 kB / 476.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.1444, allocations: 83.67 kB / 476.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1445, allocations: 120.8 kB / 476.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.1448, allocations: 291.1 kB / 476.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1448, allocations: 0 / 476.8 MB, free: 8.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1448, allocations: 4 kB / 476.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1448, allocations: 0 / 476.8 MB, free: 8.836 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006826/0.1455, allocations: 0.576 MB / 477.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1456, allocations: 8.031 kB / 477.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.1457, allocations: 44.45 kB / 477.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.146, allocations: 294.3 kB / 477.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.146, allocations: 12.38 kB / 477.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.146, allocations: 12.31 kB / 477.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1463, allocations: 113.8 kB / 477.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1463, allocations: 7.844 kB / 477.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.1464, allocations: 8 kB / 477.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1464, allocations: 0 / 477.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1465, allocations: 75.89 kB / 477.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.1472, allocations: 484.3 kB / 478.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1474, allocations: 94.42 kB / 478.5 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.1475, allocations: 36.84 kB / 478.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1475, allocations: 7.969 kB / 478.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1476, allocations: 42.56 kB / 478.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1476, allocations: 0 / 478.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009812/0.1486, allocations: 392.1 kB / 478.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1486, allocations: 51.41 kB / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.1492, allocations: 0.521 MB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1492, allocations: 29.7 kB / 479.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1494, allocations: 192.3 kB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.1494, allocations: 51.25 kB / 479.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1495, allocations: 21.66 kB / 479.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1496, allocations: 354.8 kB / 480.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1498, allocations: 55.97 kB / 480.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1499, allocations: 51.97 kB / 480.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1501, allocations: 134.5 kB / 480.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1501, allocations: 3.938 kB / 480.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003346/0.1505, allocations: 199.4 kB / 480.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1505, allocations: 7.938 kB / 480.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1505, allocations: 0 / 480.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1505, allocations: 4 kB / 480.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1507, allocations: 39.92 kB / 480.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1507, allocations: 0 / 480.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.1508, allocations: 15.92 kB / 480.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1508, allocations: 4 kB / 480.7 MB, free: 4.723 MB / 350.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 (17): * Single equations (assignments): 17 * 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.0001701/0.151, allocations: 177.8 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.151, allocations: 35.53 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.1515, allocations: 245.3 kB / 481.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1515, allocations: 4 kB / 481.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1515, allocations: 0 / 481.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1515, allocations: 3.984 kB / 481.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.1524, allocations: 0.6172 MB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1524, allocations: 0 / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.1525, allocations: 39.91 kB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1525, allocations: 7.938 kB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1526, allocations: 8 kB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1526, allocations: 0 / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1526, allocations: 3.938 kB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.153, allocations: 298.9 kB / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.1531, allocations: 120.7 kB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1531, allocations: 0 / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1532, allocations: 8 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.1533, allocations: 15.92 kB / 482.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1533, allocations: 4 kB / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003926/0.1537, allocations: 391.1 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1537, allocations: 4 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.154, allocations: 47.91 kB / 482.7 MB, free: 2.613 MB / 350.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 (17): * Single equations (assignments): 17 * 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.00167/0.1557, allocations: 0.6982 MB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1561, allocations: 131.9 kB / 483.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1561, allocations: 7.938 kB / 483.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1562, allocations: 78.41 kB / 483.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.1568, allocations: 69.5 kB / 483.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1579, allocations: 0.7596 MB / 484.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1584, allocations: 0.8025 MB / 485.2 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.1585, allocations: 45.89 kB / 485.2 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1587, allocations: 31.38 kB / 485.3 MB, free: 268 kB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1587, allocations: 0 / 485.3 MB, free: 268 kB / 350.1 MB Notification: Performance of Templates: time 0.006814/0.1655, allocations: 3.003 MB / 488.3 MB, free: 13.28 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches