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.001167/0.001167, allocations: 105.5 kB / 21.96 MB, free: 5.219 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.001223/0.001223, allocations: 214 kB / 25.26 MB, free: 3.129 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.259/1.259, allocations: 207.7 MB / 236.1 MB, free: 9.797 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.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.001562/0.001562, allocations: 55.92 kB / 348 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2169, allocations: 49.16 MB / 397.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02907/0.246, allocations: 29.81 MB / 427 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.2626, allocations: 13.99 MB / 441 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.263, allocations: 4 kB / 441 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.2637, allocations: 246.5 kB / 441.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000649/0.2644, allocations: 362 kB / 441.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01422/0.2786, allocations: 5.727 MB / 447.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.2799, allocations: 1.013 MB / 448.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.28, allocations: 77.23 kB / 448.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004827/0.2849, allocations: 2.193 MB / 450.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.2853, allocations: 326.8 kB / 450.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.346e-05/0.2853, allocations: 40 kB / 450.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.2956, allocations: 6.06 MB / 457 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.2958, allocations: 103.7 kB / 457.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.2961, allocations: 207.2 kB / 457.3 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00679/0.3029, allocations: 3.78 MB / 461.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3029, allocations: 0 / 461.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3029, allocations: 4 kB / 461.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3029, allocations: 0 / 461.1 MB, free: 3.031 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.002099/0.305, allocations: 0.9628 MB / 462.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3051, allocations: 15.97 kB / 462.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.118e-05/0.3051, allocations: 8.844 kB / 462.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.507e-05/0.3052, allocations: 70.67 kB / 462.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.3064, allocations: 148.6 kB / 462.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3068, allocations: 265.9 kB / 462.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.3068, allocations: 33.03 kB / 462.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.3069, allocations: 31.94 kB / 462.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3083, allocations: 0.6971 MB / 463.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.3083, allocations: 0 / 463.3 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.3084, allocations: 16 kB / 463.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3084, allocations: 8 kB / 463.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3098, allocations: 0.498 MB / 463.8 MB, free: 148 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.002678/0.3125, allocations: 1.789 MB / 465.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3139, allocations: 430.6 kB / 466 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.3143, allocations: 168.7 kB / 466.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.3149, allocations: 191.8 kB / 466.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3149, allocations: 30.56 kB / 466.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.3149, allocations: 0 / 466.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004419/0.3194, allocations: 1.362 MB / 467.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.3194, allocations: 55.41 kB / 467.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.3196, allocations: 253 kB / 468.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.3197, allocations: 29.7 kB / 468.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3198, allocations: 184.5 kB / 468.3 MB, free: 11.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.3199, allocations: 130.9 kB / 468.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.32, allocations: 78.08 kB / 468.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3202, allocations: 338.8 kB / 468.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.3205, allocations: 140.8 kB / 469 MB, free: 10.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.321, allocations: 231.4 kB / 469.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.3218, allocations: 410.8 kB / 469.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3218, allocations: 0 / 469.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001177/0.3229, allocations: 0.5034 MB / 470.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.323, allocations: 8.281 kB / 470.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.323, allocations: 11.98 kB / 470.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004777/0.3235, allocations: 106.5 kB / 470.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3238, allocations: 83.89 kB / 470.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.3257, allocations: 2.392 MB / 472.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.3259, allocations: 31.97 kB / 472.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.326, allocations: 16 kB / 472.7 MB, free: 6.773 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.0001804/0.3261, allocations: 170 kB / 472.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.3262, allocations: 35.81 kB / 472.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.3281, allocations: 1.356 MB / 474.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.3281, allocations: 23.91 kB / 474.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3281, allocations: 3.938 kB / 474.3 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001688/0.3298, allocations: 1.472 MB / 475.8 MB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.3323, allocations: 2.027 MB / 477.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3323, allocations: 0 / 477.8 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.3327, allocations: 95.84 kB / 477.9 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/0.333, allocations: 76.75 kB / 478 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.333, allocations: 8 kB / 478 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003961/0.3334, allocations: 0.5953 MB / 478.6 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3334, allocations: 0 / 478.6 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.3352, allocations: 1.314 MB / 479.9 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.3353, allocations: 51.56 kB / 480 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.3353, allocations: 19.84 kB / 480 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.3356, allocations: 32.03 kB / 480 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.3357, allocations: 35.88 kB / 480 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3357, allocations: 12 kB / 480.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002337/0.3359, allocations: 235 kB / 480.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 480.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002143/0.3381, allocations: 0.8618 MB / 481.1 MB, free: 14.15 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.005228/0.3433, allocations: 2.739 MB / 483.9 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.3446, allocations: 0.6427 MB / 484.5 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3446, allocations: 0 / 484.5 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006309/0.3452, allocations: 386.3 kB / 484.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.3462, allocations: 196.7 kB / 485.1 MB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/0.3534, allocations: 4.586 MB / 489.7 MB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3537, allocations: 269 kB / 489.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.354, allocations: 147 kB / 490.1 MB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.3542, allocations: 191.4 kB / 490.3 MB, free: 4.77 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3542, allocations: 0 / 490.3 MB, free: 4.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07716/0.4314, allocations: 42.41 MB / 0.5202 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.66, allocations: 11.95 kB / 0.5202 GB, free: 10.22 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.57278945692815]