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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 121.5 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 207.6 MB / 232.5 MB, free: 3.938 MB / 174.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 60.55 kB / 343 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.08006, allocations: 49.13 MB / 392.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3369/0.417, allocations: 174.2 MB / 0.5531 GB, free: 4.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.421, allocations: 3.246 MB / 0.5562 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.4211, allocations: 7.938 kB / 0.5562 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.4217, allocations: 170.9 kB / 0.5564 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007889/0.4224, allocations: 409.5 kB / 0.5568 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.4232, allocations: 345.6 kB / 0.5571 GB, free: 236 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009482/0.4242, allocations: 0.8915 MB / 0.558 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4244, allocations: 88.61 kB / 0.5581 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.426, allocations: 0.8077 MB / 0.5589 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.4264, allocations: 282.9 kB / 0.5591 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.4265, allocations: 35.98 kB / 0.5592 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.4267, allocations: 119.9 kB / 0.5593 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4268, allocations: 103.7 kB / 0.5594 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.427, allocations: 187.2 kB / 0.5596 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.4277, allocations: 0.5217 MB / 0.5601 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4277, allocations: 0 / 0.5601 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4277, allocations: 0 / 0.5601 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4277, allocations: 4 kB / 0.5601 GB, free: 13.2 MB / 446.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.0008813/0.4286, allocations: 0.5921 MB / 0.5607 GB, free: 12.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4286, allocations: 16.02 kB / 0.5607 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.571e-05/0.4286, allocations: 4.562 kB / 0.5607 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.344e-05/0.4287, allocations: 62.55 kB / 0.5607 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.429, allocations: 43.8 kB / 0.5608 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.4294, allocations: 294.5 kB / 0.5611 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4294, allocations: 16.56 kB / 0.5611 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.4295, allocations: 24 kB / 0.5611 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.43, allocations: 323.6 kB / 0.5614 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.43, allocations: 4 kB / 0.5614 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.43, allocations: 15.98 kB / 0.5614 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4301, allocations: 8.812 kB / 0.5614 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.4304, allocations: 201.6 kB / 0.5616 GB, free: 11.49 MB / 446.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.001878/0.4323, allocations: 1.589 MB / 0.5632 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.4326, allocations: 171 kB / 0.5633 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.4327, allocations: 88.77 kB / 0.5634 GB, free: 9.484 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.4328, allocations: 15.98 kB / 0.5634 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4328, allocations: 30.56 kB / 0.5635 GB, free: 9.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/0.4328, allocations: 0 / 0.5635 GB, free: 9.43 MB / 446.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.005612/0.4384, allocations: 1.616 MB / 0.565 GB, free: 7.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.4384, allocations: 59.41 kB / 0.5651 GB, free: 7.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.4387, allocations: 253 kB / 0.5653 GB, free: 7.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.4388, allocations: 33.7 kB / 0.5654 GB, free: 7.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.4389, allocations: 176.5 kB / 0.5655 GB, free: 7.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.439, allocations: 99.16 kB / 0.5656 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.4391, allocations: 81.64 kB / 0.5657 GB, free: 6.961 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4393, allocations: 342.8 kB / 0.566 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.4394, allocations: 87.95 kB / 0.5661 GB, free: 6.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.4397, allocations: 199.1 kB / 0.5663 GB, free: 6.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.4401, allocations: 300.3 kB / 0.5666 GB, free: 5.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4401, allocations: 4 kB / 0.5666 GB, free: 5.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006775/0.4408, allocations: 402.8 kB / 0.567 GB, free: 5.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4408, allocations: 11.91 kB / 0.567 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4408, allocations: 0 / 0.567 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.4411, allocations: 73.67 kB / 0.5671 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.4414, allocations: 83.89 kB / 0.5671 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.443, allocations: 1.951 MB / 0.5691 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.4432, allocations: 8.031 kB / 0.5691 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.4432, allocations: 43.98 kB / 0.5691 GB, free: 3.211 MB / 446.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.0001765/0.4434, allocations: 157.6 kB / 0.5693 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.4435, allocations: 31.81 kB / 0.5693 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.4443, allocations: 437.8 kB / 0.5697 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4443, allocations: 8 kB / 0.5697 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.4443, allocations: 3.938 kB / 0.5697 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005901/0.4449, allocations: 0.5591 MB / 0.5703 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.446, allocations: 0.7392 MB / 0.571 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.446, allocations: 0 / 0.571 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.4463, allocations: 71.95 kB / 0.571 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/0.4464, allocations: 20.84 kB / 0.5711 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4464, allocations: 12 kB / 0.5711 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.4474, allocations: 1.39 MB / 0.5724 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4474, allocations: 4.031 kB / 0.5724 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.4481, allocations: 479.2 kB / 0.5729 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.4482, allocations: 101 kB / 0.573 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.4482, allocations: 8 kB / 0.573 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4485, allocations: 8 kB / 0.573 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.4485, allocations: 23.97 kB / 0.573 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.4486, allocations: 31.98 kB / 0.5731 GB, free: 14.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.4488, allocations: 190 kB / 0.5732 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4488, allocations: 0 / 0.5732 GB, free: 14.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.4493, allocations: 127.9 kB / 0.5734 GB, free: 14.48 MB / 462.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.001307/0.4506, allocations: 1.055 MB / 0.5744 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.4513, allocations: 363.2 kB / 0.5747 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4513, allocations: 0 / 0.5747 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.4517, allocations: 230.5 kB / 0.575 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.4526, allocations: 152.4 kB / 0.5751 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.4567, allocations: 3.207 MB / 0.5782 GB, free: 9.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.4571, allocations: 0.7722 MB / 0.579 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003746/0.4575, allocations: 110.9 kB / 0.5791 GB, free: 8.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.4578, allocations: 135.4 kB / 0.5792 GB, free: 8.203 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4578, allocations: 0 / 0.5792 GB, free: 8.203 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.4948, allocations: 12.01 MB / 0.591 GB, free: 12.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.28, allocations: 12 kB / 0.591 GB, free: 12.11 MB / 478.1 MB " [Timeout remaining time 648] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.688829689053819]