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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 105.3 kB / 18.36 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 187 kB / 19.3 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 47.94 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1113, allocations: 46.62 MB / 375.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4141/0.5254, allocations: 173.6 MB / 0.5366 GB, free: 1.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.5293, allocations: 3.211 MB / 0.5397 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.5296, allocations: 4 kB / 0.5397 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.5302, allocations: 174.9 kB / 0.5399 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008987/0.5311, allocations: 399.3 kB / 0.5402 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.532, allocations: 348.6 kB / 0.5406 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008911/0.5329, allocations: 0.8914 MB / 0.5415 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.5331, allocations: 97.36 kB / 0.5415 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.535, allocations: 0.7955 MB / 0.5423 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.5353, allocations: 278.9 kB / 0.5426 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.355e-05/0.5354, allocations: 28 kB / 0.5426 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.5357, allocations: 131.9 kB / 0.5427 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.5358, allocations: 99.7 kB / 0.5428 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.536, allocations: 187.2 kB / 0.543 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.5366, allocations: 0.5141 MB / 0.5435 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5366, allocations: 0 / 0.5435 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5366, allocations: 0 / 0.5435 GB, free: 10.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.5367, allocations: 0 / 0.5435 GB, free: 10.29 MB / 478.1 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.000815/0.5375, allocations: 0.5891 MB / 0.5441 GB, free: 9.648 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5375, allocations: 11.89 kB / 0.5441 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.5378, allocations: 43.61 kB / 0.5441 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.5383, allocations: 290.4 kB / 0.5444 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.5383, allocations: 16.56 kB / 0.5444 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.5384, allocations: 24 kB / 0.5445 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.5389, allocations: 319.7 kB / 0.5448 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5389, allocations: 7.938 kB / 0.5448 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.5389, allocations: 15.94 kB / 0.5448 GB, free: 8.871 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.539, allocations: 5 kB / 0.5448 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.5393, allocations: 201.6 kB / 0.545 GB, free: 8.672 MB / 478.1 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.001728/0.541, allocations: 1.593 MB / 0.5465 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.5413, allocations: 170.8 kB / 0.5467 GB, free: 6.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.5415, allocations: 97.14 kB / 0.5468 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.5415, allocations: 15.97 kB / 0.5468 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.5416, allocations: 42.5 kB / 0.5469 GB, free: 6.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.5416, allocations: 3.938 kB / 0.5469 GB, free: 6.586 MB / 478.1 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.005758/0.5474, allocations: 1.608 MB / 0.5484 GB, free: 4.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.5474, allocations: 59.41 kB / 0.5485 GB, free: 4.781 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.5477, allocations: 248.9 kB / 0.5487 GB, free: 4.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.5478, allocations: 29.7 kB / 0.5487 GB, free: 4.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5479, allocations: 180.2 kB / 0.5489 GB, free: 4.312 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.548, allocations: 98.64 kB / 0.549 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.5481, allocations: 77.69 kB / 0.5491 GB, free: 4.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5482, allocations: 334.8 kB / 0.5494 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.5484, allocations: 91.97 kB / 0.5495 GB, free: 3.707 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.5486, allocations: 187.8 kB / 0.5497 GB, free: 3.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.549, allocations: 300.3 kB / 0.55 GB, free: 3.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.549, allocations: 3.938 kB / 0.55 GB, free: 3.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006356/0.5497, allocations: 410.6 kB / 0.5504 GB, free: 2.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5497, allocations: 8 kB / 0.5504 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5497, allocations: 0 / 0.5504 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.55, allocations: 73.62 kB / 0.5504 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.5503, allocations: 88.23 kB / 0.5505 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.5518, allocations: 1.95 MB / 0.5524 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.552, allocations: 12.02 kB / 0.5524 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.5521, allocations: 43.94 kB / 0.5525 GB, free: 396 kB / 478.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000187/0.5523, allocations: 158.4 kB / 0.5526 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.5523, allocations: 31.86 kB / 0.5527 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2047/0.7571, allocations: 441.8 kB / 0.5531 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.7571, allocations: 4.688 kB / 0.5531 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.7571, allocations: 1.688 kB / 0.5531 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004852/0.7576, allocations: 0.5567 MB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.7587, allocations: 0.7384 MB / 0.5543 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7587, allocations: 1.219 kB / 0.5543 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.759, allocations: 69.23 kB / 0.5544 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-05/0.7591, allocations: 22.33 kB / 0.5544 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.7592, allocations: 14.47 kB / 0.5545 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006465/0.7598, allocations: 1.379 MB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7598, allocations: 0 / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.7605, allocations: 482.5 kB / 0.5563 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.131e-05/0.7606, allocations: 102.8 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.7607, allocations: 11.73 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.7609, allocations: 6.672 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.761, allocations: 27.61 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.761, allocations: 30.27 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.7613, allocations: 191.2 kB / 0.5566 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7613, allocations: 0.5312 kB / 0.5566 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006252/0.7619, allocations: 120.9 kB / 0.5567 GB, free: 168.3 MB / 478.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003801/0.7623, allocations: 154.4 kB / 0.5569 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.7629, allocations: 377.2 kB / 0.5572 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.763, allocations: 1.125 kB / 0.5572 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.7632, allocations: 240.6 kB / 0.5575 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009088/0.7642, allocations: 161.6 kB / 0.5576 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.7653, allocations: 0.7206 MB / 0.5583 GB, free: 167.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.7655, allocations: 0.7669 MB / 0.5591 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.7658, allocations: 77.23 kB / 0.5591 GB, free: 166.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7658, allocations: 0 / 0.5591 GB, free: 166.9 MB / 478.1 MB Notification: Performance of Templates: time 0.01312/0.7789, allocations: 7.498 MB / 0.5665 GB, free: 165.7 MB / 478.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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