Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001655, allocations: 176.7 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.59/1.59, 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.001001/0.001002, allocations: 82.66 kB / 261.7 MB, free: 1.625 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.2299/0.2299, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.962e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.631/6.762, allocations: 2.795 GB / 3.261 GB, free: 161 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/6.762, allocations: 97.09 kB / 3.261 GB, free: 161 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.729/8.491, allocations: 0.4884 GB / 3.749 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/8.491, allocations: 0 / 3.749 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.97e-05/8.491, allocations: 16 kB / 3.749 GB, free: 40.03 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.007113/8.498, allocations: 1.755 MB / 3.751 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/8.499, allocations: 14.47 kB / 3.751 GB, free: 38.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/8.501, allocations: 322.1 kB / 3.751 GB, free: 37.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/8.503, allocations: 0.5962 MB / 3.752 GB, free: 37.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/8.503, allocations: 100.7 kB / 3.752 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/8.503, allocations: 39.88 kB / 3.752 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/8.504, allocations: 0.6976 MB / 3.753 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/8.506, allocations: 0.8951 MB / 3.754 GB, free: 35.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/8.506, allocations: 3.938 kB / 3.754 GB, free: 35.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/8.506, allocations: 4 kB / 3.754 GB, free: 35.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/8.506, allocations: 41.3 kB / 3.754 GB, free: 35.44 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.4208/8.927, allocations: 52.88 MB / 3.805 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/8.927, allocations: 388.5 kB / 3.806 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/8.928, allocations: 183 kB / 3.806 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01576/8.943, allocations: 8.168 MB / 3.814 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/8.943, allocations: 36.81 kB / 3.814 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 2.355e-06/8.943, allocations: 0 / 3.814 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=41): time 0.004604/8.948, allocations: 1.459 MB / 3.815 GB, free: 63.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/8.948, allocations: 134.6 kB / 3.815 GB, free: 63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006932/8.949, allocations: 484 kB / 3.816 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/8.949, allocations: 27.8 kB / 3.816 GB, free: 62.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/8.949, allocations: 418.8 kB / 3.816 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/8.949, allocations: 142 kB / 3.816 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/8.949, allocations: 0 / 3.816 GB, free: 62.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001343/8.949, allocations: 372.8 kB / 3.817 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/8.95, allocations: 216.1 kB / 3.817 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006401/8.951, allocations: 0.5359 MB / 3.818 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007364/8.951, allocations: 319.3 kB / 3.818 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/8.951, allocations: 3.688 kB / 3.818 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00159/8.953, allocations: 0.7885 MB / 3.819 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/8.953, allocations: 13.92 kB / 3.819 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/8.953, allocations: 11.36 kB / 3.819 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/8.953, allocations: 56.38 kB / 3.819 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/8.955, allocations: 313.4 kB / 3.819 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/8.956, allocations: 1.937 MB / 3.821 GB, free: 60.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/8.957, allocations: 84.75 kB / 3.821 GB, free: 60 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/8.957, allocations: 42.78 kB / 3.821 GB, free: 60 MB / 0.5105 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.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,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.0001778/8.957, allocations: 143.9 kB / 3.821 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/8.957, allocations: 65.72 kB / 3.821 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/8.959, allocations: 1.865 MB / 3.823 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/8.959, allocations: 25.06 kB / 3.823 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/8.959, allocations: 3.844 kB / 3.823 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/8.959, allocations: 2.344 kB / 3.823 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/8.963, allocations: 2.863 MB / 3.826 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/8.963, allocations: 1.219 kB / 3.826 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009513/8.964, allocations: 213.3 kB / 3.826 GB, free: 59.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/8.964, allocations: 79.31 kB / 3.826 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/8.964, allocations: 6.562 kB / 3.826 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/8.966, allocations: 1.973 MB / 3.828 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/8.966, allocations: 1.188 kB / 3.828 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/8.968, allocations: 1.806 MB / 3.83 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/8.968, allocations: 230.2 kB / 3.83 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/8.968, allocations: 7.062 kB / 3.83 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/8.968, allocations: 48.61 kB / 3.83 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/8.969, allocations: 37.62 kB / 3.83 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/8.969, allocations: 25.92 kB / 3.83 GB, free: 57.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000391/8.969, allocations: 341.4 kB / 3.83 GB, free: 56.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/8.969, allocations: 0 / 3.83 GB, free: 56.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00491/8.974, allocations: 1.083 MB / 3.832 GB, free: 56.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * 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.006263/8.98, allocations: 1.641 MB / 3.833 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001725/8.982, allocations: 0.859 MB / 3.834 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/8.982, allocations: 3.938 kB / 3.834 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/8.983, allocations: 0.6362 MB / 3.835 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/8.985, allocations: 288.1 kB / 3.835 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/8.987, allocations: 1.568 MB / 3.836 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/8.987, allocations: 1.104 MB / 3.837 GB, free: 55.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008695/8.988, allocations: 0.5154 MB / 3.838 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/8.988, allocations: 56.44 kB / 3.838 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/8.988, allocations: 0 / 3.838 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.04363/9.032, allocations: 33.43 MB / 3.871 GB, free: 54.45 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches