Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009113/0.0009113, allocations: 183 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.281/1.281, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.000727/0.000727, allocations: 87.88 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2092, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6776/0.8869, allocations: 439 MB / 0.7969 GB, free: 9.625 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.8872, allocations: 104.9 kB / 0.797 GB, free: 9.559 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4483/1.335, allocations: 153.2 MB / 0.9466 GB, free: 32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.335, allocations: 0 / 0.9466 GB, free: 32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.353e-05/1.336, allocations: 8 kB / 0.9466 GB, free: 32 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.001352/1.337, allocations: 0.6206 MB / 0.9472 GB, free: 31.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.337, allocations: 11.97 kB / 0.9472 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/1.337, allocations: 44.56 kB / 0.9473 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/1.338, allocations: 288.1 kB / 0.9475 GB, free: 30.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.338, allocations: 20.94 kB / 0.9475 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/1.338, allocations: 28.36 kB / 0.9476 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/1.338, allocations: 312.2 kB / 0.9479 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.338, allocations: 4.188 kB / 0.9479 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/1.338, allocations: 15.94 kB / 0.9479 GB, free: 30.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/1.338, allocations: 11.94 kB / 0.9479 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/1.339, allocations: 205.5 kB / 0.9481 GB, free: 30.34 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.001651/1.34, allocations: 1.581 MB / 0.9496 GB, free: 28.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/1.34, allocations: 169.9 kB / 0.9498 GB, free: 28.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/1.341, allocations: 105.1 kB / 0.9499 GB, free: 28.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/1.341, allocations: 4 kB / 0.9499 GB, free: 28.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.341, allocations: 34.56 kB / 0.9499 GB, free: 28.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/1.341, allocations: 4 kB / 0.9499 GB, free: 28.28 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.004886/1.346, allocations: 1.617 MB / 0.9515 GB, free: 26.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/1.346, allocations: 59.39 kB / 0.9516 GB, free: 26.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/1.346, allocations: 249 kB / 0.9518 GB, free: 26.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/1.346, allocations: 33.7 kB / 0.9519 GB, free: 26.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/1.346, allocations: 180.1 kB / 0.952 GB, free: 25.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/1.346, allocations: 90.66 kB / 0.9521 GB, free: 25.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/1.346, allocations: 8 kB / 0.9521 GB, free: 25.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/1.346, allocations: 334.8 kB / 0.9524 GB, free: 25.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/1.346, allocations: 87.95 kB / 0.9525 GB, free: 25.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/1.347, allocations: 187.7 kB / 0.9527 GB, free: 25.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/1.347, allocations: 308.2 kB / 0.953 GB, free: 24.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.347, allocations: 7.938 kB / 0.953 GB, free: 24.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005962/1.348, allocations: 391.1 kB / 0.9534 GB, free: 24.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.348, allocations: 8 kB / 0.9534 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.348, allocations: 7.938 kB / 0.9534 GB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/1.348, allocations: 69.67 kB / 0.9535 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/1.348, allocations: 83.91 kB / 0.9535 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009718/1.349, allocations: 1.859 MB / 0.9554 GB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/1.349, allocations: 20.22 kB / 0.9554 GB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/1.349, allocations: 39.98 kB / 0.9554 GB, free: 22.25 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 () * Number of clocked 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.0001744/1.35, allocations: 153.7 kB / 0.9556 GB, free: 22.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/1.35, allocations: 27.66 kB / 0.9556 GB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008415/1.351, allocations: 448.7 kB / 0.956 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.351, allocations: 0 / 0.956 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/1.351, allocations: 0 / 0.956 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003846/1.351, allocations: 0.5552 MB / 0.9566 GB, free: 20.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/1.352, allocations: 0.7329 MB / 0.9573 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/1.352, allocations: 0 / 0.9573 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/1.352, allocations: 75.83 kB / 0.9573 GB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.594e-05/1.352, allocations: 20.84 kB / 0.9574 GB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.352, allocations: 16.06 kB / 0.9574 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005809/1.353, allocations: 1.272 MB / 0.9586 GB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.353, allocations: 4.156 kB / 0.9586 GB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/1.353, allocations: 482.4 kB / 0.9591 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/1.354, allocations: 108.8 kB / 0.9592 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/1.354, allocations: 8 kB / 0.9592 GB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/1.354, allocations: 20 kB / 0.9592 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/1.354, allocations: 23.91 kB / 0.9592 GB, free: 17.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/1.354, allocations: 31.98 kB / 0.9593 GB, free: 17.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001426/1.354, allocations: 190 kB / 0.9594 GB, free: 17.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.354, allocations: 0 / 0.9594 GB, free: 17.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007284/1.355, allocations: 180 kB / 0.9596 GB, free: 17.57 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 () * Number of clocked 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.001108/1.356, allocations: 0.7783 MB / 0.9604 GB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006174/1.357, allocations: 375.2 kB / 0.9607 GB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.357, allocations: 4 kB / 0.9607 GB, free: 16.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/1.357, allocations: 230.5 kB / 0.961 GB, free: 16.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/1.358, allocations: 176.2 kB / 0.9611 GB, free: 16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/1.359, allocations: 0.8096 MB / 0.9619 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/1.359, allocations: 0.7648 MB / 0.9627 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006162/1.36, allocations: 122.9 kB / 0.9628 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.36, allocations: 63.42 kB / 0.9628 GB, free: 14.19 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/1.36, allocations: 0 / 0.9628 GB, free: 14.19 MB / 426.7 MB Notification: Performance of Templates: time 0.2221/1.582, allocations: 18.12 MB / 0.9805 GB, free: 101 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches