Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 170.2 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 93.53 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2687/0.2687, allocations: 43.5 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.008e-05/1.037e-05, allocations: 8 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.288, allocations: 58.84 MB / 476.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6939/0.982, allocations: 352.2 MB / 0.8093 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.9824, allocations: 86.83 kB / 0.8094 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.6084/1.591, allocations: 130.3 MB / 0.9366 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.883e-05/1.591, allocations: 16.44 kB / 0.9366 GB, free: 98.66 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002547/1.593, allocations: 0.8955 MB / 0.9375 GB, free: 97.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.594, allocations: 8.031 kB / 0.9375 GB, free: 97.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/1.594, allocations: 91.14 kB / 0.9376 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/1.596, allocations: 0.5401 MB / 0.9381 GB, free: 97.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.596, allocations: 84.41 kB / 0.9382 GB, free: 96.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.596, allocations: 31.98 kB / 0.9382 GB, free: 96.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001452/1.597, allocations: 0.5411 MB / 0.9388 GB, free: 96.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.599, allocations: 0.7555 MB / 0.9395 GB, free: 95.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/1.599, allocations: 4 kB / 0.9395 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.599, allocations: 3.938 kB / 0.9395 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/1.599, allocations: 48.91 kB / 0.9396 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006409/1.606, allocations: 4.19 MB / 0.9436 GB, free: 91.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/1.606, allocations: 210 kB / 0.9438 GB, free: 90.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/1.607, allocations: 140.8 kB / 0.944 GB, free: 90.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002241/1.609, allocations: 1.44 MB / 0.9454 GB, free: 89.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.609, allocations: 34.31 kB / 0.9454 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 3.216e-06/1.609, allocations: 3.984 kB / 0.9454 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.003794/1.613, allocations: 0.8849 MB / 0.9463 GB, free: 88.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/1.613, allocations: 128.5 kB / 0.9464 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/1.614, allocations: 0.5184 MB / 0.9469 GB, free: 87.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/1.614, allocations: 25.7 kB / 0.9469 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/1.614, allocations: 412 kB / 0.9473 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.986e-05/1.614, allocations: 90.83 kB / 0.9474 GB, free: 86.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/1.614, allocations: 11.88 kB / 0.9474 GB, free: 86.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.387e-05/1.614, allocations: 342.7 kB / 0.9478 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/1.615, allocations: 157.5 kB / 0.9479 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/1.615, allocations: 0.5053 MB / 0.9484 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008685/1.616, allocations: 269 kB / 0.9487 GB, free: 85.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/1.616, allocations: 8 kB / 0.9487 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001999/1.618, allocations: 0.6567 MB / 0.9493 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.618, allocations: 8 kB / 0.9493 GB, free: 84.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/1.618, allocations: 12 kB / 0.9493 GB, free: 84.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/1.619, allocations: 80.81 kB / 0.9494 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.62, allocations: 180.1 kB / 0.9496 GB, free: 84.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008742/1.621, allocations: 0.6888 MB / 0.9502 GB, free: 83.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/1.622, allocations: 24.05 kB / 0.9503 GB, free: 83.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/1.622, allocations: 36.06 kB / 0.9503 GB, free: 83.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/1.622, allocations: 70.48 kB / 0.9504 GB, free: 83.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/1.622, allocations: 55.34 kB / 0.9504 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/1.623, allocations: 319.5 kB / 0.9507 GB, free: 83.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.623, allocations: 0 / 0.9507 GB, free: 83.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.623, allocations: 3.938 kB / 0.9507 GB, free: 83.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.623, allocations: 4 kB / 0.9507 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/1.626, allocations: 0.8878 MB / 0.9516 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.626, allocations: 4 kB / 0.9516 GB, free: 82.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/1.626, allocations: 51.84 kB / 0.9517 GB, free: 82.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/1.626, allocations: 28.84 kB / 0.9517 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/1.626, allocations: 0 / 0.9517 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004038/1.627, allocations: 0.5641 MB / 0.9522 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.627, allocations: 3.938 kB / 0.9522 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00113/1.628, allocations: 0.5528 MB / 0.9528 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/1.628, allocations: 176.3 kB / 0.9529 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/1.628, allocations: 4 kB / 0.953 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/1.629, allocations: 20.05 kB / 0.953 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/1.629, allocations: 15.97 kB / 0.953 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/1.629, allocations: 15.98 kB / 0.953 GB, free: 80.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006615/1.63, allocations: 383.2 kB / 0.9534 GB, free: 80.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001309/1.631, allocations: 215.8 kB / 0.9536 GB, free: 80.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008067/1.632, allocations: 321.9 kB / 0.9539 GB, free: 79.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.633, allocations: 390.6 kB / 0.9543 GB, free: 79.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.633, allocations: 0.5 kB / 0.9543 GB, free: 79.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/1.634, allocations: 113.2 kB / 0.9544 GB, free: 79.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.636, allocations: 219.5 kB / 0.9546 GB, free: 79.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/1.638, allocations: 0.8171 MB / 0.9554 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/1.638, allocations: 0.9941 MB / 0.9563 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/1.638, allocations: 3.938 kB / 0.9563 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.02337/1.662, allocations: 13.12 MB / 0.9692 GB, free: 64.21 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches