Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009677, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 179.2 kB / 16.91 MB, free: 6.914 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.725/1.725, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3917/0.3917, allocations: 43.58 MB / 315 MB, free: 9.043 MB / 254.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.0005554/0.0005554, allocations: 15.98 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1443, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2882/0.4326, allocations: 39.41 MB / 482.9 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02243/0.4551, allocations: 20.92 MB / 0.492 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.4566, allocations: 27.5 kB / 0.492 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.458, allocations: 395.6 kB / 0.4924 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01983/0.4779, allocations: 4.155 MB / 0.4964 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00992/0.4878, allocations: 2.242 MB / 0.4986 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00489/0.4927, allocations: 2.861 MB / 0.5014 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009833/0.4937, allocations: 430.1 kB / 0.5018 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00929/0.503, allocations: 4.043 MB / 0.5058 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.5139, allocations: 5.45 MB / 0.5111 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.5142, allocations: 36.12 kB / 0.5111 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/0.5314, allocations: 7.265 MB / 0.5182 GB, free: 208 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007024/0.5321, allocations: 253.5 kB / 0.5185 GB, free: 40 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009628/0.5331, allocations: 449.3 kB / 0.5189 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01941/0.5525, allocations: 5.056 MB / 0.5238 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.5526, allocations: 0 / 0.5238 GB, free: 12.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5526, allocations: 0 / 0.5238 GB, free: 12.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5526, allocations: 0 / 0.5238 GB, free: 12.54 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007689/0.5603, allocations: 1.491 MB / 0.5253 GB, free: 11.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/0.5604, allocations: 12.66 kB / 0.5253 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.5625, allocations: 313.2 kB / 0.5256 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.5636, allocations: 0.563 MB / 0.5262 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.5637, allocations: 113.6 kB / 0.5263 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5638, allocations: 55.72 kB / 0.5263 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.5664, allocations: 1.18 MB / 0.5275 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.5665, allocations: 5.688 kB / 0.5275 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/0.5666, allocations: 26.44 kB / 0.5275 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.253e-05/0.5667, allocations: 43.58 kB / 0.5275 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.5683, allocations: 0.8479 MB / 0.5284 GB, free: 9.07 MB / 398.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.006462/0.5748, allocations: 5.515 MB / 0.5338 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.576, allocations: 0.5792 MB / 0.5343 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.5764, allocations: 225.4 kB / 0.5345 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0993/0.6757, allocations: 46.62 MB / 0.5801 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.793e-05/0.6758, allocations: 42.56 kB / 0.5801 GB, free: 14.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/0.6759, allocations: 0 / 0.5801 GB, free: 14.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005619/0.6815, allocations: 1.931 MB / 0.582 GB, free: 12.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.6816, allocations: 162.2 kB / 0.5821 GB, free: 12.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/0.6824, allocations: 0.6287 MB / 0.5828 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.6824, allocations: 37.7 kB / 0.5828 GB, free: 11.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.6827, allocations: 395.2 kB / 0.5832 GB, free: 11.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.6829, allocations: 165.7 kB / 0.5833 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.683, allocations: 73.67 kB / 0.5834 GB, free: 10.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6832, allocations: 374.8 kB / 0.5838 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.6836, allocations: 225.9 kB / 0.584 GB, free: 10.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.6842, allocations: 0.5679 MB / 0.5845 GB, free: 9.543 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6853, allocations: 0.8368 MB / 0.5853 GB, free: 8.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.6853, allocations: 4 kB / 0.5853 GB, free: 8.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001347/0.6866, allocations: 0.8785 MB / 0.5862 GB, free: 7.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6867, allocations: 8 kB / 0.5862 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.6867, allocations: 12 kB / 0.5862 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.687, allocations: 65.52 kB / 0.5863 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.6882, allocations: 287.5 kB / 0.5866 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.6898, allocations: 1.982 MB / 0.5885 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.6905, allocations: 60.09 kB / 0.5886 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.6906, allocations: 43.98 kB / 0.5886 GB, free: 5.059 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004494/0.6911, allocations: 281.3 kB / 0.5889 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.6912, allocations: 75.16 kB / 0.5889 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.6937, allocations: 2.218 MB / 0.5911 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.6937, allocations: 27.95 kB / 0.5911 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.6937, allocations: 0 / 0.5911 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.6937, allocations: 3.984 kB / 0.5911 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.6976, allocations: 3.285 MB / 0.5943 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6976, allocations: 4.031 kB / 0.5943 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/0.6985, allocations: 187.8 kB / 0.5945 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.6989, allocations: 97.55 kB / 0.5946 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.699, allocations: 12 kB / 0.5946 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.7005, allocations: 2.002 MB / 0.5966 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7005, allocations: 4.031 kB / 0.5966 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.7029, allocations: 1.985 MB / 0.5985 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.7034, allocations: 287.3 kB / 0.5988 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.7035, allocations: 12 kB / 0.5988 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.704, allocations: 63.8 kB / 0.5989 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.7041, allocations: 32.39 kB / 0.5989 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.7042, allocations: 19.98 kB / 0.5989 GB, free: 10.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006975/0.7049, allocations: 0.5224 MB / 0.5994 GB, free: 9.668 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7049, allocations: 0 / 0.5994 GB, free: 9.668 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005608/0.7105, allocations: 1.082 MB / 0.6005 GB, free: 8.586 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005571/0.7161, allocations: 1.218 MB / 0.6017 GB, free: 7.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.7182, allocations: 0.9396 MB / 0.6026 GB, free: 6.438 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.7182, allocations: 4 kB / 0.6026 GB, free: 6.434 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.7194, allocations: 0.6756 MB / 0.6033 GB, free: 5.762 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.7216, allocations: 358.7 kB / 0.6036 GB, free: 5.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.7253, allocations: 2.785 MB / 0.6063 GB, free: 2.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.726, allocations: 1.117 MB / 0.6074 GB, free: 1.445 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.727, allocations: 449.8 kB / 0.6078 GB, free: 1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.7272, allocations: 63.44 kB / 0.6079 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7272, allocations: 0 / 0.6079 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of Templates: time 0.2877/1.015, allocations: 45.05 MB / 0.6519 GB, free: 161.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches