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.001457/0.001457, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001583/0.001583, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.478/1.478, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.001948/0.001948, allocations: 51.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2639, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03493/0.2989, allocations: 33.03 MB / 429.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01915/0.318, allocations: 15.86 MB / 445.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003786/0.3184, allocations: 11.94 kB / 445.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008087/0.3192, allocations: 274.4 kB / 445.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.3199, allocations: 361.9 kB / 445.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01568/0.3356, allocations: 5.803 MB / 451.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.337, allocations: 1.009 MB / 452.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.3372, allocations: 81.22 kB / 452.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.3419, allocations: 2.216 MB / 455 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.3424, allocations: 326.8 kB / 455.3 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.224e-05/0.3425, allocations: 40 kB / 455.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.3547, allocations: 6.08 MB / 461.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.355, allocations: 115.6 kB / 461.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.3553, allocations: 223.2 kB / 461.8 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009293/0.3646, allocations: 3.784 MB / 465.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3646, allocations: 4 kB / 465.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.3646, allocations: 7.984 kB / 465.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3646, allocations: 0 / 465.6 MB, free: 13.94 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.002366/0.367, allocations: 0.9668 MB / 466.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3671, allocations: 11.98 kB / 466.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.778e-05/0.3671, allocations: 78.66 kB / 466.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.3684, allocations: 156.6 kB / 466.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.3688, allocations: 261.9 kB / 467.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.3689, allocations: 29.03 kB / 467.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.3689, allocations: 36.12 kB / 467.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.3703, allocations: 0.5465 MB / 467.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3703, allocations: 0 / 467.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.3704, allocations: 12 kB / 467.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3704, allocations: 12 kB / 467.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.3718, allocations: 0.5058 MB / 468.2 MB, free: 11.23 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.003035/0.3748, allocations: 2.495 MB / 470.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.3762, allocations: 434.2 kB / 471.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.3766, allocations: 164.8 kB / 471.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/0.3772, allocations: 184.1 kB / 471.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.3773, allocations: 38.56 kB / 471.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.3773, allocations: 4 kB / 471.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004437/0.3817, allocations: 1.354 MB / 472.8 MB, free: 6.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3818, allocations: 55.41 kB / 472.9 MB, free: 6.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.382, allocations: 249 kB / 473.1 MB, free: 5.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3821, allocations: 33.7 kB / 473.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3822, allocations: 188.5 kB / 473.4 MB, free: 5.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.3823, allocations: 123 kB / 473.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3824, allocations: 78.08 kB / 473.6 MB, free: 5.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3825, allocations: 342.8 kB / 473.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.3829, allocations: 140.7 kB / 474 MB, free: 5.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.3834, allocations: 239.4 kB / 474.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.3842, allocations: 386.9 kB / 474.6 MB, free: 4.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3842, allocations: 4 kB / 474.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001248/0.3854, allocations: 0.5114 MB / 475.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3855, allocations: 11.94 kB / 475.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3855, allocations: 0 / 475.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.3859, allocations: 106.5 kB / 475.3 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.3863, allocations: 92.02 kB / 475.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.3883, allocations: 2.404 MB / 477.8 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.3886, allocations: 27.97 kB / 477.8 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.3887, allocations: 20 kB / 477.8 MB, free: 0.9922 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.0002038/0.3889, allocations: 157.7 kB / 478 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.3889, allocations: 31.81 kB / 478 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.3909, allocations: 1.371 MB / 479.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.3909, allocations: 23.97 kB / 479.4 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3909, allocations: 0 / 479.4 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001782/0.3927, allocations: 1.464 MB / 480.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.3955, allocations: 2.128 MB / 483 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3955, allocations: 0 / 483 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.3959, allocations: 95.84 kB / 483.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.3963, allocations: 72.75 kB / 483.1 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.3963, allocations: 12.06 kB / 483.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000447/0.3967, allocations: 0.603 MB / 483.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3968, allocations: 0 / 483.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.3987, allocations: 1.318 MB / 485.1 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.3988, allocations: 47.53 kB / 485.1 MB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.3988, allocations: 19.84 kB / 485.1 MB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.3991, allocations: 27.97 kB / 485.2 MB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.3992, allocations: 31.94 kB / 485.2 MB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.3992, allocations: 16 kB / 485.2 MB, free: 9.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.3995, allocations: 235 kB / 485.4 MB, free: 9.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3995, allocations: 0 / 485.4 MB, free: 9.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002405/0.4019, allocations: 0.8618 MB / 486.3 MB, free: 8.262 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.006081/0.4079, allocations: 2.735 MB / 489 MB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.4094, allocations: 0.6388 MB / 489.7 MB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4094, allocations: 0 / 489.7 MB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.4101, allocations: 386.3 kB / 490.1 MB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4112, allocations: 201.3 kB / 490.3 MB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.4193, allocations: 4.593 MB / 494.9 MB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.4198, allocations: 0.8689 MB / 495.7 MB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.4202, allocations: 147.1 kB / 495.9 MB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.4205, allocations: 187.4 kB / 496 MB, free: 14.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4205, allocations: 0 / 496 MB, free: 14.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08909/0.5096, allocations: 42.18 MB / 0.5256 GB, free: 3.977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/15.86, allocations: 7.891 kB / 0.5256 GB, free: 3.969 MB / 446.1 MB " [Timeout remaining time 644] (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: 18.809526899131015]