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.001078/0.001078, 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.001112/0.001113, 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.387/1.387, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2211/0.2211, allocations: 44.19 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 64.62 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.125, allocations: 60.84 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00514/0.1302, allocations: 2.018 MB / 471.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1324, allocations: 0.9512 MB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1326, allocations: 4 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006818/0.1333, allocations: 243.4 kB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.1339, allocations: 179.5 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1355, allocations: 0.6153 MB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.136, allocations: 291.2 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.1362, allocations: 84.05 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.1366, allocations: 119.5 kB / 473.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.137, allocations: 195.3 kB / 473.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.137, allocations: 11.94 kB / 473.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.1373, allocations: 91.91 kB / 474 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1374, allocations: 95.66 kB / 474.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1377, allocations: 111.1 kB / 474.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1381, allocations: 231.6 kB / 474.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1382, allocations: 4 kB / 474.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1382, allocations: 0 / 474.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1382, allocations: 0 / 474.4 MB, free: 9.594 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.000903/0.1391, allocations: 0.6302 MB / 475 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1391, allocations: 8.031 kB / 475 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1393, allocations: 44.47 kB / 475.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.1397, allocations: 310.2 kB / 475.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1397, allocations: 8.375 kB / 475.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.1397, allocations: 12.38 kB / 475.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.1401, allocations: 125.8 kB / 475.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1401, allocations: 0 / 475.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.1401, allocations: 7.984 kB / 475.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1402, allocations: 4 kB / 475.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1404, allocations: 91.81 kB / 475.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.1413, allocations: 0.5041 MB / 476.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.1415, allocations: 106.5 kB / 476.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.1416, allocations: 40.84 kB / 476.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.1416, allocations: 15.92 kB / 476.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1417, allocations: 30.56 kB / 476.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.1417, allocations: 0 / 476.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001129/0.1428, allocations: 420.1 kB / 476.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1429, allocations: 59.39 kB / 476.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006965/0.1436, allocations: 0.5327 MB / 477.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1436, allocations: 29.7 kB / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1438, allocations: 200.3 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.1439, allocations: 51.11 kB / 477.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.1439, allocations: 41.7 kB / 477.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1441, allocations: 346.8 kB / 478 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1444, allocations: 59.97 kB / 478 MB, free: 5.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1445, allocations: 71.95 kB / 478.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.1448, allocations: 159.1 kB / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1448, allocations: 3.938 kB / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000389/0.1452, allocations: 225.1 kB / 478.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1452, allocations: 10.28 kB / 478.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1452, allocations: 0 / 478.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.1453, allocations: 7.984 kB / 478.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1454, allocations: 35.98 kB / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1454, allocations: 4 kB / 478.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.1455, allocations: 4 kB / 478.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1455, allocations: 15.92 kB / 478.6 MB, free: 5.203 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.0001775/0.1457, allocations: 173.8 kB / 478.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.1458, allocations: 35.53 kB / 478.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.1463, allocations: 273.3 kB / 479 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1463, allocations: 0 / 479 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1463, allocations: 3.938 kB / 479 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1463, allocations: 0 / 479 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/0.1473, allocations: 0.666 MB / 479.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1473, allocations: 4 kB / 479.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1474, allocations: 27.98 kB / 479.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1474, allocations: 0 / 479.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1474, allocations: 11.98 kB / 479.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1474, allocations: 0 / 479.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.1475, allocations: 3.938 kB / 479.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.1481, allocations: 336.5 kB / 480.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.1481, allocations: 96.73 kB / 480.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.1482, allocations: 8 kB / 480.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.1483, allocations: 11.98 kB / 480.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.1484, allocations: 15.92 kB / 480.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1484, allocations: 4 kB / 480.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004063/0.1488, allocations: 399.1 kB / 480.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1488, allocations: 0 / 480.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1492, allocations: 48 kB / 480.6 MB, free: 3.008 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.001685/0.1509, allocations: 0.7041 MB / 481.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004332/0.1513, allocations: 163.8 kB / 481.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1513, allocations: 0 / 481.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1515, allocations: 94.55 kB / 481.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.152, allocations: 71.31 kB / 481.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1532, allocations: 0.7911 MB / 482.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1536, allocations: 0.8028 MB / 483.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.1537, allocations: 31.42 kB / 483.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1537, allocations: 0 / 483.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Templates: time 0.007927/0.1616, allocations: 4.534 MB / 487.8 MB, free: 12.09 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/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