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.001326/0.001326, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.377/1.377, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007803/0.0007804, allocations: 82.38 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003513, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.494/5.74, allocations: 2.74 GB / 3.109 GB, free: 130.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/5.74, allocations: 95.19 kB / 3.109 GB, free: 130.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8012/6.542, allocations: 282.1 MB / 3.384 GB, free: 37.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/6.542, allocations: 0 / 3.384 GB, free: 37.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.957e-05/6.542, allocations: 8 kB / 3.384 GB, free: 37.93 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.002833/6.545, allocations: 0.9393 MB / 3.385 GB, free: 36.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/6.545, allocations: 12.03 kB / 3.385 GB, free: 36.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/6.545, allocations: 88.5 kB / 3.385 GB, free: 36.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/6.546, allocations: 304.9 kB / 3.385 GB, free: 36.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/6.546, allocations: 24.97 kB / 3.385 GB, free: 36.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/6.546, allocations: 32.38 kB / 3.385 GB, free: 36.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/6.547, allocations: 446.7 kB / 3.386 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/6.547, allocations: 4.172 kB / 3.386 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/6.547, allocations: 19.94 kB / 3.386 GB, free: 35.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/6.547, allocations: 8 kB / 3.386 GB, free: 35.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005542/6.547, allocations: 317.8 kB / 3.386 GB, free: 35.64 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.002177/6.55, allocations: 2.619 MB / 3.389 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/6.55, allocations: 242.6 kB / 3.389 GB, free: 32.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/6.55, allocations: 105.5 kB / 3.389 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02583/6.576, allocations: 15.35 MB / 3.404 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/6.576, allocations: 34.56 kB / 3.404 GB, free: 15.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/6.576, allocations: 0 / 3.404 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004095/6.58, allocations: 1.297 MB / 3.405 GB, free: 13.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/6.58, allocations: 59.41 kB / 3.405 GB, free: 13.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/6.581, allocations: 258.5 kB / 3.406 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/6.581, allocations: 33.7 kB / 3.406 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/6.581, allocations: 199.7 kB / 3.406 GB, free: 13.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/6.581, allocations: 110.4 kB / 3.406 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/6.581, allocations: 8 kB / 3.406 GB, free: 13.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/6.581, allocations: 334.8 kB / 3.406 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/6.581, allocations: 112.8 kB / 3.407 GB, free: 12.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/6.581, allocations: 214.9 kB / 3.407 GB, free: 12.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/6.582, allocations: 354.3 kB / 3.407 GB, free: 12.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/6.582, allocations: 4 kB / 3.407 GB, free: 12.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000667/6.582, allocations: 435 kB / 3.407 GB, free: 11.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/6.582, allocations: 8 kB / 3.407 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/6.582, allocations: 4 kB / 3.407 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/6.586, allocations: 253.4 kB / 3.408 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/6.586, allocations: 79.91 kB / 3.408 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/6.587, allocations: 1.879 MB / 3.41 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/6.588, allocations: 23.98 kB / 3.41 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/6.588, allocations: 16 kB / 3.41 GB, free: 9.23 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.0002149/6.588, allocations: 177.9 kB / 3.41 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/6.588, allocations: 31.62 kB / 3.41 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009357/6.589, allocations: 0.9475 MB / 3.411 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/6.589, allocations: 11.92 kB / 3.411 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/6.589, allocations: 0 / 3.411 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008698/6.59, allocations: 1.122 MB / 3.412 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/6.591, allocations: 1.589 MB / 3.413 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/6.591, allocations: 0 / 3.413 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/6.591, allocations: 47.97 kB / 3.413 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/6.593, allocations: 291.8 kB / 3.414 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/6.593, allocations: 8 kB / 3.414 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/6.594, allocations: 0.6695 MB / 3.414 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/6.594, allocations: 0 / 3.414 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/6.595, allocations: 0.9603 MB / 3.415 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/6.595, allocations: 140.4 kB / 3.416 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/6.595, allocations: 8 kB / 3.416 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/6.595, allocations: 12.06 kB / 3.416 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/6.595, allocations: 27.91 kB / 3.416 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/6.595, allocations: 11.98 kB / 3.416 GB, free: 2.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002042/6.595, allocations: 231.1 kB / 3.416 GB, free: 2.711 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/6.595, allocations: 4 kB / 3.416 GB, free: 2.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002636/6.598, allocations: 0.5388 MB / 3.416 GB, free: 2.168 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.004081/6.602, allocations: 0.8609 MB / 3.417 GB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008613/6.603, allocations: 0.5104 MB / 3.418 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/6.603, allocations: 0 / 3.418 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/6.603, allocations: 305 kB / 3.418 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/6.604, allocations: 180.8 kB / 3.418 GB, free: 420 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2289/6.833, allocations: 1.21 MB / 3.419 GB, free: 65.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/6.834, allocations: 0.8212 MB / 3.42 GB, free: 65.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004512/6.834, allocations: 111.5 kB / 3.42 GB, free: 65.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/6.834, allocations: 33.81 kB / 3.42 GB, free: 65.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/6.834, allocations: 0.875 kB / 3.42 GB, free: 65.27 MB / 426.7 MB Notification: Performance of Templates: time 0.03353/6.868, allocations: 23.29 MB / 3.443 GB, free: 65 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/jenkins1/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