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.001328/0.001328, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.342/1.342, allocations: 223.2 MB / 241 MB, free: 10.16 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.0009375/0.0009372, allocations: 97.64 kB / 292.2 MB, free: 10.72 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.34/0.34, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003259, allocations: 8 kB / 459.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.347, allocations: 61.89 MB / 0.5096 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.382/6.729, allocations: 2.801 GB / 3.31 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/6.729, allocations: 104.5 kB / 3.31 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/8.369, allocations: 0.4995 GB / 3.81 GB, free: 52.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/8.37, allocations: 0 / 3.81 GB, free: 52.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.103e-05/8.37, allocations: 17.69 kB / 3.81 GB, free: 52.22 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.00725/8.377, allocations: 1.794 MB / 3.812 GB, free: 51.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/8.377, allocations: 14.23 kB / 3.812 GB, free: 51.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/8.379, allocations: 325.7 kB / 3.812 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/8.381, allocations: 0.6023 MB / 3.812 GB, free: 50.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/8.381, allocations: 111.2 kB / 3.813 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/8.381, allocations: 57.58 kB / 3.813 GB, free: 50.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/8.383, allocations: 1.168 MB / 3.814 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/8.383, allocations: 3.5 kB / 3.814 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/8.383, allocations: 36.25 kB / 3.814 GB, free: 50.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/8.383, allocations: 46.61 kB / 3.814 GB, free: 50.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/8.385, allocations: 0.831 MB / 3.815 GB, free: 49.81 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.005238/8.39, allocations: 5.496 MB / 3.82 GB, free: 45.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/8.391, allocations: 0.5739 MB / 3.821 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07911/8.47, allocations: 45.93 MB / 3.865 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/8.47, allocations: 42.52 kB / 3.865 GB, free: 26.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.767e-06/8.47, allocations: 0 / 3.865 GB, free: 26.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.00556/8.476, allocations: 1.938 MB / 3.867 GB, free: 24.87 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/8.476, allocations: 162.2 kB / 3.868 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/8.477, allocations: 0.5507 MB / 3.868 GB, free: 24.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/8.477, allocations: 33.7 kB / 3.868 GB, free: 24.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/8.477, allocations: 390.5 kB / 3.868 GB, free: 23.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/8.477, allocations: 171.5 kB / 3.869 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/8.477, allocations: 16 kB / 3.869 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001534/8.477, allocations: 375.9 kB / 3.869 GB, free: 23.28 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/8.478, allocations: 222.2 kB / 3.869 GB, free: 23.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/8.478, allocations: 0.5696 MB / 3.87 GB, free: 22.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/8.478, allocations: 325.2 kB / 3.87 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/8.478, allocations: 4 kB / 3.87 GB, free: 22.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00113/8.48, allocations: 0.8705 MB / 3.871 GB, free: 21.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/8.48, allocations: 12 kB / 3.871 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/8.48, allocations: 12 kB / 3.871 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/8.48, allocations: 60.59 kB / 3.871 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/8.481, allocations: 292.2 kB / 3.871 GB, free: 21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/8.482, allocations: 1.977 MB / 3.873 GB, free: 18.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/8.483, allocations: 62.61 kB / 3.873 GB, free: 18.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/8.483, allocations: 47.8 kB / 3.873 GB, free: 18.82 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.000442/8.484, allocations: 266.3 kB / 3.874 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/8.484, allocations: 79.12 kB / 3.874 GB, free: 18.49 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/8.486, allocations: 2.218 MB / 3.876 GB, free: 16.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/8.486, allocations: 31.95 kB / 3.876 GB, free: 16.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/8.486, allocations: 4.031 kB / 3.876 GB, free: 16.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/8.486, allocations: 3.984 kB / 3.876 GB, free: 16.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/8.489, allocations: 3.28 MB / 3.879 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/8.489, allocations: 0 / 3.879 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009278/8.49, allocations: 191.8 kB / 3.879 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/8.49, allocations: 92.67 kB / 3.879 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/8.491, allocations: 16 kB / 3.879 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/8.492, allocations: 1.998 MB / 3.881 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/8.492, allocations: 4.062 kB / 3.881 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/8.494, allocations: 1.991 MB / 3.883 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/8.495, allocations: 291.1 kB / 3.884 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/8.495, allocations: 12 kB / 3.884 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005727/8.495, allocations: 63.94 kB / 3.884 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/8.496, allocations: 36.39 kB / 3.884 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/8.496, allocations: 23.83 kB / 3.884 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007303/8.496, allocations: 0.5029 MB / 3.884 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/8.496, allocations: 0 / 3.884 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00575/8.502, allocations: 1.127 MB / 3.885 GB, free: 6.422 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.008047/8.51, allocations: 1.539 MB / 3.887 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00218/8.512, allocations: 0.923 MB / 3.888 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/8.512, allocations: 0 / 3.888 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/8.514, allocations: 0.6727 MB / 3.888 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/8.515, allocations: 374.4 kB / 3.889 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/8.519, allocations: 2.705 MB / 3.891 GB, free: 416 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3074/8.826, allocations: 1.133 MB / 3.892 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001396/8.828, allocations: 449.2 kB / 3.893 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/8.828, allocations: 62.03 kB / 3.893 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/8.828, allocations: 2.312 kB / 3.893 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of Templates: time 0.06348/8.892, allocations: 39.75 MB / 3.932 GB, free: 72.78 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/jenkins/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