Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001312/0.001312, allocations: 105.1 kB / 17.32 MB, free: 5.984 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.001225/0.001224, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2533/0.2533, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.19 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1336, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03956/0.1732, allocations: 39.48 MB / 0.4963 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2757/0.449, allocations: 20.26 MB / 0.5161 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000919/0.4499, allocations: 27.41 kB / 0.5161 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.4511, allocations: 403.4 kB / 0.5165 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.4676, allocations: 4.555 MB / 0.5209 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008227/0.4759, allocations: 2.346 MB / 0.5232 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003366/0.4793, allocations: 2.002 MB / 0.5252 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000863/0.4801, allocations: 0.4888 MB / 0.5257 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008606/0.4888, allocations: 4.159 MB / 0.5297 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009098/0.4979, allocations: 5.474 MB / 0.5351 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.4981, allocations: 75.41 kB / 0.5351 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.5121, allocations: 7.281 MB / 0.5422 GB, free: 2.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000469/0.5126, allocations: 293.1 kB / 0.5425 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007888/0.5134, allocations: 460.4 kB / 0.543 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.5253, allocations: 5.138 MB / 0.548 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5254, allocations: 0 / 0.548 GB, free: 13.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5254, allocations: 0 / 0.548 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.5254, allocations: 0 / 0.548 GB, free: 13.59 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.004584/0.53, allocations: 1.663 MB / 0.5496 GB, free: 11.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5301, allocations: 8.031 kB / 0.5496 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.5323, allocations: 302.7 kB / 0.5499 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008213/0.5331, allocations: 0.5527 MB / 0.5504 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5332, allocations: 112 kB / 0.5506 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.5333, allocations: 68.25 kB / 0.5506 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.5358, allocations: 1.162 MB / 0.5518 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5358, allocations: 7.922 kB / 0.5518 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.5359, allocations: 35.05 kB / 0.5518 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/0.536, allocations: 41.3 kB / 0.5518 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.5377, allocations: 0.8401 MB / 0.5527 GB, free: 8.668 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.006411/0.5441, allocations: 5.494 MB / 0.558 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.5455, allocations: 0.5868 MB / 0.5586 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.546, allocations: 225.6 kB / 0.5588 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09628/0.6422, allocations: 46.2 MB / 0.6039 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.679e-05/0.6424, allocations: 38.56 kB / 0.604 GB, free: 14.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 4.288e-06/0.6424, allocations: 0 / 0.604 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.00619/0.6486, allocations: 1.928 MB / 0.6058 GB, free: 12.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.6487, allocations: 166.2 kB / 0.606 GB, free: 12.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007765/0.6495, allocations: 0.6171 MB / 0.6066 GB, free: 11.67 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.6496, allocations: 37.7 kB / 0.6066 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.6499, allocations: 392 kB / 0.607 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.65, allocations: 172.4 kB / 0.6072 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.6502, allocations: 158.5 kB / 0.6073 GB, free: 10.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6504, allocations: 374.8 kB / 0.6077 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.6508, allocations: 225.9 kB / 0.6079 GB, free: 10.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.6514, allocations: 0.5795 MB / 0.6085 GB, free: 9.578 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.6525, allocations: 0.8329 MB / 0.6093 GB, free: 8.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6525, allocations: 0 / 0.6093 GB, free: 8.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00154/0.6541, allocations: 0.8748 MB / 0.6101 GB, free: 7.703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.6541, allocations: 12 kB / 0.6101 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.6542, allocations: 8 kB / 0.6102 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.6545, allocations: 61.42 kB / 0.6102 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.6557, allocations: 286.3 kB / 0.6105 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.6573, allocations: 2.066 MB / 0.6125 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.6579, allocations: 67.81 kB / 0.6126 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.658, allocations: 40 kB / 0.6126 GB, free: 5.012 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.0003952/0.6584, allocations: 274 kB / 0.6129 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.6586, allocations: 71.28 kB / 0.6129 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.6611, allocations: 2.224 MB / 0.6151 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.6612, allocations: 35.89 kB / 0.6151 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.6612, allocations: 3.938 kB / 0.6151 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.6612, allocations: 3.984 kB / 0.6151 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.665, allocations: 3.282 MB / 0.6184 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6651, allocations: 4.875 kB / 0.6184 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/0.666, allocations: 191.7 kB / 0.6185 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.6663, allocations: 88.69 kB / 0.6186 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.6664, allocations: 12 kB / 0.6186 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.668, allocations: 2.087 MB / 0.6207 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.668, allocations: 8.125 kB / 0.6207 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.6703, allocations: 1.978 MB / 0.6226 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.6707, allocations: 243.5 kB / 0.6228 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.6708, allocations: 35.67 kB / 0.6229 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.6714, allocations: 48.02 kB / 0.6229 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.6715, allocations: 36.39 kB / 0.623 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.6716, allocations: 23.98 kB / 0.623 GB, free: 10.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007658/0.6724, allocations: 0.5068 MB / 0.6235 GB, free: 9.598 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6724, allocations: 4 kB / 0.6235 GB, free: 9.594 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004679/0.6771, allocations: 1.089 MB / 0.6245 GB, free: 8.504 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.006124/0.6832, allocations: 1.209 MB / 0.6257 GB, free: 7.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.686, allocations: 1.018 MB / 0.6267 GB, free: 6.379 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.686, allocations: 7.938 kB / 0.6267 GB, free: 6.371 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.6876, allocations: 0.6756 MB / 0.6274 GB, free: 5.695 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.6898, allocations: 391.1 kB / 0.6278 GB, free: 5.332 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.6942, allocations: 2.682 MB / 0.6304 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/0.6952, allocations: 1.114 MB / 0.6315 GB, free: 1.488 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00119/0.6964, allocations: 460.5 kB / 0.6319 GB, free: 1.039 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.6966, allocations: 63.44 kB / 0.632 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of SimCode: time 3.095e-06/0.6966, allocations: 0 / 0.632 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of Templates: time 0.06915/0.7658, allocations: 45.84 MB / 0.6767 GB, free: 3.316 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches