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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.797/1.797, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000898/0.0008981, allocations: 78.64 kB / 261.7 MB, free: 1.68 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.2214/0.2214, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.729e-05/1.729e-05, allocations: 4 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 58.87 MB / 477.1 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9874/1.112, allocations: 352.2 MB / 0.8099 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/1.113, allocations: 97.31 kB / 0.81 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5296/1.642, allocations: 129.7 MB / 0.9367 GB, free: 139 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/1.642, allocations: 2.156 kB / 0.9367 GB, free: 139 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.505e-05/1.642, allocations: 22.17 kB / 0.9367 GB, free: 139 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.001789/1.644, allocations: 0.8856 MB / 0.9376 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/1.644, allocations: 14.56 kB / 0.9376 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/1.645, allocations: 93.42 kB / 0.9377 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009391/1.646, allocations: 0.5415 MB / 0.9382 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/1.646, allocations: 82.44 kB / 0.9383 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/1.646, allocations: 26.41 kB / 0.9383 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000843/1.647, allocations: 0.5326 MB / 0.9388 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/1.648, allocations: 0.7397 MB / 0.9395 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.648, allocations: 3.719 kB / 0.9396 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/1.648, allocations: 0 / 0.9396 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/1.648, allocations: 50.41 kB / 0.9396 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/1.652, allocations: 4.163 MB / 0.9437 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/1.652, allocations: 273.6 kB / 0.9439 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.652, allocations: 140.9 kB / 0.9441 GB, free: 134.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.654, allocations: 1.432 MB / 0.9455 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.654, allocations: 34.5 kB / 0.9455 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/1.654, allocations: 448 / 0.9455 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.002151/1.656, allocations: 0.8929 MB / 0.9464 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.656, allocations: 128.5 kB / 0.9465 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/1.656, allocations: 0.5078 MB / 0.947 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/1.656, allocations: 25.7 kB / 0.947 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/1.657, allocations: 431.8 kB / 0.9474 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/1.657, allocations: 97.89 kB / 0.9475 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/1.657, allocations: 0 / 0.9475 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.657, allocations: 370.5 kB / 0.9479 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/1.657, allocations: 151.5 kB / 0.948 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/1.658, allocations: 0.502 MB / 0.9485 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/1.658, allocations: 264 kB / 0.9488 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/1.658, allocations: 0 / 0.9488 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001144/1.659, allocations: 0.6864 MB / 0.9494 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.659, allocations: 11.72 kB / 0.9494 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.659, allocations: 11.38 kB / 0.9494 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/1.66, allocations: 80.48 kB / 0.9495 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/1.66, allocations: 178.2 kB / 0.9497 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005384/1.661, allocations: 0.6826 MB / 0.9504 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/1.661, allocations: 29.22 kB / 0.9504 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/1.661, allocations: 38.53 kB / 0.9504 GB, free: 129.9 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.0001355/1.661, allocations: 138.5 kB / 0.9506 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/1.662, allocations: 59.59 kB / 0.9506 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/1.662, allocations: 305.5 kB / 0.9509 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.662, allocations: 7.016 kB / 0.9509 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.662, allocations: 0 / 0.9509 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.662, allocations: 3.844 kB / 0.9509 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/1.663, allocations: 0.8546 MB / 0.9517 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.663, allocations: 0 / 0.9517 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/1.664, allocations: 53.98 kB / 0.9518 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.986e-05/1.664, allocations: 35.52 kB / 0.9518 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/1.664, allocations: 3.875 kB / 0.9518 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002599/1.664, allocations: 0.5497 MB / 0.9524 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.664, allocations: 7.547 kB / 0.9524 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/1.665, allocations: 0.5219 MB / 0.9529 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/1.665, allocations: 177.8 kB / 0.9531 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/1.665, allocations: 4.062 kB / 0.9531 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/1.665, allocations: 22.25 kB / 0.9531 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/1.665, allocations: 18.84 kB / 0.9531 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/1.665, allocations: 13.97 kB / 0.9531 GB, free: 128 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00036/1.666, allocations: 385 kB / 0.9535 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.666, allocations: 0 / 0.9535 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007833/1.666, allocations: 203.5 kB / 0.9537 GB, free: 127.8 MB / 0.4948 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.000593/1.667, allocations: 328.5 kB / 0.954 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006175/1.668, allocations: 388.6 kB / 0.9544 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.668, allocations: 3.562 kB / 0.9544 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/1.668, allocations: 103.5 kB / 0.9545 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/1.669, allocations: 214.2 kB / 0.9547 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/1.67, allocations: 0.7612 MB / 0.9554 GB, free: 127 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/1.67, allocations: 0.9394 MB / 0.9563 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005623/1.671, allocations: 186.3 kB / 0.9565 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/1.671, allocations: 50.78 kB / 0.9566 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/1.671, allocations: 0 / 0.9566 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.01728/1.688, allocations: 10.14 MB / 0.9665 GB, free: 125.4 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