Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001163/0.001163, allocations: 194 kB / 18.77 MB, free: 4.742 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.18 MB / 336.8 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.16 kB / 408.3 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 60.83 MB / 469.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003699/0.1339, allocations: 1.996 MB / 471.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1354, allocations: 0.8457 MB / 472 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1356, allocations: 7.875 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.1361, allocations: 243.5 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1365, allocations: 171.5 kB / 472.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1375, allocations: 461.5 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.1379, allocations: 263.3 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.1381, allocations: 72.48 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.1383, allocations: 119.5 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.1385, allocations: 187.3 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.1386, allocations: 8 kB / 473.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1387, allocations: 63.95 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1388, allocations: 91.67 kB / 473.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.139, allocations: 103.1 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.1392, allocations: 207.8 kB / 474 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1392, allocations: 0 / 474 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1392, allocations: 8 kB / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1392, allocations: 0 / 474 MB, free: 10.04 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.000697/0.1399, allocations: 0.607 MB / 474.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.14, allocations: 8.031 kB / 474.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.1401, allocations: 36.47 kB / 474.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1404, allocations: 306.2 kB / 474.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1404, allocations: 8.375 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1404, allocations: 12.38 kB / 475 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1407, allocations: 105.8 kB / 475.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1407, allocations: 7.938 kB / 475.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1407, allocations: 8 kB / 475.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1407, allocations: 0 / 475.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1409, allocations: 71.89 kB / 475.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.1415, allocations: 480.2 kB / 475.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1417, allocations: 98.48 kB / 475.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.1418, allocations: 32.84 kB / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1418, allocations: 3.984 kB / 475.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1419, allocations: 34.56 kB / 475.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.1419, allocations: 0 / 475.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009706/0.1428, allocations: 384.1 kB / 476.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.1429, allocations: 51.41 kB / 476.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.1434, allocations: 0.5249 MB / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1435, allocations: 29.7 kB / 476.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1436, allocations: 192.4 kB / 476.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.1437, allocations: 55.11 kB / 477 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.1437, allocations: 37.7 kB / 477 MB, free: 6.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1439, allocations: 346.8 kB / 477.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.144, allocations: 43.97 kB / 477.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1441, allocations: 54.47 kB / 477.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.1443, allocations: 128.7 kB / 477.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1444, allocations: 7.938 kB / 477.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003448/0.1447, allocations: 191.4 kB / 477.8 MB, free: 6.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1447, allocations: 4 kB / 477.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1447, allocations: 0 / 477.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1448, allocations: 4 kB / 477.8 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1449, allocations: 39.91 kB / 477.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1449, allocations: 0 / 477.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.145, allocations: 7.938 kB / 477.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.145, allocations: 8 kB / 477.9 MB, free: 5.945 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.0001669/0.1452, allocations: 177.8 kB / 478 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.1453, allocations: 39.52 kB / 478.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.1457, allocations: 233.2 kB / 478.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1457, allocations: 4 kB / 478.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1458, allocations: 0 / 478.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1458, allocations: 0 / 478.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/0.1465, allocations: 0.6129 MB / 478.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1466, allocations: 0 / 478.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1467, allocations: 31.98 kB / 478.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1467, allocations: 3.938 kB / 478.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1467, allocations: 4 kB / 478.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1467, allocations: 0 / 478.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1467, allocations: 7.938 kB / 479 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.1471, allocations: 295 kB / 479.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.1472, allocations: 108.6 kB / 479.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.1473, allocations: 4 kB / 479.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.1474, allocations: 4 kB / 479.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.1475, allocations: 15.92 kB / 479.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1475, allocations: 12 kB / 479.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000501/0.148, allocations: 391.1 kB / 479.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 479.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.1484, allocations: 48 kB / 479.8 MB, free: 3.875 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.001985/0.1504, allocations: 0.6938 MB / 480.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.1507, allocations: 131.9 kB / 480.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1508, allocations: 0 / 480.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.151, allocations: 82.16 kB / 480.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006632/0.1516, allocations: 67.33 kB / 480.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1528, allocations: 0.7423 MB / 481.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1532, allocations: 0.7986 MB / 482.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.1533, allocations: 35.42 kB / 482.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1533, allocations: 3.938 kB / 482.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Templates: time 0.007975/0.1613, allocations: 4.252 MB / 486.6 MB, free: 13.35 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches