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.001213/0.001213, allocations: 114.5 kB / 17.73 MB, free: 5.297 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.001183/0.001184, allocations: 187 kB / 18.67 MB, free: 4.363 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.373/1.373, allocations: 205.1 MB / 224.5 MB, free: 12.18 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.001745/0.001745, allocations: 51.91 kB / 328.1 MB, free: 3.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09157, allocations: 46.62 MB / 374.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3898/0.4814, allocations: 173.6 MB / 0.5355 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.4859, allocations: 3.223 MB / 0.5386 GB, free: 14.42 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.4862, allocations: 8 kB / 0.5386 GB, free: 14.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.4868, allocations: 170.9 kB / 0.5388 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008833/0.4876, allocations: 393.8 kB / 0.5392 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.4885, allocations: 347.8 kB / 0.5395 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.4896, allocations: 0.8992 MB / 0.5404 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.4899, allocations: 104.7 kB / 0.5405 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.492, allocations: 0.7909 MB / 0.5412 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.4925, allocations: 271 kB / 0.5415 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.4926, allocations: 32 kB / 0.5415 GB, free: 11.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003537/0.4929, allocations: 119.9 kB / 0.5416 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.4931, allocations: 95.72 kB / 0.5417 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.4933, allocations: 187.2 kB / 0.5419 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.4941, allocations: 0.517 MB / 0.5424 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4941, allocations: 0 / 0.5424 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4941, allocations: 4 kB / 0.5424 GB, free: 10.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4941, allocations: 0 / 0.5424 GB, free: 10.52 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.0009949/0.4951, allocations: 0.5959 MB / 0.543 GB, free: 9.867 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4952, allocations: 12.03 kB / 0.543 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.161e-05/0.4952, allocations: 62.53 kB / 0.5431 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.4955, allocations: 47.8 kB / 0.5431 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.4961, allocations: 294.5 kB / 0.5434 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.4961, allocations: 20.5 kB / 0.5434 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.202e-05/0.4962, allocations: 27.94 kB / 0.5434 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.4967, allocations: 319.7 kB / 0.5437 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.4967, allocations: 3.938 kB / 0.5438 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.4968, allocations: 12 kB / 0.5438 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.4968, allocations: 11.98 kB / 0.5438 GB, free: 9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.4972, allocations: 201.6 kB / 0.544 GB, free: 8.805 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.002105/0.4993, allocations: 1.597 MB / 0.5455 GB, free: 7.059 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.4997, allocations: 171.2 kB / 0.5457 GB, free: 6.883 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.4998, allocations: 104.7 kB / 0.5458 GB, free: 6.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.4999, allocations: 4 kB / 0.5458 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4999, allocations: 34.56 kB / 0.5458 GB, free: 6.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 3.216e-06/0.4999, allocations: 4 kB / 0.5458 GB, free: 6.727 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.005893/0.5058, allocations: 1.615 MB / 0.5474 GB, free: 4.984 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5059, allocations: 55.41 kB / 0.5475 GB, free: 4.918 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.5063, allocations: 261 kB / 0.5477 GB, free: 4.656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.5063, allocations: 29.7 kB / 0.5477 GB, free: 4.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.5065, allocations: 176.5 kB / 0.5479 GB, free: 4.441 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.5066, allocations: 103.1 kB / 0.548 GB, free: 4.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.5067, allocations: 81.69 kB / 0.5481 GB, free: 4.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5069, allocations: 334.8 kB / 0.5484 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.5071, allocations: 91.95 kB / 0.5485 GB, free: 3.828 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.5074, allocations: 191.7 kB / 0.5487 GB, free: 3.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.5078, allocations: 308.2 kB / 0.549 GB, free: 3.254 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5079, allocations: 0 / 0.549 GB, free: 3.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007426/0.5086, allocations: 407 kB / 0.5494 GB, free: 2.844 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5086, allocations: 4 kB / 0.5494 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5086, allocations: 4 kB / 0.5494 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.5089, allocations: 77.67 kB / 0.5494 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.5093, allocations: 79.89 kB / 0.5495 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.5111, allocations: 1.963 MB / 0.5514 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.5113, allocations: 9.5 kB / 0.5514 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.5114, allocations: 40 kB / 0.5515 GB, free: 0.5039 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.0002216/0.5116, allocations: 162.4 kB / 0.5516 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.5117, allocations: 27.81 kB / 0.5517 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1801/0.6918, allocations: 432.2 kB / 0.5521 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6918, allocations: 4.484 kB / 0.5521 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6918, allocations: 1.094 kB / 0.5521 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000588/0.6924, allocations: 0.5612 MB / 0.5526 GB, free: 169.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.6936, allocations: 0.7308 MB / 0.5533 GB, free: 169.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6936, allocations: 1.375 kB / 0.5533 GB, free: 169.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.6939, allocations: 77.11 kB / 0.5534 GB, free: 169.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-05/0.694, allocations: 20.52 kB / 0.5534 GB, free: 169.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.694, allocations: 13.62 kB / 0.5534 GB, free: 169.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006627/0.6947, allocations: 1.378 MB / 0.5548 GB, free: 168.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6947, allocations: 0 / 0.5548 GB, free: 168.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.6954, allocations: 486.9 kB / 0.5553 GB, free: 168 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.6955, allocations: 100.2 kB / 0.5553 GB, free: 167.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.6955, allocations: 14.72 kB / 0.5554 GB, free: 167.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.6957, allocations: 12.33 kB / 0.5554 GB, free: 167.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/0.6958, allocations: 21.88 kB / 0.5554 GB, free: 167.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.6959, allocations: 30.41 kB / 0.5554 GB, free: 167.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.6961, allocations: 189.4 kB / 0.5556 GB, free: 167.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6961, allocations: 0 / 0.5556 GB, free: 167.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005928/0.6967, allocations: 124.8 kB / 0.5557 GB, free: 167.9 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.001135/0.6979, allocations: 1.058 MB / 0.5568 GB, free: 167.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.6985, allocations: 381.1 kB / 0.5571 GB, free: 167 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6986, allocations: 3.969 kB / 0.5571 GB, free: 167 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.6988, allocations: 233.6 kB / 0.5573 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.6998, allocations: 166.5 kB / 0.5575 GB, free: 166.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.7034, allocations: 3.19 MB / 0.5606 GB, free: 165 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.7037, allocations: 0.7635 MB / 0.5614 GB, free: 164.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000486/0.7041, allocations: 122.5 kB / 0.5615 GB, free: 164.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.7044, allocations: 136.2 kB / 0.5616 GB, free: 164.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7044, allocations: 0 / 0.5616 GB, free: 164.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05598/0.7604, allocations: 11.9 MB / 0.5732 GB, free: 160.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.97, allocations: 17.62 kB / 0.5732 GB, free: 160.6 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