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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 103.5 kB / 17.58 MB, free: 5.414 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.001192/0.001192, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.303/1.303, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.00155/0.00155, allocations: 55.92 kB / 280.8 MB, free: 3.066 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08277/0.08433, allocations: 46.63 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3546/0.439, allocations: 173.6 MB / 0.4893 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.4431, allocations: 3.204 MB / 0.4924 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.4436, allocations: 11.94 kB / 0.4924 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.4443, allocations: 171 kB / 0.4926 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.4455, allocations: 407.5 kB / 0.493 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.4464, allocations: 337.2 kB / 0.4933 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.4476, allocations: 0.8992 MB / 0.4942 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.4479, allocations: 112.6 kB / 0.4943 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.4499, allocations: 0.7948 MB / 0.495 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.4504, allocations: 271 kB / 0.4953 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.4505, allocations: 28 kB / 0.4953 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.4508, allocations: 127.9 kB / 0.4954 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.451, allocations: 99.66 kB / 0.4955 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.4512, allocations: 175.3 kB / 0.4957 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.4519, allocations: 0.5141 MB / 0.4962 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4519, allocations: 4 kB / 0.4962 GB, free: 2.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4519, allocations: 0 / 0.4962 GB, free: 2.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4519, allocations: 0 / 0.4962 GB, free: 2.137 MB / 398.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.000997/0.4529, allocations: 0.5931 MB / 0.4968 GB, free: 1.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.453, allocations: 12.03 kB / 0.4968 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.918e-05/0.4531, allocations: 62.53 kB / 0.4969 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.4534, allocations: 39.72 kB / 0.4969 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.4537, allocations: 294.3 kB / 0.4972 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4538, allocations: 16.56 kB / 0.4972 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.4538, allocations: 24 kB / 0.4972 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.4543, allocations: 319.7 kB / 0.4975 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4543, allocations: 7.938 kB / 0.4975 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.4544, allocations: 12 kB / 0.4975 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4544, allocations: 8 kB / 0.4976 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.4547, allocations: 205.5 kB / 0.4978 GB, free: 452 kB / 398.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.001688/0.4564, allocations: 1.596 MB / 0.4993 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.4567, allocations: 175 kB / 0.4995 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.4568, allocations: 96.77 kB / 0.4996 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.4569, allocations: 8 kB / 0.4996 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.4569, allocations: 34.56 kB / 0.4996 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.4569, allocations: 0 / 0.4996 GB, free: 14.37 MB / 414.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.005546/0.4624, allocations: 1.62 MB / 0.5012 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4625, allocations: 59.39 kB / 0.5013 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4628, allocations: 249 kB / 0.5015 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.4628, allocations: 33.7 kB / 0.5015 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4629, allocations: 176.2 kB / 0.5017 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.463, allocations: 90.66 kB / 0.5018 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4631, allocations: 89.38 kB / 0.5019 GB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4632, allocations: 338.8 kB / 0.5022 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.4634, allocations: 87.95 kB / 0.5023 GB, free: 11.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.4636, allocations: 191.6 kB / 0.5024 GB, free: 11.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.464, allocations: 311.8 kB / 0.5027 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.464, allocations: 0 / 0.5027 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006159/0.4646, allocations: 395.2 kB / 0.5031 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4647, allocations: 8 kB / 0.5031 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4647, allocations: 11.97 kB / 0.5031 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.4649, allocations: 70.09 kB / 0.5032 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.4652, allocations: 87.89 kB / 0.5033 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.4666, allocations: 1.95 MB / 0.5052 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.4668, allocations: 8.75 kB / 0.5052 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.4668, allocations: 40.17 kB / 0.5052 GB, free: 8.148 MB / 414.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.0001543/0.467, allocations: 158.7 kB / 0.5054 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.4671, allocations: 27.62 kB / 0.5054 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009113/0.468, allocations: 444.2 kB / 0.5058 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.468, allocations: 4 kB / 0.5059 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.468, allocations: 0 / 0.5059 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004854/0.4685, allocations: 0.563 MB / 0.5064 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.4695, allocations: 0.7387 MB / 0.5071 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4695, allocations: 4 kB / 0.5071 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.4698, allocations: 71.89 kB / 0.5072 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.165e-05/0.4699, allocations: 20.84 kB / 0.5072 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.4699, allocations: 15.98 kB / 0.5072 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007888/0.4707, allocations: 1.386 MB / 0.5086 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4707, allocations: 8.016 kB / 0.5086 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.4713, allocations: 466.6 kB / 0.509 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.4714, allocations: 108.8 kB / 0.5091 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.4714, allocations: 8 kB / 0.5091 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.4717, allocations: 8.125 kB / 0.5092 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.4717, allocations: 23.97 kB / 0.5092 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.4718, allocations: 31.98 kB / 0.5092 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.4719, allocations: 190 kB / 0.5094 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4719, allocations: 0 / 0.5094 GB, free: 3.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.4724, allocations: 120 kB / 0.5095 GB, free: 3.418 MB / 414.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.001092/0.4735, allocations: 1.07 MB / 0.5105 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006401/0.4742, allocations: 386.3 kB / 0.5109 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4742, allocations: 0.8125 kB / 0.5109 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.4745, allocations: 234.7 kB / 0.5111 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.4754, allocations: 164.2 kB / 0.5113 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.4791, allocations: 3.198 MB / 0.5144 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4795, allocations: 0.7606 MB / 0.5152 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005496/0.48, allocations: 110.9 kB / 0.5153 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.4803, allocations: 135.4 kB / 0.5154 GB, free: 13.11 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4803, allocations: 0 / 0.5154 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05095/0.5313, allocations: 11.77 MB / 0.5269 GB, free: 1.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.89, allocations: 16.47 kB / 0.5269 GB, free: 1.25 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > 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