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.00111/0.00111, 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.476/1.476, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008362/0.0008363, allocations: 90.72 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2403, allocations: 47.58 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.797/1.037, allocations: 438.9 MB / 0.7956 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.038, allocations: 97 kB / 0.7957 GB, free: 9.875 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4872/1.525, allocations: 154.1 MB / 0.9462 GB, free: 31.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.525, allocations: 4 kB / 0.9462 GB, free: 31.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/1.525, allocations: 8 kB / 0.9462 GB, free: 31.48 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.001073/1.526, allocations: 0.6206 MB / 0.9468 GB, free: 30.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.526, allocations: 8.031 kB / 0.9468 GB, free: 30.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/1.526, allocations: 47.61 kB / 0.9468 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/1.527, allocations: 278.9 kB / 0.9471 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/1.527, allocations: 16.56 kB / 0.9471 GB, free: 30.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/1.527, allocations: 24 kB / 0.9471 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/1.527, allocations: 323.6 kB / 0.9475 GB, free: 30.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.527, allocations: 3.938 kB / 0.9475 GB, free: 30.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/1.527, allocations: 12 kB / 0.9475 GB, free: 30.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/1.527, allocations: 8 kB / 0.9475 GB, free: 30.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/1.528, allocations: 205.6 kB / 0.9477 GB, free: 29.84 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.001472/1.529, allocations: 1.585 MB / 0.9492 GB, free: 28.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/1.529, allocations: 159.1 kB / 0.9494 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/1.529, allocations: 8.172 kB / 0.9494 GB, free: 27.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/1.529, allocations: 42.75 kB / 0.9494 GB, free: 27.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/1.529, allocations: 0 / 0.9494 GB, free: 27.88 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.005266/1.535, allocations: 1.62 MB / 0.951 GB, free: 26.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/1.535, allocations: 55.39 kB / 0.9511 GB, free: 26.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/1.535, allocations: 224.1 kB / 0.9513 GB, free: 25.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/1.535, allocations: 37.7 kB / 0.9513 GB, free: 25.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/1.535, allocations: 176.2 kB / 0.9515 GB, free: 25.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/1.535, allocations: 94.59 kB / 0.9516 GB, free: 25.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/1.535, allocations: 8 kB / 0.9516 GB, free: 25.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/1.535, allocations: 338.8 kB / 0.9519 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/1.535, allocations: 91.95 kB / 0.952 GB, free: 25.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/1.536, allocations: 186.1 kB / 0.9522 GB, free: 24.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/1.536, allocations: 115.9 kB / 0.9523 GB, free: 24.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.536, allocations: 0 / 0.9523 GB, free: 24.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006015/1.536, allocations: 395.3 kB / 0.9526 GB, free: 24.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.536, allocations: 8 kB / 0.9527 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.536, allocations: 4 kB / 0.9527 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/1.537, allocations: 69.69 kB / 0.9527 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/1.537, allocations: 79.89 kB / 0.9528 GB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/1.538, allocations: 1.872 MB / 0.9546 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/1.538, allocations: 19.89 kB / 0.9546 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/1.538, allocations: 40 kB / 0.9547 GB, free: 22.1 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.0001528/1.539, allocations: 161.6 kB / 0.9548 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/1.539, allocations: 31.7 kB / 0.9549 GB, free: 21.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008011/1.54, allocations: 440.7 kB / 0.9553 GB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.54, allocations: 4 kB / 0.9553 GB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.54, allocations: 11.98 kB / 0.9553 GB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003743/1.54, allocations: 0.5591 MB / 0.9559 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008422/1.541, allocations: 0.7173 MB / 0.9566 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.541, allocations: 0 / 0.9566 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/1.541, allocations: 71.89 kB / 0.9566 GB, free: 19.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.564e-05/1.541, allocations: 24.91 kB / 0.9566 GB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/1.541, allocations: 12 kB / 0.9567 GB, free: 19.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005487/1.542, allocations: 1.288 MB / 0.9579 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.542, allocations: 0 / 0.9579 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/1.542, allocations: 0.4978 MB / 0.9584 GB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/1.542, allocations: 100.9 kB / 0.9585 GB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/1.542, allocations: 11.98 kB / 0.9585 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/1.543, allocations: 12 kB / 0.9585 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/1.543, allocations: 19.97 kB / 0.9585 GB, free: 17.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/1.543, allocations: 31.98 kB / 0.9586 GB, free: 17.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001495/1.543, allocations: 194 kB / 0.9588 GB, free: 17.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.543, allocations: 0 / 0.9588 GB, free: 17.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007985/1.544, allocations: 179.9 kB / 0.9589 GB, free: 17.38 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.001195/1.545, allocations: 0.7717 MB / 0.9597 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000671/1.546, allocations: 378.8 kB / 0.96 GB, free: 16.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.546, allocations: 3.938 kB / 0.96 GB, free: 16.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/1.546, allocations: 238.4 kB / 0.9603 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/1.547, allocations: 165.7 kB / 0.9604 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/1.548, allocations: 0.8109 MB / 0.9612 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/1.548, allocations: 0.7687 MB / 0.962 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006597/1.549, allocations: 122.9 kB / 0.9621 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/1.549, allocations: 67.41 kB / 0.9622 GB, free: 13.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/1.549, allocations: 0 / 0.9622 GB, free: 13.99 MB / 426.7 MB Notification: Performance of Templates: time 0.2244/1.774, allocations: 17.43 MB / 0.9792 GB, free: 100.2 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/jenkins/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