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.001318/0.001318, allocations: 99.95 kB / 15.98 MB, free: 6.352 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.001299/0.001299, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.689/1.689, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.3661/0.3661, allocations: 43.5 MB / 313.6 MB, free: 8.484 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.001394/0.001394, allocations: 63.91 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1299, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2693/0.3992, allocations: 39.48 MB / 479.5 MB, free: 27.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02351/0.4228, allocations: 20.28 MB / 499.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.424, allocations: 27.81 kB / 499.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.4254, allocations: 400.5 kB / 0.4885 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.4398, allocations: 4.538 MB / 0.4929 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006977/0.4468, allocations: 2.335 MB / 0.4952 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003014/0.4498, allocations: 2.011 MB / 0.4971 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008253/0.4507, allocations: 499 kB / 0.4976 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00884/0.4595, allocations: 4.152 MB / 0.5017 GB, free: 6.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.4701, allocations: 5.469 MB / 0.507 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003846/0.4705, allocations: 72.19 kB / 0.5071 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01874/0.4892, allocations: 7.283 MB / 0.5142 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007058/0.49, allocations: 290 kB / 0.5145 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000856/0.4909, allocations: 456.3 kB / 0.5149 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.5061, allocations: 5.133 MB / 0.5199 GB, free: 13.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5062, allocations: 0 / 0.5199 GB, free: 13.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5062, allocations: 0 / 0.5199 GB, free: 13.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.5062, allocations: 0 / 0.5199 GB, free: 13.6 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.006817/0.513, allocations: 1.66 MB / 0.5215 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.5131, allocations: 11.89 kB / 0.5216 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/0.5156, allocations: 307.3 kB / 0.5218 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.5166, allocations: 0.5515 MB / 0.5224 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.5168, allocations: 112 kB / 0.5225 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5169, allocations: 58.59 kB / 0.5225 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.5195, allocations: 1.165 MB / 0.5237 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.5195, allocations: 6.656 kB / 0.5237 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/0.5196, allocations: 34.77 kB / 0.5237 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/0.5197, allocations: 41.11 kB / 0.5238 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.5214, allocations: 0.8469 MB / 0.5246 GB, free: 10.45 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.007114/0.5285, allocations: 5.496 MB / 0.53 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.5299, allocations: 0.5792 MB / 0.5305 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.5302, allocations: 229.5 kB / 0.5307 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09217/0.6224, allocations: 46.2 MB / 0.5759 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.25e-05/0.6225, allocations: 38.56 kB / 0.5759 GB, free: 284 kB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.6225, allocations: 3.938 kB / 0.5759 GB, free: 280 kB / 446.1 MB Notification: Performance of matching and sorting (n=46): time 0.005682/0.6282, allocations: 1.926 MB / 0.5778 GB, free: 14.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/0.6283, allocations: 162.2 kB / 0.5779 GB, free: 14.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008299/0.6292, allocations: 0.621 MB / 0.5785 GB, free: 13.47 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.6293, allocations: 33.7 kB / 0.5786 GB, free: 13.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.6296, allocations: 399.2 kB / 0.579 GB, free: 13.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.6298, allocations: 169.7 kB / 0.5791 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.63, allocations: 150.5 kB / 0.5793 GB, free: 12.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6302, allocations: 378.8 kB / 0.5796 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.6306, allocations: 229.9 kB / 0.5798 GB, free: 12.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.6312, allocations: 0.5678 MB / 0.5804 GB, free: 11.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.6322, allocations: 0.8368 MB / 0.5812 GB, free: 10.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6322, allocations: 4 kB / 0.5812 GB, free: 10.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001367/0.6336, allocations: 0.8707 MB / 0.5821 GB, free: 9.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.6337, allocations: 12 kB / 0.5821 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6337, allocations: 8 kB / 0.5821 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.634, allocations: 61.58 kB / 0.5821 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.6352, allocations: 287.5 kB / 0.5824 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.6368, allocations: 2.066 MB / 0.5844 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.6376, allocations: 67.34 kB / 0.5845 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.6377, allocations: 47.98 kB / 0.5846 GB, free: 6.797 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.0004356/0.6381, allocations: 269.4 kB / 0.5848 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.6383, allocations: 71.23 kB / 0.5849 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.6406, allocations: 2.219 MB / 0.587 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/0.6407, allocations: 35.94 kB / 0.5871 GB, free: 4.195 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6407, allocations: 3.938 kB / 0.5871 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.6407, allocations: 3.984 kB / 0.5871 GB, free: 4.188 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.6444, allocations: 3.292 MB / 0.5903 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6444, allocations: 0 / 0.5903 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.6453, allocations: 187.7 kB / 0.5905 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.6457, allocations: 88.69 kB / 0.5906 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.6458, allocations: 15.94 kB / 0.5906 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.6472, allocations: 2.094 MB / 0.5926 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6472, allocations: 0 / 0.5926 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.6494, allocations: 1.985 MB / 0.5946 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.6499, allocations: 247.3 kB / 0.5948 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.65, allocations: 32.75 kB / 0.5948 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.6506, allocations: 44.11 kB / 0.5949 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6507, allocations: 36.39 kB / 0.5949 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.6508, allocations: 23.98 kB / 0.5949 GB, free: 11.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006632/0.6514, allocations: 0.5107 MB / 0.5954 GB, free: 11.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6515, allocations: 0 / 0.5954 GB, free: 11.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00435/0.6558, allocations: 1.089 MB / 0.5965 GB, free: 10.27 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.006098/0.6619, allocations: 1.22 MB / 0.5977 GB, free: 9.055 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.6646, allocations: 1.022 MB / 0.5987 GB, free: 8.039 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6647, allocations: 0 / 0.5987 GB, free: 8.039 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.6659, allocations: 0.6794 MB / 0.5993 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.668, allocations: 396 kB / 0.5997 GB, free: 6.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.6717, allocations: 2.674 MB / 0.6023 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.6724, allocations: 1.109 MB / 0.6034 GB, free: 3.141 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001085/0.6735, allocations: 453.8 kB / 0.6038 GB, free: 2.691 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.6737, allocations: 63.44 kB / 0.6039 GB, free: 2.629 MB / 478.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6737, allocations: 3.938 kB / 0.6039 GB, free: 2.625 MB / 478.1 MB Notification: Performance of Templates: time 0.264/0.9377, allocations: 45.8 MB / 0.6486 GB, free: 167.5 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