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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 107.4 kB / 17.16 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001024, allocations: 47.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06513/0.06617, allocations: 46.64 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02783/0.09401, allocations: 33.24 MB / 360 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.1095, allocations: 16.68 MB / 376.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.1097, allocations: 4 kB / 376.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.1103, allocations: 234.8 kB / 376.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005021/0.1108, allocations: 358.2 kB / 377.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1305/0.2413, allocations: 4.667 MB / 381.9 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2428, allocations: 1.439 MB / 383.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.2429, allocations: 80.78 kB / 383.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004455/0.2474, allocations: 2.13 MB / 385.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.2479, allocations: 317.9 kB / 385.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.681e-05/0.248, allocations: 19.94 kB / 385.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008413/0.2564, allocations: 6.006 MB / 391.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2565, allocations: 86.12 kB / 392 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.2568, allocations: 212.2 kB / 392.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003922/0.2607, allocations: 3.779 MB / 395.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2607, allocations: 4 kB / 395.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2607, allocations: 0 / 395.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2608, allocations: 0 / 395.9 MB, free: 11.16 MB / 318.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.001462/0.2622, allocations: 1.016 MB / 397 MB, free: 10.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2623, allocations: 7.688 kB / 397 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.2623, allocations: 68.97 kB / 397 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.2634, allocations: 150.5 kB / 397.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2637, allocations: 314.6 kB / 397.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.2637, allocations: 34.06 kB / 397.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.2638, allocations: 29.09 kB / 397.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.2649, allocations: 0.5556 MB / 398.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2649, allocations: 3.125 kB / 398.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.265, allocations: 12.97 kB / 398.1 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.265, allocations: 11.08 kB / 398.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.2662, allocations: 0.4963 MB / 398.6 MB, free: 9.75 MB / 318.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.001944/0.2682, allocations: 2.597 MB / 401.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.2694, allocations: 441.1 kB / 401.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.2697, allocations: 169.8 kB / 401.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/0.2703, allocations: 0.5622 MB / 402.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.2703, allocations: 45.41 kB / 402.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.163e-06/0.2703, allocations: 0 / 402.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.003923/0.2742, allocations: 1.511 MB / 403.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.2743, allocations: 58.33 kB / 404 MB, free: 6.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2744, allocations: 248.8 kB / 404.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.2745, allocations: 35.14 kB / 404.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.2745, allocations: 179.9 kB / 404.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.2746, allocations: 115.6 kB / 404.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.2747, allocations: 84.22 kB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.253e-05/0.2747, allocations: 336.6 kB / 405 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.2751, allocations: 139.4 kB / 405.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.2754, allocations: 239.8 kB / 405.3 MB, free: 5.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.2761, allocations: 391.2 kB / 405.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2761, allocations: 2.781 kB / 405.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001007/0.2771, allocations: 0.5017 MB / 406.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2772, allocations: 6.312 kB / 406.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2772, allocations: 6.438 kB / 406.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.2776, allocations: 109.3 kB / 406.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.2779, allocations: 89.19 kB / 406.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.279, allocations: 2.411 MB / 408.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.2793, allocations: 48.95 kB / 408.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.2794, allocations: 16.81 kB / 408.9 MB, free: 2.477 MB / 318.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.0001223/0.2795, allocations: 164.2 kB / 409.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.2796, allocations: 35.91 kB / 409.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.281, allocations: 1.332 MB / 410.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.281, allocations: 18.16 kB / 410.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.281, allocations: 0 / 410.5 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/0.2822, allocations: 1.426 MB / 411.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.2841, allocations: 2.101 MB / 414 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2841, allocations: 0 / 414 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.2844, allocations: 90.86 kB / 414.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/0.2847, allocations: 69.27 kB / 414.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2847, allocations: 10.25 kB / 414.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001972/0.2849, allocations: 0.5963 MB / 414.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2849, allocations: 0 / 414.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.2865, allocations: 1.28 MB / 416 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.277e-05/0.2865, allocations: 127.3 kB / 416.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.2866, allocations: 17.66 kB / 416.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.2869, allocations: 38.62 kB / 416.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.287, allocations: 45.78 kB / 416.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.287, allocations: 9.094 kB / 416.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.2872, allocations: 236.1 kB / 416.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2872, allocations: 0 / 416.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001954/0.2892, allocations: 0.8548 MB / 417.3 MB, free: 14.3 MB / 334.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.0047/0.2939, allocations: 2.684 MB / 420 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.295, allocations: 0.6501 MB / 420.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.295, allocations: 3.938 kB / 420.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.2956, allocations: 415.8 kB / 421.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/0.2966, allocations: 194.9 kB / 421.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.3029, allocations: 4.823 MB / 426.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3033, allocations: 0.8727 MB / 427 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.3036, allocations: 142.6 kB / 427.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.3038, allocations: 191.4 kB / 427.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3038, allocations: 0 / 427.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.299/2.603, allocations: 40.72 MB / 468 MB, free: 11.55 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/2.603, allocations: 262.9 kB / 468.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.826/6.429, allocations: 2.906 kB / 468.3 MB, free: 11.28 MB / 382.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches