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.001667/0.001667, allocations: 174.1 kB / 16.72 MB, free: 5.082 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.624/1.624, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007885/0.0007886, allocations: 86.34 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2439, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4106/0.6545, allocations: 157.8 MB / 0.5204 GB, free: 1.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.6579, allocations: 2.991 MB / 0.5233 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.6583, allocations: 9.438 kB / 0.5233 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.6589, allocations: 129.2 kB / 0.5235 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000882/0.6598, allocations: 364.3 kB / 0.5238 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.6606, allocations: 275.2 kB / 0.5241 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.662, allocations: 1.111 MB / 0.5252 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.6623, allocations: 74.42 kB / 0.5252 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.6642, allocations: 0.7037 MB / 0.5259 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.6646, allocations: 268.7 kB / 0.5262 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.6646, allocations: 17.59 kB / 0.5262 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.665, allocations: 102 kB / 0.5263 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.6651, allocations: 78.12 kB / 0.5264 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.6653, allocations: 193.2 kB / 0.5265 GB, free: 0.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.6658, allocations: 400.4 kB / 0.5269 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6658, allocations: 2.531 kB / 0.5269 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6658, allocations: 0.7812 kB / 0.5269 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.6658, allocations: 0 / 0.5269 GB, free: 0.8477 MB / 378.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.0007974/0.6666, allocations: 0.5168 MB / 0.5274 GB, free: 16.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6666, allocations: 10.22 kB / 0.5274 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.6669, allocations: 44.23 kB / 0.5275 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.6673, allocations: 285.4 kB / 0.5278 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.6673, allocations: 19.31 kB / 0.5278 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.6674, allocations: 25.38 kB / 0.5278 GB, free: 16.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.6679, allocations: 317.2 kB / 0.5281 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6679, allocations: 0.625 kB / 0.5281 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.6679, allocations: 15.69 kB / 0.5281 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.6679, allocations: 6.094 kB / 0.5281 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.6683, allocations: 205.3 kB / 0.5283 GB, free: 16.07 MB / 394.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.001662/0.6699, allocations: 1.587 MB / 0.5299 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.6702, allocations: 171.4 kB / 0.53 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.6704, allocations: 97.73 kB / 0.5301 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.6704, allocations: 10.27 kB / 0.5301 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.6705, allocations: 37.06 kB / 0.5302 GB, free: 14.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.564e-06/0.6705, allocations: 0 / 0.5302 GB, free: 14.8 MB / 394.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.005088/0.6756, allocations: 1.635 MB / 0.5318 GB, free: 14.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6756, allocations: 57.88 kB / 0.5318 GB, free: 13.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.6759, allocations: 247.4 kB / 0.5321 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.6759, allocations: 37.45 kB / 0.5321 GB, free: 13.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.676, allocations: 177.9 kB / 0.5323 GB, free: 13.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.6761, allocations: 96.78 kB / 0.5324 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.6761, allocations: 3.5 kB / 0.5324 GB, free: 13.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6762, allocations: 336.9 kB / 0.5327 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6764, allocations: 98.27 kB / 0.5328 GB, free: 13.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.6766, allocations: 182.4 kB / 0.5329 GB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.677, allocations: 304.2 kB / 0.5332 GB, free: 13.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.677, allocations: 3.938 kB / 0.5332 GB, free: 13.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005627/0.6776, allocations: 393.6 kB / 0.5336 GB, free: 13.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6776, allocations: 6.469 kB / 0.5336 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6776, allocations: 1.75 kB / 0.5336 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.6778, allocations: 76.73 kB / 0.5337 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.6782, allocations: 81.94 kB / 0.5338 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.6794, allocations: 1.865 MB / 0.5356 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.6797, allocations: 13.58 kB / 0.5356 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.6798, allocations: 40.16 kB / 0.5356 GB, free: 11.23 MB / 394.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.0001625/0.6799, allocations: 154.2 kB / 0.5358 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.68, allocations: 37 kB / 0.5358 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009013/0.6809, allocations: 439.6 kB / 0.5363 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6809, allocations: 3.531 kB / 0.5363 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6809, allocations: 3.984 kB / 0.5363 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004745/0.6814, allocations: 0.5585 MB / 0.5368 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.6823, allocations: 0.7309 MB / 0.5375 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.6823, allocations: 4.062 kB / 0.5375 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.6826, allocations: 75.89 kB / 0.5376 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.007e-05/0.6827, allocations: 18.48 kB / 0.5376 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.6827, allocations: 14.02 kB / 0.5376 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.6836, allocations: 1.28 MB / 0.5389 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6836, allocations: 0 / 0.5389 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.6842, allocations: 488 kB / 0.5393 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/0.6843, allocations: 103.7 kB / 0.5394 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.6843, allocations: 6.125 kB / 0.5394 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.6846, allocations: 25.78 kB / 0.5395 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.6846, allocations: 26.39 kB / 0.5395 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.6847, allocations: 36.73 kB / 0.5395 GB, free: 8.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002085/0.6849, allocations: 187.6 kB / 0.5397 GB, free: 8.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6849, allocations: 0 / 0.5397 GB, free: 8.547 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005387/0.6855, allocations: 125.8 kB / 0.5398 GB, free: 8.539 MB / 394.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.000409/0.6859, allocations: 143.1 kB / 0.54 GB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007238/0.6866, allocations: 372 kB / 0.5403 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6866, allocations: 6.219 kB / 0.5403 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.6869, allocations: 239 kB / 0.5406 GB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.6879, allocations: 156.2 kB / 0.5407 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.6891, allocations: 0.8538 MB / 0.5415 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.6895, allocations: 0.7631 MB / 0.5423 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.6897, allocations: 78.89 kB / 0.5424 GB, free: 6.957 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6897, allocations: 4 kB / 0.5424 GB, free: 6.953 MB / 394.7 MB Notification: Performance of Templates: time 0.01033/0.7001, allocations: 7.457 MB / 0.5496 GB, free: 3.113 MB / 394.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/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches