Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009756/0.0009756, allocations: 177.6 kB / 8.004 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.672/1.672, allocations: 205.3 MB / 213.7 MB, free: 1.668 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.0008404/0.0008404, allocations: 86.62 kB / 261.7 MB, free: 1.613 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.2116/0.2116, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.516e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.435/6.555, allocations: 2.795 GB / 3.261 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/6.555, allocations: 99.09 kB / 3.261 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.769/8.324, allocations: 0.4884 GB / 3.749 GB, free: 39.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/8.324, allocations: 0 / 3.749 GB, free: 39.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.912e-05/8.324, allocations: 20 kB / 3.749 GB, free: 39.65 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006609/8.331, allocations: 1.716 MB / 3.751 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/8.331, allocations: 12.03 kB / 3.751 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/8.333, allocations: 325.1 kB / 3.751 GB, free: 37.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009918/8.334, allocations: 0.5997 MB / 3.752 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/8.334, allocations: 92.72 kB / 3.752 GB, free: 36.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/8.334, allocations: 35.98 kB / 3.752 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009029/8.335, allocations: 0.639 MB / 3.753 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/8.336, allocations: 0.8957 MB / 3.754 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/8.336, allocations: 7.938 kB / 3.754 GB, free: 35.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/8.336, allocations: 4 kB / 3.754 GB, free: 35.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/8.336, allocations: 41.3 kB / 3.754 GB, free: 35.16 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.5317/8.868, allocations: 83.09 MB / 3.835 GB, free: 50.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/8.869, allocations: 362.4 kB / 3.835 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/8.869, allocations: 161.7 kB / 3.835 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06493/8.934, allocations: 38.47 MB / 3.873 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/8.934, allocations: 42.56 kB / 3.873 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/8.934, allocations: 0 / 3.873 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.003721/8.938, allocations: 1.369 MB / 3.874 GB, free: 27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/8.938, allocations: 139.8 kB / 3.874 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/8.938, allocations: 486.9 kB / 3.875 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/8.938, allocations: 25.7 kB / 3.875 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/8.939, allocations: 431.4 kB / 3.875 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/8.939, allocations: 130.9 kB / 3.875 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/8.939, allocations: 0 / 3.875 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001097/8.939, allocations: 375.7 kB / 3.876 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/8.939, allocations: 195.2 kB / 3.876 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/8.94, allocations: 0.5328 MB / 3.876 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/8.94, allocations: 311.8 kB / 3.877 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/8.94, allocations: 2.625 kB / 3.877 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001199/8.941, allocations: 0.758 MB / 3.878 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/8.941, allocations: 9.906 kB / 3.878 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/8.941, allocations: 13.41 kB / 3.878 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/8.942, allocations: 56.59 kB / 3.878 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/8.943, allocations: 286.9 kB / 3.878 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/8.944, allocations: 1.931 MB / 3.88 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/8.944, allocations: 50 kB / 3.88 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/8.945, allocations: 40.91 kB / 3.88 GB, free: 23.77 MB / 0.5105 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 () * 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.0001702/8.945, allocations: 145.7 kB / 3.88 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/8.945, allocations: 70.03 kB / 3.88 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/8.946, allocations: 1.587 MB / 3.882 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/8.946, allocations: 19.75 kB / 3.882 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/8.946, allocations: 0 / 3.882 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/8.946, allocations: 8.875 kB / 3.882 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/8.949, allocations: 2.447 MB / 3.884 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/8.949, allocations: 3.25 kB / 3.884 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/8.95, allocations: 171.3 kB / 3.884 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/8.95, allocations: 80.56 kB / 3.884 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/8.95, allocations: 0 / 3.884 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/8.952, allocations: 1.982 MB / 3.886 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/8.952, allocations: 0 / 3.886 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/8.954, allocations: 1.527 MB / 3.888 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/8.954, allocations: 218.5 kB / 3.888 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/8.954, allocations: 3.797 kB / 3.888 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/8.955, allocations: 46.69 kB / 3.888 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.527e-05/8.955, allocations: 22.17 kB / 3.888 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/8.955, allocations: 21.77 kB / 3.888 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004207/8.955, allocations: 346.1 kB / 3.888 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/8.955, allocations: 1.969 kB / 3.888 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005386/8.961, allocations: 1.083 MB / 3.889 GB, free: 20.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006413/8.967, allocations: 1.631 MB / 3.891 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001802/8.969, allocations: 0.7865 MB / 3.892 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/8.969, allocations: 2.188 kB / 3.892 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008957/8.97, allocations: 0.5263 MB / 3.892 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/8.971, allocations: 274.3 kB / 3.893 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/8.974, allocations: 1.419 MB / 3.894 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/8.974, allocations: 1.08 MB / 3.895 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008621/8.975, allocations: 0.495 MB / 3.895 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/8.975, allocations: 56.78 kB / 3.895 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of SimCode: time 4.6e-07/8.975, allocations: 0 / 3.895 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.04626/9.021, allocations: 32.97 MB / 3.928 GB, free: 17.29 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches