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.001207/0.001207, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001262/0.001262, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.304/1.304, allocations: 207.6 MB / 232.5 MB, free: 3.918 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.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="cs",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="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.001586/0.001586, allocations: 47.94 kB / 343 MB, free: 9.961 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.08149, allocations: 49.13 MB / 392.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03427/0.1158, allocations: 32.78 MB / 424.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.1342, allocations: 15.78 MB / 440.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.1346, allocations: 7.938 kB / 440.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007593/0.1353, allocations: 270.4 kB / 441 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007775/0.1361, allocations: 365.9 kB / 441.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01347/0.1496, allocations: 5.792 MB / 447.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.1508, allocations: 0.9932 MB / 448.1 MB, free: 500 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.151, allocations: 81.05 kB / 448.2 MB, free: 416 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004328/0.1553, allocations: 2.204 MB / 450.4 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.1558, allocations: 334.8 kB / 450.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.1559, allocations: 43.94 kB / 450.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.166, allocations: 6.08 MB / 456.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.1662, allocations: 115.6 kB / 457 MB, free: 7.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.1664, allocations: 227.1 kB / 457.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006529/0.173, allocations: 3.784 MB / 461 MB, free: 3.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.173, allocations: 0 / 461 MB, free: 3.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.173, allocations: 4 kB / 461 MB, free: 3.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.173, allocations: 0 / 461 MB, free: 3.586 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.002428/0.1754, allocations: 1.042 MB / 462 MB, free: 2.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1755, allocations: 8.031 kB / 462 MB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.216e-05/0.1755, allocations: 8.844 kB / 462.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.918e-05/0.1756, allocations: 74.72 kB / 462.1 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.1768, allocations: 152.6 kB / 462.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.1773, allocations: 327.7 kB / 462.6 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.1774, allocations: 29.03 kB / 462.6 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.1774, allocations: 39.94 kB / 462.7 MB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.1789, allocations: 0.5502 MB / 463.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1789, allocations: 4 kB / 463.2 MB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.1789, allocations: 16 kB / 463.2 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.179, allocations: 8 kB / 463.2 MB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.1805, allocations: 0.4977 MB / 463.7 MB, free: 0.707 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.1427/0.3232, allocations: 2.596 MB / 466.3 MB, free: 66.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.3247, allocations: 433.9 kB / 466.8 MB, free: 66.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/0.3251, allocations: 161.4 kB / 466.9 MB, free: 66.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/0.3258, allocations: 0.5579 MB / 467.5 MB, free: 66.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3258, allocations: 36.45 kB / 467.5 MB, free: 66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.943e-06/0.3258, allocations: 0.5312 kB / 467.5 MB, free: 66 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004509/0.3303, allocations: 1.504 MB / 469 MB, free: 65.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.3304, allocations: 55.78 kB / 469.1 MB, free: 65.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.3306, allocations: 251 kB / 469.3 MB, free: 65.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3306, allocations: 32.92 kB / 469.3 MB, free: 65.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.654e-05/0.3307, allocations: 190.7 kB / 469.5 MB, free: 65.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.3308, allocations: 125.3 kB / 469.7 MB, free: 65.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3309, allocations: 77.17 kB / 469.7 MB, free: 65.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.331, allocations: 341.5 kB / 470.1 MB, free: 64.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.3313, allocations: 140.6 kB / 470.2 MB, free: 64.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.3317, allocations: 236.7 kB / 470.4 MB, free: 64.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/0.3325, allocations: 388.9 kB / 470.8 MB, free: 64.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3325, allocations: 1.375 kB / 470.8 MB, free: 64.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001159/0.3337, allocations: 0.5061 MB / 471.3 MB, free: 64.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3337, allocations: 6.844 kB / 471.3 MB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.3337, allocations: 5.938 kB / 471.3 MB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/0.3342, allocations: 100.5 kB / 471.4 MB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.3345, allocations: 88.58 kB / 471.5 MB, free: 64.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3359, allocations: 2.515 MB / 474 MB, free: 61.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.3361, allocations: 26.19 kB / 474.1 MB, free: 61.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.3362, allocations: 19.5 kB / 474.1 MB, free: 61.7 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.0001516/0.3363, allocations: 164.9 kB / 474.2 MB, free: 61.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.3364, allocations: 31.75 kB / 474.3 MB, free: 61.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.3381, allocations: 1.316 MB / 475.6 MB, free: 60.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.3381, allocations: 20.89 kB / 475.6 MB, free: 60.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3381, allocations: 5.422 kB / 475.6 MB, free: 60.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001464/0.3396, allocations: 1.425 MB / 477 MB, free: 60.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.342, allocations: 2.108 MB / 479.1 MB, free: 58.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.342, allocations: 0.7031 kB / 479.1 MB, free: 58.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.3423, allocations: 88.47 kB / 479.2 MB, free: 58.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002886/0.3426, allocations: 79.22 kB / 479.3 MB, free: 58.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3427, allocations: 6.75 kB / 479.3 MB, free: 58.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000231/0.3429, allocations: 0.591 MB / 479.9 MB, free: 58.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3429, allocations: 1.344 kB / 479.9 MB, free: 58.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.3445, allocations: 1.278 MB / 481.2 MB, free: 57.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.3445, allocations: 129.7 kB / 481.3 MB, free: 57.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3446, allocations: 23.08 kB / 481.3 MB, free: 57.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.3448, allocations: 22.31 kB / 481.4 MB, free: 57.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.3449, allocations: 31.25 kB / 481.4 MB, free: 57.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3449, allocations: 22.83 kB / 481.4 MB, free: 57.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.3451, allocations: 237.6 kB / 481.6 MB, free: 57.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3452, allocations: 1.188 kB / 481.6 MB, free: 57.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00203/0.3472, allocations: 0.8591 MB / 482.5 MB, free: 57.43 MB / 382.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.004728/0.3519, allocations: 2.704 MB / 485.2 MB, free: 56.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.353, allocations: 0.6411 MB / 485.8 MB, free: 55.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.353, allocations: 0 / 485.8 MB, free: 55.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.3535, allocations: 376.5 kB / 486.2 MB, free: 55.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.3545, allocations: 189.5 kB / 486.4 MB, free: 55.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.3599, allocations: 4.573 MB / 491 MB, free: 52.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.3601, allocations: 0.8727 MB / 491.8 MB, free: 51.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.3603, allocations: 148 kB / 492 MB, free: 51.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3605, allocations: 195.4 kB / 492.2 MB, free: 51.36 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3605, allocations: 0 / 492.2 MB, free: 51.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/0.4192, allocations: 41.55 MB / 0.5212 GB, free: 9.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/13.97, allocations: 7.906 kB / 0.5212 GB, free: 9.695 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.901452424994204]