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.00568/0.00568, allocations: 114.5 kB / 21.97 MB, free: 5.23 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.001609/0.001609, allocations: 209 kB / 25.27 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.251/1.251, allocations: 207.6 MB / 236 MB, free: 10 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.00159/0.00159, allocations: 51.92 kB / 348 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2109, allocations: 49.16 MB / 397.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03168/0.2426, allocations: 33.04 MB / 430.2 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.2605, allocations: 15.86 MB / 446.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.2607, allocations: 7.938 kB / 446.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006986/0.2614, allocations: 266.4 kB / 446.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.262, allocations: 373.9 kB / 446.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01384/0.2758, allocations: 5.793 MB / 452.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.277, allocations: 1.005 MB / 453.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.2772, allocations: 85.22 kB / 453.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.2816, allocations: 2.216 MB / 455.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.282, allocations: 326.8 kB / 456.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.2821, allocations: 40 kB / 456.2 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.2925, allocations: 6.088 MB / 462.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.2926, allocations: 111.6 kB / 462.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.2928, allocations: 227.2 kB / 462.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005509/0.2983, allocations: 3.784 MB / 466.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2983, allocations: 0 / 466.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2983, allocations: 0 / 466.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2984, allocations: 0 / 466.4 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.002311/0.3007, allocations: 0.9746 MB / 467.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3007, allocations: 19.92 kB / 467.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.3007, allocations: 8.844 kB / 467.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.401e-05/0.3008, allocations: 66.72 kB / 467.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.302, allocations: 152.6 kB / 467.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.3025, allocations: 261.9 kB / 467.8 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.3025, allocations: 29.03 kB / 467.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.3026, allocations: 35.94 kB / 467.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.304, allocations: 0.5426 MB / 468.4 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.304, allocations: 8 kB / 468.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.304, allocations: 12 kB / 468.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.304, allocations: 11.94 kB / 468.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.3055, allocations: 0.502 MB / 469 MB, free: 11.22 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.003031/0.3085, allocations: 2.491 MB / 471.5 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.31, allocations: 438.2 kB / 471.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.3104, allocations: 160.8 kB / 472.1 MB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.311, allocations: 192 kB / 472.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.311, allocations: 34.56 kB / 472.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.213e-06/0.311, allocations: 4 kB / 472.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004508/0.3155, allocations: 1.358 MB / 473.6 MB, free: 6.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3155, allocations: 55.41 kB / 473.7 MB, free: 6.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.3158, allocations: 249 kB / 473.9 MB, free: 5.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.3158, allocations: 37.7 kB / 474 MB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.316, allocations: 180.5 kB / 474.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.407e-05/0.3161, allocations: 123 kB / 474.3 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.3162, allocations: 82.02 kB / 474.4 MB, free: 5.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3163, allocations: 342.8 kB / 474.7 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.3167, allocations: 136.8 kB / 474.8 MB, free: 5.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.3172, allocations: 243.4 kB / 475.1 MB, free: 4.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008443/0.318, allocations: 390.9 kB / 475.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.318, allocations: 0 / 475.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001256/0.3193, allocations: 0.5114 MB / 475.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3193, allocations: 11.94 kB / 476 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3193, allocations: 4 kB / 476 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.3198, allocations: 106.4 kB / 476.1 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.3201, allocations: 91.98 kB / 476.2 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.3221, allocations: 2.396 MB / 478.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.3223, allocations: 32.11 kB / 478.6 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.3224, allocations: 19.98 kB / 478.6 MB, free: 0.9805 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.0001842/0.3226, allocations: 157.7 kB / 478.8 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.3226, allocations: 31.81 kB / 478.8 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.3246, allocations: 1.367 MB / 480.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.3246, allocations: 23.97 kB / 480.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3246, allocations: 0 / 480.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001773/0.3264, allocations: 1.464 MB / 481.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.3291, allocations: 2.124 MB / 483.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.3291, allocations: 4.062 kB / 483.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.3294, allocations: 95.84 kB / 483.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002831/0.3297, allocations: 76.75 kB / 483.9 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.3298, allocations: 12 kB / 484 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003974/0.3302, allocations: 0.5913 MB / 484.5 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3302, allocations: 4.031 kB / 484.5 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.3321, allocations: 1.311 MB / 485.9 MB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.3321, allocations: 63.59 kB / 485.9 MB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.3322, allocations: 19.84 kB / 485.9 MB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.3325, allocations: 23.97 kB / 486 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/0.3325, allocations: 35.94 kB / 486 MB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3326, allocations: 8 kB / 486 MB, free: 9.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.3328, allocations: 242.9 kB / 486.2 MB, free: 9.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3328, allocations: 3.938 kB / 486.2 MB, free: 9.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002036/0.3348, allocations: 0.8657 MB / 487.1 MB, free: 8.242 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.005515/0.3404, allocations: 2.727 MB / 489.8 MB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.3416, allocations: 0.6427 MB / 490.5 MB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3416, allocations: 4 kB / 490.5 MB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.3423, allocations: 382.3 kB / 490.9 MB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3433, allocations: 196.7 kB / 491.1 MB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/0.3506, allocations: 4.589 MB / 495.6 MB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.3511, allocations: 0.8728 MB / 496.5 MB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.3514, allocations: 143 kB / 496.7 MB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.3516, allocations: 191.4 kB / 496.8 MB, free: 14.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3516, allocations: 0 / 496.8 MB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07739/0.429, allocations: 42.21 MB / 0.5264 GB, free: 3.938 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/14.8, allocations: 3.859 kB / 0.5264 GB, free: 3.934 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.681222337007057]