Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009231/0.0009232, allocations: 185.3 kB / 7.803 MB, free: 2.121 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.04/1.04, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008118/0.000812, allocations: 85.64 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1526/0.1526, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.741e-06/5.771e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2273, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.6682, allocations: 352.1 MB / 0.8093 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.6684, allocations: 96.78 kB / 0.8094 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.3702/1.039, allocations: 130.3 MB / 0.9366 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.691e-05/1.039, allocations: 32.41 kB / 0.9367 GB, free: 95.35 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.001574/1.04, allocations: 0.8803 MB / 0.9375 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/1.04, allocations: 12.03 kB / 0.9375 GB, free: 94.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003908/1.041, allocations: 98.97 kB / 0.9376 GB, free: 94.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.042, allocations: 0.544 MB / 0.9382 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/1.042, allocations: 84.41 kB / 0.9382 GB, free: 93.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/1.042, allocations: 31.94 kB / 0.9383 GB, free: 93.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008532/1.043, allocations: 0.545 MB / 0.9388 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.044, allocations: 0.7516 MB / 0.9395 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/1.044, allocations: 4 kB / 0.9395 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/1.044, allocations: 0 / 0.9395 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/1.044, allocations: 44.92 kB / 0.9396 GB, free: 92.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/1.048, allocations: 4.199 MB / 0.9437 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/1.048, allocations: 201.8 kB / 0.9439 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/1.048, allocations: 145 kB / 0.944 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.049, allocations: 1.422 MB / 0.9454 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/1.049, allocations: 46.5 kB / 0.9454 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/1.049, allocations: 0 / 0.9454 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.001993/1.051, allocations: 0.8847 MB / 0.9463 GB, free: 84.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/1.051, allocations: 136.5 kB / 0.9464 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/1.052, allocations: 0.5108 MB / 0.9469 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.052, allocations: 29.69 kB / 0.947 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/1.052, allocations: 373.6 kB / 0.9473 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/1.052, allocations: 86.84 kB / 0.9474 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/1.052, allocations: 0 / 0.9474 GB, free: 83.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/1.052, allocations: 374.7 kB / 0.9478 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/1.052, allocations: 157.5 kB / 0.9479 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/1.053, allocations: 0.5044 MB / 0.9484 GB, free: 82.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/1.053, allocations: 273 kB / 0.9487 GB, free: 82.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.053, allocations: 4 kB / 0.9487 GB, free: 82.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001048/1.054, allocations: 0.695 MB / 0.9493 GB, free: 81.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.054, allocations: 4 kB / 0.9493 GB, free: 81.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.054, allocations: 12 kB / 0.9494 GB, free: 81.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/1.054, allocations: 81.48 kB / 0.9494 GB, free: 81.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/1.055, allocations: 175.7 kB / 0.9496 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004667/1.055, allocations: 0.6849 MB / 0.9503 GB, free: 80.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/1.056, allocations: 35.95 kB / 0.9503 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/1.056, allocations: 44.05 kB / 0.9503 GB, free: 80.38 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.0001035/1.056, allocations: 141.3 kB / 0.9505 GB, free: 80.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/1.056, allocations: 63.19 kB / 0.9505 GB, free: 80.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/1.057, allocations: 327.4 kB / 0.9509 GB, free: 79.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.057, allocations: 7.938 kB / 0.9509 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.057, allocations: 0 / 0.9509 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.057, allocations: 0 / 0.9509 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/1.058, allocations: 0.8733 MB / 0.9517 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.058, allocations: 0 / 0.9517 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/1.058, allocations: 47.92 kB / 0.9518 GB, free: 78.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.328e-05/1.058, allocations: 24.84 kB / 0.9518 GB, free: 78.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/1.058, allocations: 11.89 kB / 0.9518 GB, free: 78.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002334/1.058, allocations: 0.5681 MB / 0.9524 GB, free: 78.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.058, allocations: 0 / 0.9524 GB, free: 78.23 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005391/1.059, allocations: 0.5489 MB / 0.9529 GB, free: 77.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/1.059, allocations: 180.3 kB / 0.9531 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/1.059, allocations: 0 / 0.9531 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/1.06, allocations: 27.89 kB / 0.9531 GB, free: 77.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/1.06, allocations: 15.92 kB / 0.9531 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/1.06, allocations: 20.05 kB / 0.9531 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003149/1.06, allocations: 383.2 kB / 0.9535 GB, free: 77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006745/1.061, allocations: 207.9 kB / 0.9537 GB, free: 76.8 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.0004677/1.061, allocations: 323.1 kB / 0.954 GB, free: 76.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000566/1.062, allocations: 403.2 kB / 0.9544 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.062, allocations: 0 / 0.9544 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/1.062, allocations: 109.2 kB / 0.9545 GB, free: 76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/1.063, allocations: 215.7 kB / 0.9547 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/1.064, allocations: 0.7879 MB / 0.9555 GB, free: 74.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/1.065, allocations: 0.998 MB / 0.9564 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/1.065, allocations: 0 / 0.9564 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.01552/1.08, allocations: 10.61 MB / 0.9668 GB, free: 63.43 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches