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.001488/0.001488, allocations: 108.8 kB / 17.73 MB, free: 5.363 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.001596/0.001597, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.468/1.468, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.00119/0.00119, allocations: 52.14 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09153, allocations: 46.62 MB / 375.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3648/0.4564, allocations: 173.6 MB / 0.5359 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.4598, allocations: 3.215 MB / 0.5391 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.46, allocations: 7.938 kB / 0.5391 GB, free: 14.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.4605, allocations: 163 kB / 0.5393 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006966/0.4612, allocations: 419.2 kB / 0.5397 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.4619, allocations: 337 kB / 0.54 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.4627, allocations: 0.8876 MB / 0.5408 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.4629, allocations: 108.7 kB / 0.5409 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.4643, allocations: 0.807 MB / 0.5417 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.4646, allocations: 270.9 kB / 0.542 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.4646, allocations: 32 kB / 0.542 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.4649, allocations: 127.9 kB / 0.5421 GB, free: 11.08 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.364e-05/0.465, allocations: 91.72 kB / 0.5422 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.4652, allocations: 191.2 kB / 0.5424 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.4657, allocations: 0.5141 MB / 0.5429 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4657, allocations: 0 / 0.5429 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4657, allocations: 0 / 0.5429 GB, free: 10.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.4657, allocations: 0 / 0.5429 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.0007225/0.4664, allocations: 0.5891 MB / 0.5435 GB, free: 9.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.4665, allocations: 19.83 kB / 0.5435 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.4667, allocations: 43.62 kB / 0.5436 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.4671, allocations: 290.4 kB / 0.5438 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.4671, allocations: 16.56 kB / 0.5438 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.4672, allocations: 24 kB / 0.5439 GB, free: 9.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.4676, allocations: 330.4 kB / 0.5442 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4676, allocations: 0 / 0.5442 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4677, allocations: 15.94 kB / 0.5442 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4677, allocations: 8 kB / 0.5442 GB, free: 8.852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.468, allocations: 206.4 kB / 0.5444 GB, free: 8.652 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.001615/0.4696, allocations: 1.589 MB / 0.546 GB, free: 6.914 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.4699, allocations: 178.7 kB / 0.5461 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.4701, allocations: 97.14 kB / 0.5462 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.4701, allocations: 7.984 kB / 0.5462 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4701, allocations: 34.56 kB / 0.5463 GB, free: 6.582 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.4701, allocations: 0 / 0.5463 GB, free: 6.582 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.005102/0.4753, allocations: 1.602 MB / 0.5478 GB, free: 4.848 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4753, allocations: 59.34 kB / 0.5479 GB, free: 4.777 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.4755, allocations: 256.9 kB / 0.5481 GB, free: 4.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4756, allocations: 33.7 kB / 0.5482 GB, free: 4.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4757, allocations: 176.2 kB / 0.5483 GB, free: 4.301 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.4758, allocations: 94.64 kB / 0.5484 GB, free: 4.207 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4759, allocations: 85.62 kB / 0.5485 GB, free: 4.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.476, allocations: 334.8 kB / 0.5488 GB, free: 3.781 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4762, allocations: 88.83 kB / 0.5489 GB, free: 3.695 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.4764, allocations: 187.8 kB / 0.5491 GB, free: 3.469 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.4768, allocations: 308.3 kB / 0.5494 GB, free: 3.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4768, allocations: 3.938 kB / 0.5494 GB, free: 3.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006096/0.4774, allocations: 402.8 kB / 0.5498 GB, free: 2.715 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4775, allocations: 8 kB / 0.5498 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4775, allocations: 4 kB / 0.5498 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.4777, allocations: 73.67 kB / 0.5498 GB, free: 2.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4781, allocations: 86.41 kB / 0.5499 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.4795, allocations: 1.958 MB / 0.5518 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.4797, allocations: 8 kB / 0.5518 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.4798, allocations: 36 kB / 0.5519 GB, free: 388 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.0001546/0.4799, allocations: 166.4 kB / 0.552 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.48, allocations: 27.66 kB / 0.5521 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1839/0.6639, allocations: 439.5 kB / 0.5525 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.664, allocations: 2.75 kB / 0.5525 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.664, allocations: 2.781 kB / 0.5525 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005202/0.6645, allocations: 0.5631 MB / 0.553 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009305/0.6655, allocations: 0.7295 MB / 0.5538 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6655, allocations: 1.438 kB / 0.5538 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.6658, allocations: 71.66 kB / 0.5538 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.99e-05/0.6659, allocations: 21.81 kB / 0.5538 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.6659, allocations: 12.75 kB / 0.5539 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005922/0.6665, allocations: 1.378 MB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6665, allocations: 1.906 kB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.6672, allocations: 475 kB / 0.5557 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.6672, allocations: 112.6 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.6673, allocations: 7.188 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.6675, allocations: 9.562 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.6676, allocations: 27.83 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.6676, allocations: 27.25 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.6678, allocations: 191.3 kB / 0.556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6678, allocations: 0 / 0.556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.6684, allocations: 122.5 kB / 0.5561 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.0003186/0.6687, allocations: 154.6 kB / 0.5563 GB, free: 168.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005994/0.6693, allocations: 369.4 kB / 0.5566 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6693, allocations: 1.375 kB / 0.5566 GB, free: 168.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.6696, allocations: 232.9 kB / 0.5569 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.6705, allocations: 169.8 kB / 0.557 GB, free: 167.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009794/0.6715, allocations: 0.6979 MB / 0.5577 GB, free: 167.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.6717, allocations: 0.7682 MB / 0.5584 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.6721, allocations: 117.5 kB / 0.5586 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6722, allocations: 66.75 kB / 0.5586 GB, free: 166.9 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6723, allocations: 1.031 kB / 0.5586 GB, free: 166.9 MB / 478.1 MB Notification: Performance of Templates: time 0.01497/0.6872, allocations: 8.781 MB / 0.5672 GB, free: 165.1 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/jenkins/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/jenkins/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