Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_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.001328/0.001328, allocations: 111.6 kB / 17.28 MB, free: 6.176 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.001541/0.001541, allocations: 189.3 kB / 18.2 MB, free: 5.254 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.317/1.317, allocations: 205.1 MB / 224 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: 48.16 kB / 280.3 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07848/0.07955, allocations: 46.63 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03019/0.1098, allocations: 32.51 MB / 359.4 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.1284, allocations: 15.77 MB / 375.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003968/0.1289, allocations: 7.938 kB / 375.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.1298, allocations: 238.8 kB / 375.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000789/0.1306, allocations: 338.2 kB / 375.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1917/0.3224, allocations: 5.134 MB / 380.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3241, allocations: 1.006 MB / 381.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.3245, allocations: 113.9 kB / 382 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005049/0.3295, allocations: 2.185 MB / 384.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000496/0.33, allocations: 314.6 kB / 384.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.625e-05/0.3301, allocations: 41.47 kB / 384.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.3416, allocations: 5.988 MB / 390.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.3419, allocations: 114 kB / 390.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.3424, allocations: 233.1 kB / 390.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008526/0.3509, allocations: 3.812 MB / 394.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3509, allocations: 0 / 394.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3509, allocations: 1.375 kB / 394.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3509, allocations: 0 / 394.7 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.00277/0.3537, allocations: 0.9863 MB / 395.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3538, allocations: 9.625 kB / 395.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.191e-05/0.3539, allocations: 68.25 kB / 395.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.3551, allocations: 152.3 kB / 395.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3555, allocations: 320.8 kB / 396.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3555, allocations: 21.78 kB / 396.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.3556, allocations: 35.84 kB / 396.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.3567, allocations: 0.5195 MB / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3567, allocations: 2.656 kB / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.3568, allocations: 13.09 kB / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3568, allocations: 10.19 kB / 396.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.3574, allocations: 328.4 kB / 397.1 MB, free: 10.68 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.002422/0.3598, allocations: 2.555 MB / 399.7 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.3603, allocations: 272.4 kB / 399.9 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3605, allocations: 113.9 kB / 400 MB, free: 8.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05676/0.4172, allocations: 30.9 MB / 430.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.4173, allocations: 44.31 kB / 431 MB, free: 12.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.836e-06/0.4173, allocations: 0 / 431 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003621/0.421, allocations: 1.201 MB / 432.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.421, allocations: 63.39 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.4213, allocations: 262.4 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.4214, allocations: 29.39 kB / 432.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.4215, allocations: 183.1 kB / 432.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.4216, allocations: 111.5 kB / 432.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4217, allocations: 76.34 kB / 432.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4219, allocations: 343.4 kB / 433.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.422, allocations: 94.39 kB / 433.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.4223, allocations: 218 kB / 433.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.4227, allocations: 347 kB / 433.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4227, allocations: 0 / 433.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006859/0.4234, allocations: 409 kB / 434.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4234, allocations: 11.47 kB / 434.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.4234, allocations: 4 kB / 434.3 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.4237, allocations: 63.62 kB / 434.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.4241, allocations: 86.55 kB / 434.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.4256, allocations: 2.528 MB / 437 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.426, allocations: 32.8 kB / 437 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.426, allocations: 21.3 kB / 437 MB, free: 6.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.4262, allocations: 165.1 kB / 437.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.4263, allocations: 27.72 kB / 437.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009287/0.4272, allocations: 0.8636 MB / 438.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.4272, allocations: 14.36 kB / 438.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4273, allocations: 0 / 438.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008141/0.4281, allocations: 1.044 MB / 439.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4297, allocations: 1.491 MB / 440.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4297, allocations: 0 / 440.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.4299, allocations: 55.81 kB / 440.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.4302, allocations: 68.8 kB / 440.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.4302, allocations: 11.75 kB / 440.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003588/0.4306, allocations: 0.5949 MB / 441.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4306, allocations: 0 / 441.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.4315, allocations: 0.8199 MB / 442.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4316, allocations: 118.3 kB / 442.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4317, allocations: 15.84 kB / 442.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.4321, allocations: 27.97 kB / 442.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.4321, allocations: 24.03 kB / 442.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.4321, allocations: 22.23 kB / 442.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002493/0.4324, allocations: 239 kB / 442.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4324, allocations: 0 / 442.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003435/0.4359, allocations: 0.8512 MB / 443.4 MB, free: 0.8633 MB / 350.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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006843/0.4427, allocations: 2.242 MB / 445.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.4438, allocations: 0.4934 MB / 446.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4438, allocations: 0 / 446.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.4442, allocations: 243.4 kB / 446.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.4453, allocations: 191.7 kB / 446.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006959/0.4523, allocations: 4.174 MB / 450.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.4526, allocations: 0.825 MB / 451.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.4531, allocations: 178.2 kB / 451.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.4532, allocations: 143.4 kB / 451.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4533, allocations: 0 / 451.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07486/0.5281, allocations: 39.47 MB / 491.4 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/0.5284, allocations: 273 kB / 491.6 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.285/4.813, allocations: 0 / 491.6 MB, free: 0.5703 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches