Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.965/1.965, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001136/0.001136, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.082e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09422, allocations: 47.57 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.473, allocations: 438.8 MB / 0.7889 GB, free: 66.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/1.474, allocations: 98.8 kB / 0.789 GB, free: 66.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7568/2.231, allocations: 153.7 MB / 0.9391 GB, free: 85.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/2.231, allocations: 0 / 0.9391 GB, free: 85.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/2.231, allocations: 4 kB / 0.9391 GB, free: 85.98 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001099/2.232, allocations: 0.5969 MB / 0.9397 GB, free: 85.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/2.232, allocations: 8.031 kB / 0.9397 GB, free: 85.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/2.232, allocations: 39.7 kB / 0.9397 GB, free: 85.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/2.233, allocations: 282.5 kB / 0.94 GB, free: 84.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/2.233, allocations: 20.52 kB / 0.94 GB, free: 84.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/2.233, allocations: 24 kB / 0.94 GB, free: 84.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/2.233, allocations: 307.7 kB / 0.9403 GB, free: 84.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/2.234, allocations: 0 / 0.9403 GB, free: 84.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/2.234, allocations: 15.94 kB / 0.9404 GB, free: 84.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/2.234, allocations: 8 kB / 0.9404 GB, free: 84.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/2.234, allocations: 201.6 kB / 0.9406 GB, free: 84.39 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.00207/2.236, allocations: 1.574 MB / 0.9421 GB, free: 82.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/2.237, allocations: 171.1 kB / 0.9423 GB, free: 82.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/2.237, allocations: 89.23 kB / 0.9423 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/2.237, allocations: 8.172 kB / 0.9424 GB, free: 82.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/2.237, allocations: 46.64 kB / 0.9424 GB, free: 82.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/2.237, allocations: 0 / 0.9424 GB, free: 82.33 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.007938/2.245, allocations: 1.239 MB / 0.9436 GB, free: 81.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/2.245, allocations: 59.39 kB / 0.9437 GB, free: 80.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/2.245, allocations: 217.1 kB / 0.9439 GB, free: 80.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/2.245, allocations: 29.7 kB / 0.9439 GB, free: 80.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/2.245, allocations: 242.4 kB / 0.9441 GB, free: 80.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/2.245, allocations: 94.64 kB / 0.9442 GB, free: 80.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/2.245, allocations: 4 kB / 0.9442 GB, free: 80.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.434e-05/2.246, allocations: 330.8 kB / 0.9445 GB, free: 80.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/2.246, allocations: 83.98 kB / 0.9446 GB, free: 79.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/2.246, allocations: 183.8 kB / 0.9448 GB, free: 79.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/2.246, allocations: 116.4 kB / 0.9449 GB, free: 79.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/2.246, allocations: 0 / 0.9449 GB, free: 79.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009052/2.247, allocations: 386.8 kB / 0.9453 GB, free: 79.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/2.247, allocations: 8 kB / 0.9453 GB, free: 79.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/2.247, allocations: 0 / 0.9453 GB, free: 79.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/2.248, allocations: 77.62 kB / 0.9454 GB, free: 79.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/2.248, allocations: 88.3 kB / 0.9454 GB, free: 79.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/2.25, allocations: 1.856 MB / 0.9473 GB, free: 77.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/2.25, allocations: 15.98 kB / 0.9473 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/2.25, allocations: 40 kB / 0.9473 GB, free: 76.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/2.25, allocations: 129 kB / 0.9474 GB, free: 76.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/2.25, allocations: 39.67 kB / 0.9475 GB, free: 76.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/2.252, allocations: 431.7 kB / 0.9479 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/2.252, allocations: 7.938 kB / 0.9479 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/2.252, allocations: 4 kB / 0.9479 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005951/2.253, allocations: 0.5552 MB / 0.9484 GB, free: 75.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/2.254, allocations: 0.7172 MB / 0.9491 GB, free: 74.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/2.254, allocations: 0 / 0.9491 GB, free: 74.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/2.254, allocations: 71.95 kB / 0.9492 GB, free: 74.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/2.255, allocations: 28.8 kB / 0.9492 GB, free: 74.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/2.255, allocations: 12 kB / 0.9492 GB, free: 74.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000796/2.255, allocations: 1.284 MB / 0.9505 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.255, allocations: 0 / 0.9505 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/2.256, allocations: 493.8 kB / 0.951 GB, free: 72.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/2.256, allocations: 108.7 kB / 0.9511 GB, free: 72.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/2.257, allocations: 7.984 kB / 0.9511 GB, free: 72.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/2.257, allocations: 15.94 kB / 0.9511 GB, free: 72.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/2.257, allocations: 31.84 kB / 0.9511 GB, free: 72.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/2.257, allocations: 36.05 kB / 0.9512 GB, free: 72.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002409/2.257, allocations: 191.1 kB / 0.9513 GB, free: 72.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.257, allocations: 0 / 0.9513 GB, free: 72.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009394/2.258, allocations: 180 kB / 0.9515 GB, free: 72.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/2.26, allocations: 0.7729 MB / 0.9523 GB, free: 71.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008564/2.261, allocations: 366.6 kB / 0.9526 GB, free: 71.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/2.261, allocations: 0 / 0.9526 GB, free: 71.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/2.261, allocations: 227.7 kB / 0.9528 GB, free: 70.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/2.262, allocations: 164.1 kB / 0.953 GB, free: 70.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/2.264, allocations: 0.5191 MB / 0.9535 GB, free: 70.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/2.264, allocations: 0.7687 MB / 0.9542 GB, free: 69.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/2.264, allocations: 79.39 kB / 0.9543 GB, free: 69.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/2.264, allocations: 0 / 0.9543 GB, free: 69.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01994/2.284, allocations: 11.48 MB / 0.9655 GB, free: 57.82 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_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/IdealSteam/IdealSteam.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches