Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.001323/0.001323, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001418/0.001418, allocations: 212 kB / 24.47 MB, free: 3.547 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.354/1.354, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",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.001768/0.001768, allocations: 55.92 kB / 347.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2568, allocations: 49.15 MB / 396.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03309/0.2899, allocations: 29.83 MB / 426.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01887/0.3088, allocations: 14 MB / 440.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.309, allocations: 12 kB / 440.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.3098, allocations: 246.5 kB / 440.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007984/0.3106, allocations: 362 kB / 440.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01605/0.3266, allocations: 5.723 MB / 446.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.328, allocations: 1.005 MB / 447.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.3283, allocations: 73.23 kB / 447.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004862/0.3331, allocations: 2.197 MB / 449.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.3336, allocations: 314.7 kB / 450.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.3336, allocations: 36 kB / 450.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.3448, allocations: 5.83 MB / 456 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.345, allocations: 107.7 kB / 456.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.3453, allocations: 199.3 kB / 456.3 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006497/0.3518, allocations: 3.788 MB / 460.1 MB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3518, allocations: 3.938 kB / 460.1 MB, free: 3.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3518, allocations: 0 / 460.1 MB, free: 3.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3518, allocations: 0 / 460.1 MB, free: 3.254 MB / 366.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.002024/0.3538, allocations: 0.9551 MB / 461 MB, free: 2.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3538, allocations: 11.98 kB / 461.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.3539, allocations: 74.66 kB / 461.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.3551, allocations: 152.6 kB / 461.3 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.3556, allocations: 254 kB / 461.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.3556, allocations: 36.97 kB / 461.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.3557, allocations: 32.12 kB / 461.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.3573, allocations: 0.701 MB / 462.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3573, allocations: 3.938 kB / 462.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.3573, allocations: 16 kB / 462.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3573, allocations: 8 kB / 462.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.3589, allocations: 0.4942 MB / 462.8 MB, free: 396 kB / 366.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.002861/0.3617, allocations: 1.785 MB / 464.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.3632, allocations: 426.6 kB / 465 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.3636, allocations: 164.8 kB / 465.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.3643, allocations: 191.8 kB / 465.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3643, allocations: 34.55 kB / 465.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.993e-06/0.3643, allocations: 4 kB / 465.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004624/0.3689, allocations: 1.362 MB / 466.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.369, allocations: 55.41 kB / 466.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3692, allocations: 260.9 kB / 467.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3693, allocations: 29.7 kB / 467.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3694, allocations: 188.5 kB / 467.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3695, allocations: 123 kB / 467.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3696, allocations: 74.12 kB / 467.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3698, allocations: 342.8 kB / 467.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.3702, allocations: 136.8 kB / 468 MB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.3707, allocations: 239.4 kB / 468.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008659/0.3715, allocations: 394.8 kB / 468.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3715, allocations: 0 / 468.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001292/0.3728, allocations: 0.5073 MB / 469.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3729, allocations: 12.28 kB / 469.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3729, allocations: 4 kB / 469.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.3734, allocations: 102.5 kB / 469.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.3737, allocations: 87.88 kB / 469.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.3759, allocations: 2.395 MB / 471.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.3762, allocations: 32 kB / 471.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.3762, allocations: 16.34 kB / 471.7 MB, free: 7.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.3764, allocations: 173.5 kB / 471.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.3765, allocations: 31.81 kB / 471.9 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.3786, allocations: 1.371 MB / 473.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/0.3786, allocations: 19.97 kB / 473.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3786, allocations: 0 / 473.3 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001937/0.3806, allocations: 1.464 MB / 474.8 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.3837, allocations: 2.031 MB / 476.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3837, allocations: 0 / 476.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.3841, allocations: 91.86 kB / 476.9 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000336/0.3844, allocations: 80.72 kB / 477 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.3844, allocations: 8 kB / 477 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004784/0.3849, allocations: 0.5952 MB / 477.6 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3849, allocations: 4.031 kB / 477.6 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.3871, allocations: 1.307 MB / 478.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3872, allocations: 63.44 kB / 479 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.3873, allocations: 15.89 kB / 479 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.3875, allocations: 24.05 kB / 479 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3876, allocations: 39.92 kB / 479 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.3877, allocations: 8 kB / 479 MB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.388, allocations: 235 kB / 479.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.388, allocations: 4 kB / 479.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002488/0.3905, allocations: 0.8618 MB / 480.1 MB, free: 14.39 MB / 398.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.005866/0.3963, allocations: 2.739 MB / 482.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.3977, allocations: 0.6385 MB / 483.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3977, allocations: 4 kB / 483.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006939/0.3984, allocations: 382.3 kB / 483.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.3995, allocations: 196.7 kB / 484.1 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/0.4074, allocations: 4.594 MB / 488.7 MB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.4076, allocations: 269 kB / 488.9 MB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003865/0.408, allocations: 147 kB / 489.1 MB, free: 5.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.4083, allocations: 191.4 kB / 489.3 MB, free: 5.004 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4083, allocations: 3.938 kB / 489.3 MB, free: 5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09356/0.5019, allocations: 42.51 MB / 0.5193 GB, free: 10.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/14.65, allocations: 3.859 kB / 0.5193 GB, free: 10.36 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_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_WaterIF97_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.414704363793135]