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.001128/0.001127, allocations: 114.3 kB / 17.28 MB, free: 6.219 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.001093/0.001092, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.362/1.362, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001064/0.001064, allocations: 47.92 kB / 280.3 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.0889, allocations: 46.64 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.02964/0.1186, allocations: 32.49 MB / 359.4 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.1352, allocations: 15.78 MB / 375.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.1356, allocations: 4 kB / 375.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.1364, allocations: 242.8 kB / 375.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006832/0.1371, allocations: 338.2 kB / 375.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1855/0.3226, allocations: 5.129 MB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001735/0.3244, allocations: 0.9939 MB / 381.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.3247, allocations: 110 kB / 382 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.3296, allocations: 2.181 MB / 384.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/0.3301, allocations: 321.1 kB / 384.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.3302, allocations: 42.34 kB / 384.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.342, allocations: 5.994 MB / 390.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.3423, allocations: 110.9 kB / 390.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.3428, allocations: 226.7 kB / 390.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008911/0.3517, allocations: 3.798 MB / 394.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3518, allocations: 0 / 394.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3518, allocations: 0 / 394.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3518, allocations: 0 / 394.6 MB, free: 11.7 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.003989/0.3558, allocations: 1.013 MB / 395.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.3559, allocations: 10.19 kB / 395.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.306e-05/0.356, allocations: 69.23 kB / 395.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.3573, allocations: 149.5 kB / 395.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.3577, allocations: 314.6 kB / 396.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.3578, allocations: 28.22 kB / 396.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.3579, allocations: 38 kB / 396.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.3592, allocations: 0.549 MB / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.3593, allocations: 0 / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.3593, allocations: 16.69 kB / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.3593, allocations: 10.94 kB / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.3607, allocations: 0.4961 MB / 397.3 MB, free: 10.67 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.002967/0.3637, allocations: 2.604 MB / 399.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3651, allocations: 447.2 kB / 400.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.3655, allocations: 163.1 kB / 400.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.3662, allocations: 0.5632 MB / 401.1 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3663, allocations: 39.84 kB / 401.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.3663, allocations: 3.656 kB / 401.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004456/0.3707, allocations: 1.501 MB / 402.6 MB, free: 7.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.3708, allocations: 62.38 kB / 402.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.371, allocations: 253 kB / 402.9 MB, free: 6.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.371, allocations: 35.92 kB / 403 MB, free: 6.879 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.3711, allocations: 180.1 kB / 403.1 MB, free: 6.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.3712, allocations: 115.1 kB / 403.2 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3713, allocations: 78.72 kB / 403.3 MB, free: 6.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.3714, allocations: 337.7 kB / 403.6 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.3718, allocations: 141.4 kB / 403.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.3722, allocations: 234.3 kB / 404 MB, free: 6.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/0.3729, allocations: 402.1 kB / 404.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3729, allocations: 0 / 404.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001074/0.374, allocations: 0.4987 MB / 404.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.374, allocations: 8.5 kB / 404.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3741, allocations: 10.22 kB / 404.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005151/0.3746, allocations: 111.2 kB / 405 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.3749, allocations: 85.42 kB / 405.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.3763, allocations: 2.503 MB / 407.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.3766, allocations: 48.89 kB / 407.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3767, allocations: 20.19 kB / 407.7 MB, free: 3.344 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.0001549/0.3768, allocations: 167.6 kB / 407.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.3769, allocations: 29.09 kB / 407.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.3786, allocations: 1.333 MB / 409.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.3786, allocations: 21.12 kB / 409.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.3786, allocations: 1.094 kB / 409.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/0.38, allocations: 1.423 MB / 410.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.3822, allocations: 2.107 MB / 412.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.3822, allocations: 0 / 412.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.3826, allocations: 88.77 kB / 412.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.3829, allocations: 71.02 kB / 412.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.383, allocations: 11.56 kB / 412.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002344/0.3832, allocations: 0.5891 MB / 413.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3832, allocations: 3.703 kB / 413.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.3847, allocations: 1.277 MB / 414.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.3849, allocations: 129.7 kB / 414.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3849, allocations: 16.91 kB / 414.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.3852, allocations: 37.72 kB / 415 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.3853, allocations: 40.84 kB / 415 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.3854, allocations: 8.625 kB / 415 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.3856, allocations: 235.7 kB / 415.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3856, allocations: 1.312 kB / 415.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003652/0.3893, allocations: 0.8563 MB / 416.1 MB, free: 15.54 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.007455/0.3968, allocations: 2.699 MB / 418.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.3984, allocations: 0.6627 MB / 419.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3985, allocations: 0 / 419.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.3991, allocations: 431 kB / 419.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4003, allocations: 197.2 kB / 420.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/0.4102, allocations: 4.813 MB / 424.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.4107, allocations: 0.8727 MB / 425.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004337/0.4112, allocations: 144.2 kB / 425.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.4114, allocations: 187.4 kB / 426.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of SimCode: time 1.984e-06/0.4114, allocations: 4 kB / 426.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2786/0.69, allocations: 41.16 MB / 467.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.6904, allocations: 247.2 kB / 467.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/5.222, allocations: 0 / 467.5 MB, free: 12.18 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