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.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.001527/0.001527, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001705/0.001705, allocations: 215 kB / 24.47 MB, free: 3.777 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.354/1.354, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.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"}) [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.001738/0.001738, allocations: 51.94 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2528, allocations: 49.16 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03407/0.2868, allocations: 29.84 MB / 426.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3059, allocations: 14.01 MB / 440.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.3063, allocations: 7.938 kB / 440.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.3071, allocations: 234.5 kB / 440.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007652/0.3079, allocations: 369.9 kB / 440.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01657/0.3245, allocations: 5.722 MB / 446.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.326, allocations: 1.017 MB / 447.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.3262, allocations: 73.17 kB / 447.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.331, allocations: 2.208 MB / 449.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.3314, allocations: 294.8 kB / 450.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.17e-05/0.3315, allocations: 40 kB / 450.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.3424, allocations: 5.834 MB / 456 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.3426, allocations: 119.6 kB / 456.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.3429, allocations: 199.3 kB / 456.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.3495, allocations: 3.8 MB / 460.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3495, allocations: 0 / 460.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3495, allocations: 0 / 460.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.3495, allocations: 0 / 460.1 MB, free: 3.184 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.002091/0.3516, allocations: 0.9356 MB / 461.1 MB, free: 2.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3516, allocations: 15.98 kB / 461.1 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.194e-05/0.3517, allocations: 66.72 kB / 461.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.353, allocations: 156.6 kB / 461.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.3535, allocations: 265.9 kB / 461.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.3535, allocations: 25.03 kB / 461.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.3535, allocations: 32.12 kB / 461.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.355, allocations: 0.7451 MB / 462.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3551, allocations: 3.984 kB / 462.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.3551, allocations: 20 kB / 462.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3551, allocations: 8 kB / 462.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.3558, allocations: 318.3 kB / 462.7 MB, free: 464 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.002791/0.3586, allocations: 1.731 MB / 464.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.3592, allocations: 262.7 kB / 464.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.3594, allocations: 104.8 kB / 464.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06028/0.4196, allocations: 16.86 MB / 481.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.4197, allocations: 38.56 kB / 481.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.884e-06/0.4197, allocations: 0 / 481.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003298/0.423, allocations: 1.054 MB / 482.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.423, allocations: 55.41 kB / 482.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.4233, allocations: 265.8 kB / 483.1 MB, free: 11.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.4234, allocations: 33.7 kB / 483.1 MB, free: 11.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.4235, allocations: 192.4 kB / 483.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/0.4236, allocations: 119 kB / 483.4 MB, free: 11.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4237, allocations: 82.08 kB / 483.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4239, allocations: 338.8 kB / 483.8 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.4241, allocations: 92.83 kB / 483.9 MB, free: 11.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.4244, allocations: 214.9 kB / 484.1 MB, free: 10.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.4249, allocations: 338.3 kB / 484.4 MB, free: 10.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4249, allocations: 0 / 484.4 MB, free: 10.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007372/0.4256, allocations: 418.7 kB / 484.8 MB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4256, allocations: 4 kB / 484.8 MB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4256, allocations: 7.938 kB / 484.9 MB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.4259, allocations: 66.19 kB / 484.9 MB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.4263, allocations: 91.83 kB / 485 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.4281, allocations: 2.413 MB / 487.4 MB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.4283, allocations: 12 kB / 487.4 MB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.4283, allocations: 24.33 kB / 487.5 MB, free: 7.195 MB / 398.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.0001819/0.4285, allocations: 157.8 kB / 487.6 MB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.4286, allocations: 27.86 kB / 487.6 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.4298, allocations: 0.9101 MB / 488.5 MB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4298, allocations: 7.938 kB / 488.6 MB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.4298, allocations: 0 / 488.6 MB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.4309, allocations: 1.065 MB / 489.6 MB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4327, allocations: 1.402 MB / 491 MB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.4327, allocations: 11.98 kB / 491 MB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.4329, allocations: 55.91 kB / 491.1 MB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.4332, allocations: 76.75 kB / 491.2 MB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.4332, allocations: 4 kB / 491.2 MB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000421/0.4337, allocations: 0.5914 MB / 491.8 MB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4337, allocations: 3.938 kB / 491.8 MB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4347, allocations: 0.8506 MB / 492.6 MB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.4348, allocations: 31.73 kB / 492.6 MB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.4349, allocations: 19.89 kB / 492.7 MB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.4351, allocations: 23.97 kB / 492.7 MB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.4352, allocations: 19.95 kB / 492.7 MB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.4352, allocations: 19.88 kB / 492.7 MB, free: 1.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.4355, allocations: 239 kB / 493 MB, free: 1.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4355, allocations: 0 / 493 MB, free: 1.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002197/0.4377, allocations: 0.8618 MB / 493.8 MB, free: 0.6172 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: 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.004526/0.4422, allocations: 2.252 MB / 496.1 MB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009325/0.4431, allocations: 487.6 kB / 496.5 MB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4431, allocations: 0 / 496.5 MB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.4435, allocations: 240.4 kB / 496.8 MB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.4445, allocations: 192.6 kB / 497 MB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.4507, allocations: 3.993 MB / 0.4892 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.4509, allocations: 213.7 kB / 0.4894 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004273/0.4513, allocations: 190.9 kB / 0.4896 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.4515, allocations: 143.4 kB / 0.4897 GB, free: 8.672 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4515, allocations: 0 / 0.4897 GB, free: 8.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08947/0.541, allocations: 40.75 MB / 0.5295 GB, free: 15.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.73, allocations: 3.953 kB / 0.5295 GB, free: 15.79 MB / 462.1 MB " [Timeout remaining time 645] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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.447566819842905]