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.001031/0.001031, allocations: 110.5 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.001175/0.001175, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.242/1.242, 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.00108/0.00108, allocations: 59.91 kB / 328.1 MB, free: 3.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07703/0.07812, allocations: 46.61 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.3349/0.413, allocations: 173.6 MB / 0.5355 GB, free: 1.777 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.4169, allocations: 3.219 MB / 0.5386 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.4173, allocations: 4 kB / 0.5386 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007631/0.4181, allocations: 174.9 kB / 0.5388 GB, free: 14.37 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.4192, allocations: 395.6 kB / 0.5392 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.4201, allocations: 343.8 kB / 0.5395 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008742/0.4209, allocations: 0.8953 MB / 0.5404 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.4211, allocations: 112.6 kB / 0.5405 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.4227, allocations: 0.7913 MB / 0.5412 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.423, allocations: 279 kB / 0.5415 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.423, allocations: 28 kB / 0.5415 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.4233, allocations: 123.9 kB / 0.5416 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.4234, allocations: 95.72 kB / 0.5417 GB, free: 11.33 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.4236, allocations: 179.3 kB / 0.5419 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.4242, allocations: 0.518 MB / 0.5424 GB, free: 10.63 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4242, allocations: 0 / 0.5424 GB, free: 10.63 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4242, allocations: 0 / 0.5424 GB, free: 10.63 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4242, allocations: 0 / 0.5424 GB, free: 10.63 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.0007944/0.425, allocations: 0.593 MB / 0.543 GB, free: 9.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4251, allocations: 8.031 kB / 0.543 GB, free: 9.98 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/0.4251, allocations: 62.53 kB / 0.5431 GB, free: 9.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.4254, allocations: 43.62 kB / 0.5431 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.4258, allocations: 294.3 kB / 0.5434 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4259, allocations: 24.5 kB / 0.5434 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.4259, allocations: 28 kB / 0.5434 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.4264, allocations: 315.7 kB / 0.5437 GB, free: 9.156 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4264, allocations: 7.938 kB / 0.5437 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.4265, allocations: 12 kB / 0.5438 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4265, allocations: 4 kB / 0.5438 GB, free: 9.133 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.4268, allocations: 205.6 kB / 0.544 GB, free: 8.934 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.001669/0.4285, allocations: 1.592 MB / 0.5455 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.4287, allocations: 167.2 kB / 0.5457 GB, free: 7.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.4289, allocations: 104.7 kB / 0.5458 GB, free: 6.914 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.4289, allocations: 7.984 kB / 0.5458 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.429, allocations: 34.56 kB / 0.5458 GB, free: 6.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.429, allocations: 0 / 0.5458 GB, free: 6.863 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.005264/0.4343, allocations: 1.622 MB / 0.5474 GB, free: 5.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4343, allocations: 55.41 kB / 0.5474 GB, free: 5.047 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.4345, allocations: 249 kB / 0.5477 GB, free: 4.797 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.4346, allocations: 33.7 kB / 0.5477 GB, free: 4.758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4347, allocations: 180.1 kB / 0.5479 GB, free: 4.574 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.4348, allocations: 90.66 kB / 0.548 GB, free: 4.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.4349, allocations: 77.69 kB / 0.548 GB, free: 4.402 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.435, allocations: 342.8 kB / 0.5484 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4352, allocations: 83.97 kB / 0.5485 GB, free: 3.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.4354, allocations: 195.7 kB / 0.5486 GB, free: 3.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.4358, allocations: 304.2 kB / 0.5489 GB, free: 3.402 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4358, allocations: 4 kB / 0.5489 GB, free: 3.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006103/0.4364, allocations: 402.6 kB / 0.5493 GB, free: 2.992 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4364, allocations: 8 kB / 0.5493 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4365, allocations: 4 kB / 0.5493 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.4367, allocations: 70.09 kB / 0.5494 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.437, allocations: 87.83 kB / 0.5495 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.4384, allocations: 1.966 MB / 0.5514 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.4386, allocations: 10.25 kB / 0.5514 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.563e-05/0.4386, allocations: 36 kB / 0.5514 GB, free: 0.6484 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.0001548/0.4388, allocations: 162.6 kB / 0.5516 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.4389, allocations: 27.72 kB / 0.5516 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007754/0.4397, allocations: 445.2 kB / 0.552 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4397, allocations: 0 / 0.552 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4397, allocations: 0 / 0.552 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1552/0.5949, allocations: 0.5593 MB / 0.5526 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.5959, allocations: 0.7335 MB / 0.5533 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5959, allocations: 0.875 kB / 0.5533 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.5962, allocations: 70.27 kB / 0.5534 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.784e-05/0.5963, allocations: 24.67 kB / 0.5534 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5963, allocations: 14.31 kB / 0.5534 GB, free: 170 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006083/0.597, allocations: 1.378 MB / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.597, allocations: 0 / 0.5548 GB, free: 168.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.5975, allocations: 483.3 kB / 0.5552 GB, free: 168.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.5976, allocations: 99.81 kB / 0.5553 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.5977, allocations: 6.625 kB / 0.5553 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.5979, allocations: 8.344 kB / 0.5553 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.598, allocations: 26.75 kB / 0.5554 GB, free: 168.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.598, allocations: 34.53 kB / 0.5554 GB, free: 168.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.5982, allocations: 192.5 kB / 0.5556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5982, allocations: 0 / 0.5556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.5988, allocations: 125.1 kB / 0.5557 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.001073/0.5999, allocations: 1.05 MB / 0.5567 GB, free: 167.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006147/0.6005, allocations: 387.7 kB / 0.5571 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6005, allocations: 1.203 kB / 0.5571 GB, free: 167.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.6008, allocations: 227.7 kB / 0.5573 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.6017, allocations: 172.5 kB / 0.5575 GB, free: 167.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.605, allocations: 3.181 MB / 0.5606 GB, free: 165.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.6052, allocations: 0.766 MB / 0.5613 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.6056, allocations: 120.8 kB / 0.5614 GB, free: 164.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.6058, allocations: 127.1 kB / 0.5616 GB, free: 164.5 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.6059, allocations: 0 / 0.5616 GB, free: 164.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/0.6432, allocations: 12.03 MB / 0.5733 GB, free: 160.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.13, allocations: 17.64 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 & /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