Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009997/0.0009997, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001039/0.001039, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.38/1.38, allocations: 222.9 MB / 241.9 MB, free: 13.7 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.2262/0.2262, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 64.58 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1209, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003889/0.1248, allocations: 2.022 MB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1267, allocations: 0.9435 MB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1269, allocations: 0 / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000541/0.1274, allocations: 255.4 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.128, allocations: 179.5 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.1296, allocations: 0.6097 MB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.1302, allocations: 307.2 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.1304, allocations: 88.53 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.1307, allocations: 135.5 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.131, allocations: 203.3 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.1311, allocations: 15.88 kB / 473.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.1313, allocations: 95.95 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1314, allocations: 95.67 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1316, allocations: 115 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.132, allocations: 315 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.132, allocations: 0 / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.132, allocations: 0 / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.132, allocations: 0 / 474.1 MB, free: 9.367 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.0007677/0.1328, allocations: 0.6301 MB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1328, allocations: 15.97 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.1329, allocations: 36.47 kB / 474.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1333, allocations: 306.3 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1333, allocations: 8.375 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.1333, allocations: 12.38 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.1336, allocations: 129.7 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1337, allocations: 0 / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1337, allocations: 4 kB / 475.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1337, allocations: 4 kB / 475.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.1339, allocations: 95.86 kB / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007167/0.1346, allocations: 0.4963 MB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1348, allocations: 110.5 kB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.1349, allocations: 36.84 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.135, allocations: 4 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.135, allocations: 38.78 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.135, allocations: 3.938 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00104/0.136, allocations: 434.7 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1361, allocations: 51.41 kB / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/0.1366, allocations: 0.5249 MB / 477 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1367, allocations: 29.7 kB / 477 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1368, allocations: 196.3 kB / 477.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.1369, allocations: 67.09 kB / 477.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.137, allocations: 29.72 kB / 477.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1371, allocations: 346.8 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1373, allocations: 67.95 kB / 477.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1374, allocations: 67.95 kB / 477.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1377, allocations: 160.7 kB / 477.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1377, allocations: 7.938 kB / 477.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003744/0.1381, allocations: 223.4 kB / 478.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1381, allocations: 7.938 kB / 478.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1381, allocations: 0 / 478.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1381, allocations: 8 kB / 478.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1383, allocations: 39.91 kB / 478.2 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1383, allocations: 4 kB / 478.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.1384, allocations: 7.984 kB / 478.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1384, allocations: 8 kB / 478.2 MB, free: 4.98 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.0001689/0.1386, allocations: 181.7 kB / 478.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.1386, allocations: 35.53 kB / 478.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.1392, allocations: 277.3 kB / 478.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1392, allocations: 0 / 478.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.1392, allocations: 4 kB / 478.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1392, allocations: 4 kB / 478.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.14, allocations: 0.6597 MB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.14, allocations: 0 / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1402, allocations: 31.98 kB / 479.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1402, allocations: 8 kB / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1402, allocations: 0 / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1402, allocations: 0 / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1402, allocations: 3.938 kB / 479.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.1406, allocations: 337 kB / 479.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.1407, allocations: 100.7 kB / 479.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.1407, allocations: 8 kB / 479.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1409, allocations: 8 kB / 479.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.1409, allocations: 11.92 kB / 479.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1409, allocations: 15.98 kB / 479.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.1413, allocations: 391.1 kB / 480.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1413, allocations: 0 / 480.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.1417, allocations: 55.92 kB / 480.3 MB, free: 2.773 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.001678/0.1434, allocations: 0.6985 MB / 481 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.1437, allocations: 167.8 kB / 481.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1438, allocations: 0 / 481.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1439, allocations: 98.69 kB / 481.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006243/0.1446, allocations: 77 kB / 481.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1456, allocations: 0.7954 MB / 482.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.146, allocations: 0.8143 MB / 483 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.1462, allocations: 57.91 kB / 483 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.1462, allocations: 27.44 kB / 483 MB, free: 324 kB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1462, allocations: 0 / 483 MB, free: 324 kB / 350.1 MB Notification: Performance of Templates: time 0.007131/0.1534, allocations: 3.223 MB / 486.3 MB, free: 13.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches