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.001393/0.001393, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001491/0.001491, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.35 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.2115/0.2115, allocations: 44.17 MB / 336.8 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.91 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1207, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003879/0.1246, allocations: 2.026 MB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1263, allocations: 0.8301 MB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.1265, allocations: 8 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.127, allocations: 243.4 kB / 472.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.1274, allocations: 175.5 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1286, allocations: 453.3 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000422/0.129, allocations: 271.2 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1292, allocations: 64.56 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1294, allocations: 119.5 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.1296, allocations: 195.3 kB / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.1297, allocations: 8 kB / 473.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000235/0.1299, allocations: 83.97 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1301, allocations: 91.61 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1302, allocations: 107.1 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.1307, allocations: 223.9 kB / 474 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1307, allocations: 4 kB / 474 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1307, allocations: 0 / 474 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1307, allocations: 0 / 474 MB, free: 9.957 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.001037/0.1318, allocations: 0.6186 MB / 474.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1318, allocations: 8.031 kB / 474.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.1319, allocations: 36.47 kB / 474.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.1324, allocations: 302.2 kB / 475 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1324, allocations: 12.36 kB / 475 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.1324, allocations: 12.38 kB / 475 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1327, allocations: 109.7 kB / 475.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.1328, allocations: 3.984 kB / 475.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1328, allocations: 8 kB / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1328, allocations: 0 / 475.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.133, allocations: 75.83 kB / 475.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.1337, allocations: 476.3 kB / 475.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.1339, allocations: 90.55 kB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.136e-05/0.1339, allocations: 36.84 kB / 475.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.134, allocations: 0 / 475.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.134, allocations: 34.5 kB / 475.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.314e-06/0.134, allocations: 11.98 kB / 475.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008803/0.1349, allocations: 384 kB / 476.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.135, allocations: 51.41 kB / 476.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.1355, allocations: 0.5171 MB / 476.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1355, allocations: 29.7 kB / 476.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.1358, allocations: 192.4 kB / 477 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.1358, allocations: 63.16 kB / 477.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.136, allocations: 29.72 kB / 477.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1361, allocations: 350.8 kB / 477.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1362, allocations: 43.97 kB / 477.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1363, allocations: 54.62 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.1366, allocations: 124.7 kB / 477.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1366, allocations: 11.88 kB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003705/0.137, allocations: 186.7 kB / 477.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.137, allocations: 4 kB / 477.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.137, allocations: 4 kB / 477.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.137, allocations: 4 kB / 477.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1372, allocations: 31.98 kB / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1372, allocations: 0 / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.1373, allocations: 11.92 kB / 477.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.1373, allocations: 12 kB / 477.9 MB, free: 5.848 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.0002701/0.1376, allocations: 181.6 kB / 478.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.1376, allocations: 35.53 kB / 478.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.1381, allocations: 224.2 kB / 478.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1381, allocations: 4 kB / 478.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1381, allocations: 0 / 478.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1381, allocations: 11.92 kB / 478.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/0.1388, allocations: 0.5996 MB / 479 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1388, allocations: 7.938 kB / 479 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.139, allocations: 35.97 kB / 479 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.139, allocations: 0 / 479 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.139, allocations: 8 kB / 479 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.139, allocations: 3.984 kB / 479 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.139, allocations: 3.938 kB / 479 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.1394, allocations: 295 kB / 479.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1394, allocations: 104.6 kB / 479.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.1395, allocations: 4 kB / 479.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.1396, allocations: 15.98 kB / 479.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.1396, allocations: 15.92 kB / 479.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1396, allocations: 8 kB / 479.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000365/0.14, allocations: 387.1 kB / 479.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.14, allocations: 0 / 479.8 MB, free: 3.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1403, allocations: 47.98 kB / 479.9 MB, free: 3.777 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.001668/0.142, allocations: 0.6925 MB / 480.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.1423, allocations: 131.9 kB / 480.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1423, allocations: 0 / 480.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1425, allocations: 86.45 kB / 480.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.143, allocations: 59.34 kB / 480.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1441, allocations: 0.7501 MB / 481.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1444, allocations: 0.7947 MB / 482.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.1445, allocations: 35.36 kB / 482.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1445, allocations: 0 / 482.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Templates: time 0.006676/0.1512, allocations: 4.258 MB / 486.7 MB, free: 13.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/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