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.001319/0.001319, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.611/1.611, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009426/0.0009474, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.681e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09429, allocations: 47.58 MB / 370 MB, free: 1.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.277, allocations: 438.8 MB / 0.7899 GB, free: 66.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.277, allocations: 101.7 kB / 0.79 GB, free: 66.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5244/1.801, allocations: 153.7 MB / 0.94 GB, free: 85.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.145e-06/1.801, allocations: 0 / 0.94 GB, free: 85.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.803e-05/1.801, allocations: 7.938 kB / 0.94 GB, free: 85.71 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.0009055/1.802, allocations: 0.5888 MB / 0.9406 GB, free: 85.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.802, allocations: 8.031 kB / 0.9406 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/1.803, allocations: 43.7 kB / 0.9407 GB, free: 85.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/1.803, allocations: 278.5 kB / 0.9409 GB, free: 84.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/1.803, allocations: 20.52 kB / 0.9409 GB, free: 84.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/1.803, allocations: 24 kB / 0.941 GB, free: 84.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/1.803, allocations: 311.7 kB / 0.9413 GB, free: 84.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.804, allocations: 4 kB / 0.9413 GB, free: 84.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/1.804, allocations: 15.98 kB / 0.9413 GB, free: 84.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/1.804, allocations: 8 kB / 0.9413 GB, free: 84.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/1.804, allocations: 197.6 kB / 0.9415 GB, free: 84.12 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.001396/1.805, allocations: 1.574 MB / 0.943 GB, free: 82.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/1.805, allocations: 175 kB / 0.9432 GB, free: 82.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/1.806, allocations: 89.23 kB / 0.9433 GB, free: 82.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/1.806, allocations: 8.172 kB / 0.9433 GB, free: 82.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/1.806, allocations: 38.7 kB / 0.9433 GB, free: 82.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/1.806, allocations: 4 kB / 0.9433 GB, free: 82.06 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.004639/1.81, allocations: 1.239 MB / 0.9445 GB, free: 80.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/1.81, allocations: 55.39 kB / 0.9446 GB, free: 80.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/1.811, allocations: 221.1 kB / 0.9448 GB, free: 80.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/1.811, allocations: 29.7 kB / 0.9448 GB, free: 80.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/1.811, allocations: 179.9 kB / 0.945 GB, free: 80.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/1.811, allocations: 98.64 kB / 0.9451 GB, free: 80.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/1.811, allocations: 8 kB / 0.9451 GB, free: 80.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/1.811, allocations: 338.8 kB / 0.9454 GB, free: 79.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/1.811, allocations: 83.98 kB / 0.9455 GB, free: 79.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/1.811, allocations: 187.7 kB / 0.9457 GB, free: 79.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/1.811, allocations: 116.4 kB / 0.9458 GB, free: 79.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.811, allocations: 4 kB / 0.9458 GB, free: 79.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005351/1.812, allocations: 390.8 kB / 0.9462 GB, free: 78.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.812, allocations: 8 kB / 0.9462 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/1.812, allocations: 4 kB / 0.9462 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/1.812, allocations: 69.69 kB / 0.9462 GB, free: 78.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/1.813, allocations: 87.89 kB / 0.9463 GB, free: 78.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009586/1.813, allocations: 1.86 MB / 0.9481 GB, free: 76.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/1.814, allocations: 20.05 kB / 0.9482 GB, free: 76.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/1.814, allocations: 40 kB / 0.9482 GB, free: 76.73 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 9.371e-05/1.814, allocations: 125.1 kB / 0.9483 GB, free: 76.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/1.814, allocations: 35.61 kB / 0.9483 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008654/1.815, allocations: 439.6 kB / 0.9488 GB, free: 76.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.815, allocations: 4 kB / 0.9488 GB, free: 76.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.815, allocations: 0 / 0.9488 GB, free: 76.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003888/1.815, allocations: 0.5591 MB / 0.9493 GB, free: 75.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007884/1.816, allocations: 0.7132 MB / 0.95 GB, free: 74.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.816, allocations: 4 kB / 0.95 GB, free: 74.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/1.816, allocations: 71.89 kB / 0.9501 GB, free: 74.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.444e-05/1.816, allocations: 24.88 kB / 0.9501 GB, free: 74.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/1.816, allocations: 15.98 kB / 0.9501 GB, free: 74.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005417/1.817, allocations: 1.284 MB / 0.9514 GB, free: 73.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.817, allocations: 0 / 0.9514 GB, free: 73.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/1.818, allocations: 0.4937 MB / 0.9519 GB, free: 72.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/1.818, allocations: 100.9 kB / 0.952 GB, free: 72.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/1.818, allocations: 7.984 kB / 0.952 GB, free: 72.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/1.818, allocations: 15.94 kB / 0.952 GB, free: 72.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/1.818, allocations: 27.91 kB / 0.952 GB, free: 72.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/1.818, allocations: 31.98 kB / 0.952 GB, free: 72.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001469/1.818, allocations: 191.1 kB / 0.9522 GB, free: 72.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.818, allocations: 4.062 kB / 0.9522 GB, free: 72.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008079/1.819, allocations: 184 kB / 0.9524 GB, free: 72.05 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.0011/1.82, allocations: 0.7648 MB / 0.9531 GB, free: 71.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005584/1.821, allocations: 370.8 kB / 0.9535 GB, free: 70.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.821, allocations: 4 kB / 0.9535 GB, free: 70.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/1.821, allocations: 226.7 kB / 0.9537 GB, free: 70.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/1.822, allocations: 164.2 kB / 0.9539 GB, free: 70.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/1.822, allocations: 0.491 MB / 0.9544 GB, free: 69.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/1.823, allocations: 0.7687 MB / 0.9551 GB, free: 69.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005117/1.823, allocations: 110.9 kB / 0.9552 GB, free: 69.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.823, allocations: 67.39 kB / 0.9553 GB, free: 69.01 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/1.823, allocations: 4 kB / 0.9553 GB, free: 69.01 MB / 426.7 MB Notification: Performance of Templates: time 0.02158/1.845, allocations: 19.75 MB / 0.9746 GB, free: 49.23 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