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.005524/0.005524, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001537/0.001537, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.289/1.289, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.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.001615/0.001615, allocations: 43.94 kB / 348 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2177, allocations: 49.15 MB / 397.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.1872/0.4049, allocations: 174.4 MB / 0.5582 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.4091, allocations: 3.247 MB / 0.5613 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.4093, allocations: 7.938 kB / 0.5613 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.4098, allocations: 170.9 kB / 0.5615 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008157/0.4106, allocations: 417.5 kB / 0.5619 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.4115, allocations: 359.3 kB / 0.5622 GB, free: 144 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.1987/0.6102, allocations: 0.9037 MB / 0.5631 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.6103, allocations: 77.62 kB / 0.5632 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.612, allocations: 0.8146 MB / 0.564 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.6124, allocations: 287 kB / 0.5643 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.6125, allocations: 31.5 kB / 0.5643 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.6128, allocations: 119.5 kB / 0.5644 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.6128, allocations: 101.5 kB / 0.5645 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.613, allocations: 185.7 kB / 0.5647 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.6136, allocations: 0.5156 MB / 0.5652 GB, free: 2.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6136, allocations: 0.875 kB / 0.5652 GB, free: 2.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.6136, allocations: 1.984 kB / 0.5652 GB, free: 2.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.6136, allocations: 1 kB / 0.5652 GB, free: 2.32 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.0007916/0.6144, allocations: 0.5224 MB / 0.5657 GB, free: 17.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6144, allocations: 14.16 kB / 0.5657 GB, free: 17.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.012e-05/0.6144, allocations: 8.219 kB / 0.5657 GB, free: 17.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.6145, allocations: 59.64 kB / 0.5658 GB, free: 17.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.6148, allocations: 45.05 kB / 0.5658 GB, free: 17.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.6152, allocations: 224.2 kB / 0.566 GB, free: 17.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.6152, allocations: 24.59 kB / 0.5661 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.6152, allocations: 23.94 kB / 0.5661 GB, free: 17.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.6157, allocations: 321.6 kB / 0.5664 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6157, allocations: 1.625 kB / 0.5664 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.6157, allocations: 11.5 kB / 0.5664 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.6157, allocations: 7.219 kB / 0.5664 GB, free: 17.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.616, allocations: 205.9 kB / 0.5666 GB, free: 17.67 MB / 494.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.001679/0.6177, allocations: 1.558 MB / 0.5681 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.618, allocations: 163.8 kB / 0.5683 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.6181, allocations: 92.5 kB / 0.5684 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.6181, allocations: 4.781 kB / 0.5684 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.6182, allocations: 37.41 kB / 0.5684 GB, free: 16.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.6182, allocations: 0 / 0.5684 GB, free: 16.45 MB / 494.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.004823/0.623, allocations: 1.325 MB / 0.5697 GB, free: 16.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.623, allocations: 56.47 kB / 0.5698 GB, free: 16.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.6232, allocations: 257.5 kB / 0.57 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.6233, allocations: 31.77 kB / 0.57 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.6234, allocations: 171.9 kB / 0.5702 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.6234, allocations: 105.8 kB / 0.5703 GB, free: 15.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6235, allocations: 79.84 kB / 0.5704 GB, free: 15.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6237, allocations: 343.8 kB / 0.5707 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.6238, allocations: 86.66 kB / 0.5708 GB, free: 15.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.624, allocations: 192.6 kB / 0.571 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.6243, allocations: 310.1 kB / 0.5713 GB, free: 15.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6243, allocations: 2.812 kB / 0.5713 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005929/0.6249, allocations: 399.3 kB / 0.5716 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6249, allocations: 6.031 kB / 0.5716 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.625, allocations: 3.188 kB / 0.5717 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.6251, allocations: 82.31 kB / 0.5717 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.6255, allocations: 80.22 kB / 0.5718 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.6268, allocations: 1.851 MB / 0.5736 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.627, allocations: 8.281 kB / 0.5736 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.6271, allocations: 45.44 kB / 0.5737 GB, free: 13.33 MB / 494.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.0001639/0.6272, allocations: 158.7 kB / 0.5738 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.6273, allocations: 32.45 kB / 0.5738 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007283/0.628, allocations: 437.3 kB / 0.5743 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.628, allocations: 2.281 kB / 0.5743 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.628, allocations: 1.656 kB / 0.5743 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005345/0.6286, allocations: 0.5655 MB / 0.5748 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.6294, allocations: 0.6945 MB / 0.5755 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6294, allocations: 2.156 kB / 0.5755 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.6297, allocations: 68.92 kB / 0.5756 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.043e-05/0.6298, allocations: 27.61 kB / 0.5756 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.6298, allocations: 13.58 kB / 0.5756 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008796/0.6307, allocations: 1.277 MB / 0.5769 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6307, allocations: 4.828 kB / 0.5769 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.6313, allocations: 487.9 kB / 0.5773 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.6313, allocations: 26.36 kB / 0.5773 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.6314, allocations: 6.406 kB / 0.5774 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.6316, allocations: 15.06 kB / 0.5774 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.6317, allocations: 24.45 kB / 0.5774 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.6317, allocations: 30.36 kB / 0.5774 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.6319, allocations: 190.3 kB / 0.5776 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6319, allocations: 1.203 kB / 0.5776 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.6323, allocations: 126.4 kB / 0.5777 GB, free: 10.86 MB / 494.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.00112/0.6335, allocations: 1.057 MB / 0.5788 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.634, allocations: 365.2 kB / 0.5791 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.634, allocations: 2 kB / 0.5791 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.6343, allocations: 223.5 kB / 0.5793 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008781/0.6352, allocations: 166.4 kB / 0.5795 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.6388, allocations: 3.205 MB / 0.5826 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.6391, allocations: 0.7656 MB / 0.5834 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003579/0.6395, allocations: 119.9 kB / 0.5835 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.6397, allocations: 124.3 kB / 0.5836 GB, free: 7.516 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6397, allocations: 0.9688 kB / 0.5836 GB, free: 7.516 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.6754, allocations: 12.25 MB / 0.5955 GB, free: 6.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.95, allocations: 2.469 kB / 0.5956 GB, free: 6.23 MB / 494.1 MB " [Timeout remaining time 647] (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: 15.339377862983383]