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.001058/0.001058, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.3 MB / 214.4 MB, free: 1.672 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.0008956/0.0008958, allocations: 90.7 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.157e-05, allocations: 0 / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 47.58 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.309/7.437, allocations: 2.74 GB / 3.094 GB, free: 53.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/7.438, allocations: 95.58 kB / 3.094 GB, free: 53.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106/8.543, allocations: 292.2 MB / 3.38 GB, free: 63.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/8.544, allocations: 0 / 3.38 GB, free: 63.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.758e-05/8.544, allocations: 11.52 kB / 3.38 GB, free: 63.29 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.002874/8.546, allocations: 0.9097 MB / 3.38 GB, free: 62.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/8.547, allocations: 9.656 kB / 3.38 GB, free: 62.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008722/8.547, allocations: 95.56 kB / 3.381 GB, free: 62.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/8.548, allocations: 292.8 kB / 3.381 GB, free: 62.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/8.548, allocations: 16.77 kB / 3.381 GB, free: 62.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/8.548, allocations: 20.19 kB / 3.381 GB, free: 62.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004013/8.548, allocations: 238.3 kB / 3.381 GB, free: 62.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/8.549, allocations: 349.1 kB / 3.381 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/8.549, allocations: 5.094 kB / 3.381 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/8.549, allocations: 0 / 3.381 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/8.549, allocations: 8.375 kB / 3.381 GB, free: 62.38 MB / 426.7 MB 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.02853/8.577, allocations: 17.75 MB / 3.399 GB, free: 51.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/8.578, allocations: 185.1 kB / 3.399 GB, free: 51.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/8.578, allocations: 88.58 kB / 3.399 GB, free: 51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0267/8.605, allocations: 15.37 MB / 3.414 GB, free: 41.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/8.605, allocations: 42.09 kB / 3.414 GB, free: 41.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.405e-06/8.605, allocations: 0 / 3.414 GB, free: 41.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.004136/8.609, allocations: 1.139 MB / 3.415 GB, free: 40.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/8.609, allocations: 58.94 kB / 3.415 GB, free: 40.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/8.609, allocations: 210.5 kB / 3.415 GB, free: 40.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/8.609, allocations: 25.7 kB / 3.415 GB, free: 40.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/8.609, allocations: 206 kB / 3.416 GB, free: 40.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/8.609, allocations: 97.12 kB / 3.416 GB, free: 40.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/8.609, allocations: 3.406 kB / 3.416 GB, free: 40.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/8.609, allocations: 336.6 kB / 3.416 GB, free: 39.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/8.61, allocations: 87.91 kB / 3.416 GB, free: 39.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/8.61, allocations: 213.7 kB / 3.416 GB, free: 39.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008352/8.611, allocations: 216.9 kB / 3.417 GB, free: 39.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/8.611, allocations: 7.469 kB / 3.417 GB, free: 39.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001245/8.612, allocations: 487.8 kB / 3.417 GB, free: 39.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/8.612, allocations: 11.19 kB / 3.417 GB, free: 39.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/8.612, allocations: 3.969 kB / 3.417 GB, free: 39.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/8.612, allocations: 66.25 kB / 3.417 GB, free: 39.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/8.612, allocations: 84 kB / 3.417 GB, free: 39.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/8.614, allocations: 1.916 MB / 3.419 GB, free: 37.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/8.614, allocations: 18.3 kB / 3.419 GB, free: 37.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/8.614, allocations: 14.81 kB / 3.419 GB, free: 37.36 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 () * 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 9.874e-05/8.615, allocations: 128.5 kB / 3.419 GB, free: 37.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/8.615, allocations: 22.97 kB / 3.419 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000992/8.616, allocations: 0.8111 MB / 3.42 GB, free: 36.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/8.616, allocations: 11.55 kB / 3.42 GB, free: 36.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/8.616, allocations: 0 / 3.42 GB, free: 36.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008078/8.616, allocations: 1.039 MB / 3.421 GB, free: 36.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/8.618, allocations: 1.383 MB / 3.422 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/8.618, allocations: 0 / 3.422 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/8.618, allocations: 60.27 kB / 3.422 GB, free: 35.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/8.618, allocations: 98.25 kB / 3.423 GB, free: 35.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/8.618, allocations: 10.83 kB / 3.423 GB, free: 35.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/8.619, allocations: 0.7076 MB / 3.423 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/8.619, allocations: 0 / 3.423 GB, free: 34.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000979/8.62, allocations: 0.9071 MB / 3.424 GB, free: 34.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/8.62, allocations: 115.5 kB / 3.424 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/8.62, allocations: 4 kB / 3.424 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/8.62, allocations: 23.36 kB / 3.424 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/8.62, allocations: 11.11 kB / 3.424 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/8.62, allocations: 18.77 kB / 3.424 GB, free: 34.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001224/8.621, allocations: 156.5 kB / 3.424 GB, free: 33.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/8.621, allocations: 0 / 3.424 GB, free: 33.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002631/8.623, allocations: 0.5134 MB / 3.425 GB, free: 33.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.004041/8.627, allocations: 0.9327 MB / 3.426 GB, free: 33.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007206/8.628, allocations: 491.8 kB / 3.426 GB, free: 33.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/8.628, allocations: 0 / 3.426 GB, free: 33.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/8.628, allocations: 279.4 kB / 3.427 GB, free: 33.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/8.629, allocations: 139.2 kB / 3.427 GB, free: 33.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/8.63, allocations: 0.7031 MB / 3.427 GB, free: 32.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/8.63, allocations: 0.8211 MB / 3.428 GB, free: 32.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003424/8.631, allocations: 122.3 kB / 3.428 GB, free: 32.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/8.631, allocations: 32.31 kB / 3.428 GB, free: 32.11 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/8.631, allocations: 4.594 kB / 3.428 GB, free: 32.11 MB / 426.7 MB Notification: Performance of Templates: time 0.02651/8.657, allocations: 17.7 MB / 3.446 GB, free: 28.14 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