Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008649/0.000865, allocations: 183 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009161, allocations: 96.56 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3329/0.3329, allocations: 44.15 MB / 388.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003728, allocations: 15.98 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 61.88 MB / 0.5107 GB, free: 38.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.641/5.974, allocations: 2.801 GB / 3.312 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/5.975, allocations: 100.7 kB / 3.312 GB, free: 53.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.978/7.952, allocations: 485.2 MB / 3.786 GB, free: 52.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.293e-06/7.952, allocations: 0 / 3.786 GB, free: 52.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.438e-05/7.952, allocations: 15.16 kB / 3.786 GB, free: 52.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006909/7.959, allocations: 1.784 MB / 3.787 GB, free: 51.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/7.959, allocations: 18.31 kB / 3.787 GB, free: 51.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/7.962, allocations: 324.8 kB / 3.788 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/7.963, allocations: 0.6199 MB / 3.788 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/7.963, allocations: 108.9 kB / 3.788 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/7.963, allocations: 70.81 kB / 3.788 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/7.966, allocations: 1.166 MB / 3.79 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/7.966, allocations: 8.719 kB / 3.79 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/7.966, allocations: 30.61 kB / 3.79 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/7.966, allocations: 43.42 kB / 3.79 GB, free: 51.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/7.968, allocations: 0.8315 MB / 3.79 GB, free: 51.1 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/7.973, allocations: 5.487 MB / 3.796 GB, free: 47.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/7.974, allocations: 0.5779 MB / 3.796 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/7.974, allocations: 221.4 kB / 3.797 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0915/8.066, allocations: 45.94 MB / 3.841 GB, free: 36.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/8.066, allocations: 38 kB / 3.841 GB, free: 36.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.246e-06/8.066, allocations: 0 / 3.841 GB, free: 36.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.007074/8.073, allocations: 1.944 MB / 3.843 GB, free: 35.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/8.073, allocations: 159.6 kB / 3.844 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/8.074, allocations: 0.6159 MB / 3.844 GB, free: 35.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/8.074, allocations: 39.61 kB / 3.844 GB, free: 35.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/8.075, allocations: 384.5 kB / 3.845 GB, free: 35.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/8.075, allocations: 171.7 kB / 3.845 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/8.075, allocations: 15.69 kB / 3.845 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002235/8.075, allocations: 386.2 kB / 3.845 GB, free: 34.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/8.076, allocations: 221.3 kB / 3.845 GB, free: 34.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/8.076, allocations: 0.5695 MB / 3.846 GB, free: 34.31 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/8.077, allocations: 0.8324 MB / 3.847 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/8.077, allocations: 3.906 kB / 3.847 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001467/8.079, allocations: 0.859 MB / 3.848 GB, free: 33.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/8.079, allocations: 11.66 kB / 3.848 GB, free: 33.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/8.079, allocations: 11.44 kB / 3.848 GB, free: 33.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/8.079, allocations: 67.69 kB / 3.848 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/8.08, allocations: 287 kB / 3.848 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/8.082, allocations: 1.976 MB / 3.85 GB, free: 31.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/8.083, allocations: 63.23 kB / 3.85 GB, free: 31.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/8.083, allocations: 41.44 kB / 3.85 GB, free: 31.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005724/8.083, allocations: 279.6 kB / 3.85 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/8.084, allocations: 69.53 kB / 3.85 GB, free: 31.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/8.086, allocations: 2.222 MB / 3.852 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/8.086, allocations: 25.36 kB / 3.852 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/8.086, allocations: 3.812 kB / 3.852 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/8.086, allocations: 0 / 3.852 GB, free: 31.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/8.09, allocations: 3.298 MB / 3.856 GB, free: 31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/8.09, allocations: 3.469 kB / 3.856 GB, free: 31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008529/8.091, allocations: 191.1 kB / 3.856 GB, free: 31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003801/8.091, allocations: 91.31 kB / 3.856 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/8.091, allocations: 18.64 kB / 3.856 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/8.093, allocations: 1.991 MB / 3.858 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/8.093, allocations: 3.562 kB / 3.858 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/8.095, allocations: 1.978 MB / 3.86 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/8.096, allocations: 292.8 kB / 3.86 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/8.096, allocations: 9.031 kB / 3.86 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/8.097, allocations: 60.2 kB / 3.86 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/8.097, allocations: 32.83 kB / 3.86 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/8.097, allocations: 24.42 kB / 3.86 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008156/8.098, allocations: 0.5014 MB / 3.861 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/8.098, allocations: 0 / 3.861 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006298/8.104, allocations: 1.128 MB / 3.862 GB, free: 28.36 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009445/8.114, allocations: 1.561 MB / 3.863 GB, free: 28.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00232/8.116, allocations: 0.9322 MB / 3.864 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/8.116, allocations: 9.438 kB / 3.864 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/8.117, allocations: 0.6693 MB / 3.865 GB, free: 27.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/8.12, allocations: 366 kB / 3.865 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/8.124, allocations: 2.714 MB / 3.868 GB, free: 26.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008641/8.125, allocations: 1.112 MB / 3.869 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001165/8.126, allocations: 447.1 kB / 3.869 GB, free: 26.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/8.126, allocations: 66.06 kB / 3.869 GB, free: 26.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.453e-06/8.126, allocations: 3.938 kB / 3.869 GB, free: 26.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.05888/8.185, allocations: 42.14 MB / 3.911 GB, free: 23.8 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches