Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001177, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 223.1 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008022/0.0008021, allocations: 95.8 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2665, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.214/6.481, allocations: 2.74 GB / 3.107 GB, free: 128.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/6.481, allocations: 102.5 kB / 3.107 GB, free: 128.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8787/7.36, allocations: 295.4 MB / 3.396 GB, free: 27.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/7.36, allocations: 3.938 kB / 3.396 GB, free: 27.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.666e-05/7.36, allocations: 8 kB / 3.396 GB, free: 27.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003086/7.363, allocations: 0.9376 MB / 3.397 GB, free: 26.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/7.363, allocations: 8.031 kB / 3.397 GB, free: 26.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/7.364, allocations: 84.59 kB / 3.397 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/7.365, allocations: 306.2 kB / 3.397 GB, free: 26.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/7.365, allocations: 28.64 kB / 3.397 GB, free: 26.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/7.365, allocations: 32 kB / 3.397 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/7.365, allocations: 438.2 kB / 3.397 GB, free: 25.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/7.365, allocations: 3.938 kB / 3.397 GB, free: 25.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/7.366, allocations: 16 kB / 3.397 GB, free: 25.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/7.366, allocations: 12 kB / 3.397 GB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005753/7.366, allocations: 309.9 kB / 3.398 GB, free: 25.41 MB / 426.7 MB 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.002361/7.368, allocations: 2.627 MB / 3.4 GB, free: 22.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/7.369, allocations: 256.7 kB / 3.401 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02933/7.398, allocations: 15.33 MB / 3.416 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/7.398, allocations: 34.56 kB / 3.416 GB, free: 5.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/7.398, allocations: 4 kB / 3.416 GB, free: 5.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004402/7.403, allocations: 1.302 MB / 3.417 GB, free: 3.742 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/7.403, allocations: 55.41 kB / 3.417 GB, free: 3.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/7.403, allocations: 241.7 kB / 3.417 GB, free: 3.434 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/7.403, allocations: 29.7 kB / 3.417 GB, free: 3.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/7.403, allocations: 190.9 kB / 3.417 GB, free: 3.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/7.403, allocations: 114.4 kB / 3.417 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/7.403, allocations: 8 kB / 3.417 GB, free: 3.094 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/7.404, allocations: 342.8 kB / 3.418 GB, free: 2.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/7.404, allocations: 92.84 kB / 3.418 GB, free: 2.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/7.404, allocations: 218.9 kB / 3.418 GB, free: 2.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/7.404, allocations: 144 kB / 3.418 GB, free: 2.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/7.404, allocations: 0 / 3.418 GB, free: 2.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000714/7.405, allocations: 438.5 kB / 3.419 GB, free: 1.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/7.405, allocations: 10.66 kB / 3.419 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/7.405, allocations: 4 kB / 3.419 GB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/7.409, allocations: 261.8 kB / 3.419 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/7.409, allocations: 83.84 kB / 3.419 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2956/7.705, allocations: 1.876 MB / 3.421 GB, free: 63.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/7.705, allocations: 23.81 kB / 3.421 GB, free: 63.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/7.706, allocations: 17.31 kB / 3.421 GB, free: 63.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000298/7.706, allocations: 168.4 kB / 3.421 GB, free: 63.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/7.706, allocations: 30.03 kB / 3.421 GB, free: 63.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/7.707, allocations: 0.9517 MB / 3.422 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/7.707, allocations: 13.83 kB / 3.422 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/7.707, allocations: 1.688 kB / 3.422 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008635/7.708, allocations: 1.112 MB / 3.423 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/7.71, allocations: 1.588 MB / 3.425 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/7.71, allocations: 0 / 3.425 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/7.71, allocations: 51.5 kB / 3.425 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/7.712, allocations: 287.8 kB / 3.425 GB, free: 62.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/7.712, allocations: 10.81 kB / 3.425 GB, free: 62.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004331/7.712, allocations: 0.666 MB / 3.426 GB, free: 61.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/7.712, allocations: 0 / 3.426 GB, free: 61.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/7.713, allocations: 0.9572 MB / 3.427 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/7.713, allocations: 142.1 kB / 3.427 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/7.714, allocations: 7.469 kB / 3.427 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/7.714, allocations: 14.38 kB / 3.427 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/7.714, allocations: 19.66 kB / 3.427 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/7.714, allocations: 14.7 kB / 3.427 GB, free: 61.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002317/7.714, allocations: 237.7 kB / 3.427 GB, free: 61.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.714, allocations: 0 / 3.427 GB, free: 61.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003207/7.717, allocations: 0.5403 MB / 3.428 GB, free: 61.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002711/7.72, allocations: 0.8588 MB / 3.428 GB, free: 61.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009017/7.721, allocations: 0.5158 MB / 3.429 GB, free: 61.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/7.721, allocations: 0 / 3.429 GB, free: 61.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/7.721, allocations: 296.7 kB / 3.429 GB, free: 61.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/7.722, allocations: 174.5 kB / 3.429 GB, free: 61.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/7.724, allocations: 1.227 MB / 3.43 GB, free: 60.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/7.724, allocations: 0.8311 MB / 3.431 GB, free: 60 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003368/7.725, allocations: 111.8 kB / 3.431 GB, free: 59.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.881e-05/7.725, allocations: 30.22 kB / 3.431 GB, free: 59.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.943e-06/7.725, allocations: 3.812 kB / 3.431 GB, free: 59.98 MB / 426.7 MB Notification: Performance of Templates: time 0.03376/7.758, allocations: 22 MB / 3.453 GB, free: 59.71 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches