Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.3/1.3, allocations: 221.4 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008379/0.0008381, allocations: 95.67 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1787/0.1787, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.46e-05, allocations: 4.219 kB / 451.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.218/6.34, allocations: 2.8 GB / 3.302 GB, free: 69.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/6.341, allocations: 96.67 kB / 3.302 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.758/8.098, allocations: 0.4981 GB / 3.8 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/8.098, allocations: 0 / 3.8 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.651e-05/8.099, allocations: 17.75 kB / 3.8 GB, free: 57.51 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.006366/8.105, allocations: 1.757 MB / 3.802 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/8.105, allocations: 8.688 kB / 3.802 GB, free: 56.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/8.107, allocations: 326.2 kB / 3.802 GB, free: 56.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/8.108, allocations: 0.6058 MB / 3.803 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/8.109, allocations: 111.3 kB / 3.803 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/8.109, allocations: 69.14 kB / 3.803 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/8.111, allocations: 1.195 MB / 3.804 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/8.111, allocations: 8.5 kB / 3.804 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-05/8.111, allocations: 28.25 kB / 3.804 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/8.111, allocations: 40.09 kB / 3.804 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/8.113, allocations: 0.9918 MB / 3.805 GB, free: 56.21 MB / 0.5261 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.00517/8.118, allocations: 5.632 MB / 3.811 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/8.12, allocations: 0.7392 MB / 3.812 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/8.12, allocations: 245.3 kB / 3.812 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02648/8.147, allocations: 15.76 MB / 3.827 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/8.147, allocations: 40.88 kB / 3.827 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/8.147, allocations: 3 kB / 3.827 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.004991/8.152, allocations: 2.024 MB / 3.829 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/8.152, allocations: 162.5 kB / 3.829 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/8.153, allocations: 0.5273 MB / 3.83 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/8.153, allocations: 37.52 kB / 3.83 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/8.153, allocations: 390.5 kB / 3.83 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/8.153, allocations: 169.1 kB / 3.831 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/8.153, allocations: 16.22 kB / 3.831 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/8.153, allocations: 385 kB / 3.831 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/8.153, allocations: 239.8 kB / 3.831 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/8.154, allocations: 0.5519 MB / 3.832 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/8.154, allocations: 339.8 kB / 3.832 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/8.154, allocations: 3.875 kB / 3.832 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001112/8.155, allocations: 0.882 MB / 3.833 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/8.155, allocations: 7.75 kB / 3.833 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/8.155, allocations: 12.25 kB / 3.833 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002492/8.156, allocations: 68.97 kB / 3.833 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/8.157, allocations: 305.1 kB / 3.833 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/8.158, allocations: 1.984 MB / 3.835 GB, free: 39.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/8.159, allocations: 89.48 kB / 3.835 GB, free: 39.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/8.159, allocations: 45.44 kB / 3.835 GB, free: 39.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0001786/8.159, allocations: 157.7 kB / 3.836 GB, free: 38.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/8.159, allocations: 75.53 kB / 3.836 GB, free: 38.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/8.161, allocations: 2.569 MB / 3.838 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/8.161, allocations: 41.88 kB / 3.838 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/8.161, allocations: 3.953 kB / 3.838 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/8.161, allocations: 0 / 3.838 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/8.164, allocations: 3.754 MB / 3.842 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/8.164, allocations: 0 / 3.842 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/8.165, allocations: 237.4 kB / 3.842 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/8.166, allocations: 89.17 kB / 3.842 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/8.166, allocations: 16.3 kB / 3.842 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009397/8.167, allocations: 1.984 MB / 3.844 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/8.167, allocations: 3.312 kB / 3.844 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/8.169, allocations: 2.242 MB / 3.846 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/8.169, allocations: 331.8 kB / 3.847 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/8.169, allocations: 10.31 kB / 3.847 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/8.17, allocations: 70.59 kB / 3.847 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/8.17, allocations: 49.48 kB / 3.847 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/8.17, allocations: 20.28 kB / 3.847 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005732/8.17, allocations: 0.5433 MB / 3.847 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.5e-07/8.17, allocations: 1.438 kB / 3.847 GB, free: 35.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004353/8.175, allocations: 1.137 MB / 3.848 GB, free: 35.49 MB / 0.5261 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.006235/8.181, allocations: 1.572 MB / 3.85 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002053/8.183, allocations: 1.015 MB / 3.851 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/8.183, allocations: 3.469 kB / 3.851 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/8.184, allocations: 0.7622 MB / 3.852 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/8.186, allocations: 367.2 kB / 3.852 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/8.188, allocations: 1.905 MB / 3.854 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/8.189, allocations: 1.185 MB / 3.855 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007566/8.19, allocations: 442.5 kB / 3.855 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/8.19, allocations: 66.06 kB / 3.855 GB, free: 34.06 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/8.19, allocations: 3.062 kB / 3.855 GB, free: 34.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.04818/8.238, allocations: 42.36 MB / 3.897 GB, free: 32.35 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches