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.001125/0.001125, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001129/0.00113, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.299/1.299, allocations: 205.1 MB / 224.5 MB, free: 12.28 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: 52.14 kB / 328.1 MB, free: 3.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.08067, allocations: 46.61 MB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3602/0.4409, allocations: 173.6 MB / 0.5355 GB, free: 1.773 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0042/0.4451, allocations: 3.219 MB / 0.5386 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.4456, allocations: 4 kB / 0.5386 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.4462, allocations: 178.9 kB / 0.5388 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009984/0.4473, allocations: 395.6 kB / 0.5392 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.4482, allocations: 347.8 kB / 0.5395 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.4493, allocations: 0.8992 MB / 0.5404 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.4496, allocations: 108.6 kB / 0.5405 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.4514, allocations: 0.7823 MB / 0.5412 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.4519, allocations: 279 kB / 0.5415 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.452, allocations: 32 kB / 0.5415 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.4524, allocations: 123.9 kB / 0.5416 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.4525, allocations: 95.72 kB / 0.5417 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.4528, allocations: 183.3 kB / 0.5419 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.4535, allocations: 0.518 MB / 0.5424 GB, free: 10.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4535, allocations: 0 / 0.5424 GB, free: 10.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.4535, allocations: 0 / 0.5424 GB, free: 10.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.4535, allocations: 0 / 0.5424 GB, free: 10.62 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.001112/0.4547, allocations: 0.5852 MB / 0.543 GB, free: 9.984 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4547, allocations: 16.03 kB / 0.543 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.44e-05/0.4548, allocations: 58.55 kB / 0.5431 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003469/0.4552, allocations: 43.61 kB / 0.5431 GB, free: 9.859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.4558, allocations: 302.3 kB / 0.5434 GB, free: 9.523 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4558, allocations: 16.56 kB / 0.5434 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.4559, allocations: 24 kB / 0.5434 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.4564, allocations: 319.7 kB / 0.5437 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.4565, allocations: 7.875 kB / 0.5437 GB, free: 9.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.4565, allocations: 12.62 kB / 0.5438 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.4566, allocations: 8 kB / 0.5438 GB, free: 9.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.4569, allocations: 197.6 kB / 0.5439 GB, free: 8.93 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.00192/0.4588, allocations: 1.596 MB / 0.5455 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.4591, allocations: 167.1 kB / 0.5457 GB, free: 7.012 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.4593, allocations: 101.8 kB / 0.5458 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.4593, allocations: 11.98 kB / 0.5458 GB, free: 6.898 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4594, allocations: 42.5 kB / 0.5458 GB, free: 6.848 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.4594, allocations: 0 / 0.5458 GB, free: 6.848 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.005811/0.4652, allocations: 1.612 MB / 0.5474 GB, free: 5.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.4653, allocations: 55.41 kB / 0.5474 GB, free: 5.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.4655, allocations: 253 kB / 0.5477 GB, free: 4.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4656, allocations: 29.7 kB / 0.5477 GB, free: 4.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4657, allocations: 176.2 kB / 0.5479 GB, free: 4.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.4658, allocations: 98.64 kB / 0.548 GB, free: 4.473 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4659, allocations: 77.69 kB / 0.548 GB, free: 4.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.466, allocations: 338.8 kB / 0.5484 GB, free: 4.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4662, allocations: 90.53 kB / 0.5485 GB, free: 3.965 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.4665, allocations: 187.8 kB / 0.5486 GB, free: 3.738 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.4669, allocations: 308.2 kB / 0.5489 GB, free: 3.395 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4669, allocations: 0 / 0.5489 GB, free: 3.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006664/0.4675, allocations: 410.6 kB / 0.5493 GB, free: 2.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4676, allocations: 4 kB / 0.5493 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4676, allocations: 4 kB / 0.5493 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.4678, allocations: 73.62 kB / 0.5494 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.4683, allocations: 84.3 kB / 0.5495 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.4698, allocations: 1.954 MB / 0.5514 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.47, allocations: 11.98 kB / 0.5514 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.4701, allocations: 40 kB / 0.5514 GB, free: 0.6445 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.000189/0.4703, allocations: 154.4 kB / 0.5516 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.4704, allocations: 31.7 kB / 0.5516 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008313/0.4712, allocations: 452.1 kB / 0.552 GB, free: 0 / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2778/0.749, allocations: 1.734 kB / 0.552 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.7491, allocations: 1.094 kB / 0.552 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008121/0.7499, allocations: 0.5532 MB / 0.5526 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.7513, allocations: 0.7308 MB / 0.5533 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7513, allocations: 0.9375 kB / 0.5533 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.7517, allocations: 72.98 kB / 0.5534 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.7518, allocations: 21.38 kB / 0.5534 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.7518, allocations: 17.03 kB / 0.5534 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008349/0.7527, allocations: 1.377 MB / 0.5548 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7527, allocations: 2.188 kB / 0.5548 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.7535, allocations: 482.2 kB / 0.5552 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.7537, allocations: 102.2 kB / 0.5553 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.7537, allocations: 6.578 kB / 0.5553 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.7539, allocations: 12.27 kB / 0.5553 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.754, allocations: 26.17 kB / 0.5554 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/0.7541, allocations: 32.03 kB / 0.5554 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002559/0.7544, allocations: 190.6 kB / 0.5556 GB, free: 10.07 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.7544, allocations: 0 / 0.5556 GB, free: 10.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006393/0.755, allocations: 127.4 kB / 0.5557 GB, free: 10.07 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.001318/0.7563, allocations: 1.054 MB / 0.5567 GB, free: 9.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.7572, allocations: 380.2 kB / 0.5571 GB, free: 9.281 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7572, allocations: 0 / 0.5571 GB, free: 9.281 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.7575, allocations: 231.6 kB / 0.5573 GB, free: 9.172 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.7585, allocations: 165.7 kB / 0.5575 GB, free: 9.172 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.7627, allocations: 3.184 MB / 0.5606 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.7629, allocations: 0.7686 MB / 0.5613 GB, free: 6.867 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004669/0.7634, allocations: 122.6 kB / 0.5614 GB, free: 6.848 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.7637, allocations: 124.9 kB / 0.5616 GB, free: 6.84 MB / 478.1 MB Notification: Performance of SimCode: time 2.134e-06/0.7637, allocations: 1.656 kB / 0.5616 GB, free: 6.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04793/0.8116, allocations: 11.91 MB / 0.5732 GB, free: 5.754 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.65, allocations: 10.72 kB / 0.5732 GB, free: 5.746 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