Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001974/0.001973, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 89.7 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2874/0.2874, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.162e-05, allocations: 4 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3953, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8185/1.214, allocations: 352.2 MB / 0.8099 GB, free: 1.848 MB / 491.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.214, allocations: 101.9 kB / 0.81 GB, free: 1.793 MB / 491.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7412/1.955, allocations: 129.7 MB / 0.9367 GB, free: 99.76 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.653e-06/1.956, allocations: 0 / 0.9367 GB, free: 99.76 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.994e-05/1.956, allocations: 16 kB / 0.9367 GB, free: 99.75 MB / 0.4952 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.002476/1.958, allocations: 0.8926 MB / 0.9375 GB, free: 98.82 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.958, allocations: 8.031 kB / 0.9376 GB, free: 98.81 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/1.959, allocations: 87.14 kB / 0.9376 GB, free: 98.72 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/1.96, allocations: 0.5464 MB / 0.9382 GB, free: 98.15 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.961, allocations: 84.72 kB / 0.9383 GB, free: 98.05 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.961, allocations: 31.98 kB / 0.9383 GB, free: 98.02 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/1.962, allocations: 0.5297 MB / 0.9388 GB, free: 97.49 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/1.964, allocations: 0.7418 MB / 0.9395 GB, free: 96.67 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/1.964, allocations: 4 kB / 0.9395 GB, free: 96.66 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.964, allocations: 4 kB / 0.9395 GB, free: 96.66 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.397e-05/1.964, allocations: 37.23 kB / 0.9396 GB, free: 96.62 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006196/1.97, allocations: 4.179 MB / 0.9436 GB, free: 92.19 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/1.971, allocations: 278 kB / 0.9439 GB, free: 91.91 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/1.971, allocations: 140.8 kB / 0.944 GB, free: 91.77 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/1.973, allocations: 1.428 MB / 0.9454 GB, free: 90.16 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.973, allocations: 38.56 kB / 0.9455 GB, free: 90.11 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=17): time 3.296e-06/1.973, allocations: 3.938 kB / 0.9455 GB, free: 90.11 MB / 0.4952 GB Notification: Performance of matching and sorting (n=24): time 0.003505/1.977, allocations: 0.8658 MB / 0.9463 GB, free: 89.19 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/1.977, allocations: 140.5 kB / 0.9465 GB, free: 89.02 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/1.978, allocations: 0.5069 MB / 0.947 GB, free: 88.51 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/1.978, allocations: 33.64 kB / 0.947 GB, free: 88.47 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/1.978, allocations: 464 kB / 0.9474 GB, free: 88.02 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/1.978, allocations: 90.84 kB / 0.9475 GB, free: 87.93 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/1.978, allocations: 0 / 0.9475 GB, free: 87.93 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/1.978, allocations: 338.8 kB / 0.9478 GB, free: 87.59 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/1.979, allocations: 153.5 kB / 0.948 GB, free: 87.43 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/1.979, allocations: 0.5054 MB / 0.9485 GB, free: 86.75 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/1.98, allocations: 264.2 kB / 0.9487 GB, free: 86.5 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.98, allocations: 4 kB / 0.9487 GB, free: 86.5 MB / 0.4952 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001847/1.982, allocations: 0.6643 MB / 0.9494 GB, free: 85.82 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.982, allocations: 8 kB / 0.9494 GB, free: 85.82 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/1.982, allocations: 12 kB / 0.9494 GB, free: 85.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/1.982, allocations: 80.83 kB / 0.9495 GB, free: 85.72 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.983, allocations: 176.2 kB / 0.9497 GB, free: 85.55 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007777/1.984, allocations: 0.681 MB / 0.9503 GB, free: 84.84 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.985, allocations: 31.98 kB / 0.9503 GB, free: 84.81 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/1.985, allocations: 40 kB / 0.9504 GB, free: 84.77 MB / 0.4952 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.0002032/1.986, allocations: 144.4 kB / 0.9505 GB, free: 84.62 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.986, allocations: 63.25 kB / 0.9506 GB, free: 84.56 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/1.987, allocations: 299.1 kB / 0.9509 GB, free: 84.25 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.987, allocations: 7.953 kB / 0.9509 GB, free: 84.25 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.987, allocations: 4 kB / 0.9509 GB, free: 84.24 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/1.987, allocations: 3.984 kB / 0.9509 GB, free: 84.24 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/1.989, allocations: 0.8417 MB / 0.9517 GB, free: 83.35 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.989, allocations: 0 / 0.9517 GB, free: 83.35 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/1.989, allocations: 56 kB / 0.9518 GB, free: 83.29 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/1.989, allocations: 28.8 kB / 0.9518 GB, free: 83.26 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/1.989, allocations: 11.94 kB / 0.9518 GB, free: 83.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003768/1.99, allocations: 0.5563 MB / 0.9523 GB, free: 82.67 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.99, allocations: 3.938 kB / 0.9523 GB, free: 82.66 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/1.991, allocations: 0.5153 MB / 0.9528 GB, free: 82.1 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/1.991, allocations: 180.3 kB / 0.953 GB, free: 81.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.991, allocations: 4 kB / 0.953 GB, free: 81.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/1.992, allocations: 24.06 kB / 0.953 GB, free: 81.88 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.992, allocations: 11.98 kB / 0.9531 GB, free: 81.86 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/1.992, allocations: 19.98 kB / 0.9531 GB, free: 81.84 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.000616/1.993, allocations: 383.1 kB / 0.9534 GB, free: 81.47 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.71e-07/1.993, allocations: 3.938 kB / 0.9534 GB, free: 81.47 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001263/1.994, allocations: 203.9 kB / 0.9536 GB, free: 81.27 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0007416/1.995, allocations: 320.7 kB / 0.9539 GB, free: 80.97 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.996, allocations: 393.8 kB / 0.9543 GB, free: 80.59 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.996, allocations: 0 / 0.9543 GB, free: 80.59 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/1.996, allocations: 99.91 kB / 0.9544 GB, free: 80.49 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/1.998, allocations: 226.5 kB / 0.9546 GB, free: 80.28 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/2, allocations: 0.8013 MB / 0.9554 GB, free: 79.44 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/2.001, allocations: 0.9408 MB / 0.9563 GB, free: 78.47 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/2.001, allocations: 55.44 kB / 0.9564 GB, free: 78.41 MB / 0.4952 GB Notification: Performance of SimCode: time 1.152e-06/2.001, allocations: 4 kB / 0.9564 GB, free: 78.41 MB / 0.4952 GB Notification: Performance of Templates: time 0.02505/2.026, allocations: 13.03 MB / 0.9691 GB, free: 65.4 MB / 0.4952 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/jenkins1/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