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.001135/0.001135, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001121/0.001121, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.292/1.292, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001216/0.001216, allocations: 56.39 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08582, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3597/0.4455, allocations: 173.6 MB / 0.5355 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.4495, allocations: 3.219 MB / 0.5386 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.4499, allocations: 7.938 kB / 0.5386 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.4506, allocations: 170.9 kB / 0.5388 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.4516, allocations: 409.7 kB / 0.5392 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000918/0.4526, allocations: 347.8 kB / 0.5395 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.4536, allocations: 0.8914 MB / 0.5404 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.4539, allocations: 104.7 kB / 0.5405 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.4557, allocations: 0.7934 MB / 0.5412 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.4561, allocations: 275 kB / 0.5415 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.234e-05/0.4562, allocations: 32 kB / 0.5415 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.4565, allocations: 123.9 kB / 0.5417 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.4566, allocations: 99.66 kB / 0.5417 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.4569, allocations: 187.3 kB / 0.5419 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.4575, allocations: 0.5092 MB / 0.5424 GB, free: 10.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4575, allocations: 4 kB / 0.5424 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.4575, allocations: 3.984 kB / 0.5424 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.4575, allocations: 0 / 0.5424 GB, free: 10.61 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.0008833/0.4584, allocations: 0.5921 MB / 0.543 GB, free: 9.965 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4584, allocations: 12.03 kB / 0.543 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.738e-05/0.4585, allocations: 66.47 kB / 0.5431 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.4588, allocations: 39.81 kB / 0.5431 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.4593, allocations: 294.5 kB / 0.5434 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4593, allocations: 16.56 kB / 0.5434 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.4594, allocations: 24 kB / 0.5434 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.4599, allocations: 327.6 kB / 0.5438 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.4599, allocations: 7.922 kB / 0.5438 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.4599, allocations: 12 kB / 0.5438 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4599, allocations: 8 kB / 0.5438 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.4603, allocations: 201.5 kB / 0.544 GB, free: 8.906 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.001819/0.4621, allocations: 1.597 MB / 0.5455 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.4624, allocations: 171.1 kB / 0.5457 GB, free: 6.984 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.4626, allocations: 109.6 kB / 0.5458 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.4626, allocations: 4 kB / 0.5458 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4627, allocations: 38.56 kB / 0.5458 GB, free: 6.824 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.4627, allocations: 0 / 0.5458 GB, free: 6.824 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.005601/0.4683, allocations: 1.618 MB / 0.5474 GB, free: 5.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4683, allocations: 55.41 kB / 0.5475 GB, free: 5.008 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.4686, allocations: 257 kB / 0.5477 GB, free: 4.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.4687, allocations: 29.7 kB / 0.5477 GB, free: 4.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4688, allocations: 176.5 kB / 0.5479 GB, free: 4.535 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.4689, allocations: 107.1 kB / 0.548 GB, free: 4.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.469, allocations: 81.69 kB / 0.5481 GB, free: 4.344 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4692, allocations: 338.8 kB / 0.5484 GB, free: 4.004 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.4694, allocations: 91.95 kB / 0.5485 GB, free: 3.914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.4697, allocations: 183.8 kB / 0.5487 GB, free: 3.691 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.4701, allocations: 308.2 kB / 0.549 GB, free: 3.348 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4701, allocations: 0.875 kB / 0.549 GB, free: 3.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006585/0.4708, allocations: 406.8 kB / 0.5494 GB, free: 2.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4708, allocations: 4 kB / 0.5494 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4708, allocations: 4 kB / 0.5494 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.471, allocations: 74.08 kB / 0.5494 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.4714, allocations: 87.84 kB / 0.5495 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.4727, allocations: 1.952 MB / 0.5514 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.4729, allocations: 11.94 kB / 0.5514 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.473, allocations: 40 kB / 0.5515 GB, free: 0.6016 MB / 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.0001576/0.4732, allocations: 166.5 kB / 0.5516 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.4732, allocations: 27.81 kB / 0.5517 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1631/0.6364, allocations: 436.1 kB / 0.5521 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.6364, allocations: 2.75 kB / 0.5521 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6364, allocations: 1.375 kB / 0.5521 GB, free: 170.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006276/0.6371, allocations: 0.5612 MB / 0.5526 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.6382, allocations: 0.727 MB / 0.5533 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6382, allocations: 5.75 kB / 0.5534 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.6386, allocations: 70.05 kB / 0.5534 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.655e-05/0.6387, allocations: 23.75 kB / 0.5534 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.6387, allocations: 13.94 kB / 0.5535 GB, free: 169.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000599/0.6393, allocations: 1.382 MB / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6393, allocations: 2.844 kB / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.6399, allocations: 475.8 kB / 0.5553 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.64, allocations: 105.6 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.6401, allocations: 11 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.6403, allocations: 8.234 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.6404, allocations: 26.06 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.6404, allocations: 32.5 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.6406, allocations: 187 kB / 0.5556 GB, free: 168.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6406, allocations: 0 / 0.5556 GB, free: 168.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000601/0.6412, allocations: 126.6 kB / 0.5557 GB, free: 168.2 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.001119/0.6424, allocations: 1.06 MB / 0.5568 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.643, allocations: 385.5 kB / 0.5571 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.643, allocations: 0 / 0.5571 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.6433, allocations: 230.6 kB / 0.5574 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.6442, allocations: 174.2 kB / 0.5575 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.6475, allocations: 3.194 MB / 0.5606 GB, free: 165.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.6477, allocations: 0.7625 MB / 0.5614 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.6481, allocations: 118.4 kB / 0.5615 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6483, allocations: 126.2 kB / 0.5616 GB, free: 164.3 MB / 478.1 MB Notification: Performance of SimCode: time 4.3e-07/0.6483, allocations: 0 / 0.5616 GB, free: 164.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.6823, allocations: 11.91 MB / 0.5733 GB, free: 160.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.71, allocations: 14.72 kB / 0.5733 GB, free: 160.7 MB / 478.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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