Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.005471/0.005471, allocations: 114.2 kB / 21.97 MB, free: 5.227 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.001593/0.001593, allocations: 216.3 kB / 25.28 MB, free: 3.246 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.246/1.246, allocations: 207.6 MB / 236 MB, free: 9.996 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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",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.001568/0.001568, allocations: 51.92 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2186, allocations: 49.16 MB / 397.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02961/0.2482, allocations: 33.04 MB / 430.2 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.2666, allocations: 15.87 MB / 446.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2669, allocations: 7.938 kB / 446.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.2676, allocations: 270.4 kB / 446.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.2682, allocations: 365.9 kB / 446.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.2823, allocations: 5.799 MB / 452.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2836, allocations: 1.021 MB / 453.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2838, allocations: 85.22 kB / 453.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.2884, allocations: 2.216 MB / 455.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.2889, allocations: 314.8 kB / 456.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.589e-05/0.289, allocations: 44 kB / 456.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.2998, allocations: 6.084 MB / 462.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2999, allocations: 115.6 kB / 462.4 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.3002, allocations: 231.2 kB / 462.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006197/0.3064, allocations: 3.8 MB / 466.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3064, allocations: 0 / 466.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3064, allocations: 0 / 466.4 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3065, allocations: 4 kB / 466.4 MB, free: 13.89 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001844/0.3083, allocations: 0.9434 MB / 467.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3083, allocations: 19.92 kB / 467.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.646e-05/0.3084, allocations: 8.844 kB / 467.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/0.3084, allocations: 66.72 kB / 467.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.3096, allocations: 152.6 kB / 467.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004651/0.3101, allocations: 269.9 kB / 467.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3101, allocations: 24.97 kB / 467.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.3102, allocations: 35.94 kB / 467.9 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.3114, allocations: 0.5114 MB / 468.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3114, allocations: 4 kB / 468.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.3114, allocations: 20 kB / 468.4 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3114, allocations: 8 kB / 468.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006301/0.312, allocations: 326.3 kB / 468.8 MB, free: 11.41 MB / 382.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.002894/0.3149, allocations: 2.448 MB / 471.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.3155, allocations: 262.7 kB / 471.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.3157, allocations: 108.8 kB / 471.6 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05561/0.3713, allocations: 16.79 MB / 488.4 MB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.3713, allocations: 34.56 kB / 488.4 MB, free: 7.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.833e-06/0.3713, allocations: 0 / 488.4 MB, free: 7.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003326/0.3747, allocations: 1.057 MB / 489.5 MB, free: 6.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3747, allocations: 55.41 kB / 489.5 MB, free: 6.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.375, allocations: 261.8 kB / 489.8 MB, free: 6.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.375, allocations: 37.64 kB / 489.8 MB, free: 6.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3752, allocations: 188.4 kB / 490 MB, free: 5.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3753, allocations: 119 kB / 490.1 MB, free: 5.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3754, allocations: 78.12 kB / 490.2 MB, free: 5.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3755, allocations: 338.8 kB / 490.5 MB, free: 5.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.3757, allocations: 96.83 kB / 490.6 MB, free: 5.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.376, allocations: 206.9 kB / 490.8 MB, free: 4.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.3764, allocations: 342.3 kB / 491.1 MB, free: 4.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.3765, allocations: 4 kB / 491.2 MB, free: 4.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007516/0.3772, allocations: 415.1 kB / 491.6 MB, free: 4.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3772, allocations: 8 kB / 491.6 MB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3772, allocations: 4 kB / 491.6 MB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.3775, allocations: 57.69 kB / 491.6 MB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.3779, allocations: 91.83 kB / 491.7 MB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.3797, allocations: 2.422 MB / 494.1 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3799, allocations: 20 kB / 494.2 MB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.38, allocations: 16 kB / 494.2 MB, free: 1.359 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0001934/0.3801, allocations: 157.9 kB / 494.3 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.3802, allocations: 35.81 kB / 494.4 MB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.3813, allocations: 0.9024 MB / 495.3 MB, free: 252 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.3814, allocations: 11.92 kB / 495.3 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3814, allocations: 0 / 495.3 MB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001046/0.3824, allocations: 1.065 MB / 496.3 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3842, allocations: 1.51 MB / 497.9 MB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3842, allocations: 4 kB / 497.9 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.3844, allocations: 51.92 kB / 497.9 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.3847, allocations: 72.78 kB / 498 MB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.3847, allocations: 8 kB / 498 MB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004176/0.3852, allocations: 0.6031 MB / 498.6 MB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3852, allocations: 0 / 498.6 MB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3862, allocations: 0.8427 MB / 499.4 MB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.3863, allocations: 43.73 kB / 499.5 MB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.3863, allocations: 11.89 kB / 499.5 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.3866, allocations: 28.12 kB / 499.5 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3866, allocations: 19.91 kB / 499.5 MB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.3867, allocations: 15.98 kB / 499.5 MB, free: 11.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002485/0.3869, allocations: 235.1 kB / 499.8 MB, free: 11.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3869, allocations: 0 / 499.8 MB, free: 11.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002126/0.3891, allocations: 0.8657 MB / 0.4889 GB, free: 10.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004697/0.3938, allocations: 2.26 MB / 0.4911 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.3946, allocations: 487.5 kB / 0.4916 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3947, allocations: 0 / 0.4916 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.395, allocations: 236.4 kB / 0.4918 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.396, allocations: 188.8 kB / 0.492 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.4017, allocations: 4.001 MB / 0.4959 GB, free: 3.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.4022, allocations: 0.8172 MB / 0.4967 GB, free: 2.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003781/0.4025, allocations: 186.9 kB / 0.4969 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.4027, allocations: 143.4 kB / 0.497 GB, free: 2.102 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4027, allocations: 0 / 0.497 GB, free: 2.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07665/0.4794, allocations: 40.16 MB / 0.5362 GB, free: 9.828 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.45, allocations: 12.02 kB / 0.5362 GB, free: 9.816 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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: 17.527994156000204]