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.001301/0.001301, allocations: 116.4 kB / 17.08 MB, free: 6.012 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.001435/0.001436, allocations: 195 kB / 18.01 MB, free: 5.094 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.652/1.652, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2565/0.2565, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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.001503/0.001503, allocations: 76.31 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04436/0.1648, allocations: 39.03 MB / 0.5267 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2678/0.4326, allocations: 20.14 MB / 0.5463 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.4337, allocations: 19.06 kB / 0.5464 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.4352, allocations: 447.3 kB / 0.5468 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01714/0.4524, allocations: 5.11 MB / 0.5518 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008682/0.4611, allocations: 2.554 MB / 0.5543 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003319/0.4644, allocations: 2.004 MB / 0.5562 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009053/0.4654, allocations: 0.499 MB / 0.5567 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009284/0.4747, allocations: 4.164 MB / 0.5608 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009952/0.4847, allocations: 5.43 MB / 0.5661 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.485, allocations: 72.03 kB / 0.5662 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01676/0.5018, allocations: 7.382 MB / 0.5734 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005296/0.5023, allocations: 291.5 kB / 0.5736 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007653/0.5031, allocations: 455.7 kB / 0.5741 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.5151, allocations: 5.109 MB / 0.5791 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5152, allocations: 0 / 0.5791 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5152, allocations: 3.938 kB / 0.5791 GB, free: 8.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5152, allocations: 0 / 0.5791 GB, free: 8.254 MB / 430.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.004044/0.5192, allocations: 1.659 MB / 0.5807 GB, free: 7.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5193, allocations: 13.61 kB / 0.5807 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.5215, allocations: 307.2 kB / 0.581 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.5224, allocations: 0.5832 MB / 0.5816 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.5225, allocations: 115.5 kB / 0.5817 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-05/0.5226, allocations: 60.38 kB / 0.5817 GB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.525, allocations: 1.16 MB / 0.5829 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.525, allocations: 0 / 0.5829 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.592e-05/0.5251, allocations: 32 kB / 0.5829 GB, free: 4.887 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.5252, allocations: 45.22 kB / 0.5829 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.5269, allocations: 0.8401 MB / 0.5838 GB, free: 4.004 MB / 430.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.006152/0.533, allocations: 5.499 MB / 0.5891 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5343, allocations: 0.5807 MB / 0.5897 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.5346, allocations: 233.1 kB / 0.5899 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09741/0.6321, allocations: 46.39 MB / 0.6352 GB, free: 9.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.6322, allocations: 42.56 kB / 0.6353 GB, free: 9.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.505e-06/0.6322, allocations: 0 / 0.6353 GB, free: 9.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.005522/0.6377, allocations: 1.923 MB / 0.6371 GB, free: 7.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.6378, allocations: 158.2 kB / 0.6373 GB, free: 7.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.6386, allocations: 0.6249 MB / 0.6379 GB, free: 6.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.6386, allocations: 41.73 kB / 0.6379 GB, free: 6.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.6389, allocations: 390.2 kB / 0.6383 GB, free: 6.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.6391, allocations: 169.3 kB / 0.6385 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.6393, allocations: 154.5 kB / 0.6386 GB, free: 6.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6395, allocations: 378.8 kB / 0.639 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.6398, allocations: 225.9 kB / 0.6392 GB, free: 5.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.6405, allocations: 0.5756 MB / 0.6398 GB, free: 4.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.6419, allocations: 0.8331 MB / 0.6406 GB, free: 3.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.6419, allocations: 4 kB / 0.6406 GB, free: 3.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002333/0.6443, allocations: 0.8666 MB / 0.6414 GB, free: 2.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6443, allocations: 9 kB / 0.6414 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.6443, allocations: 12 kB / 0.6414 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/0.6448, allocations: 68.77 kB / 0.6415 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.6469, allocations: 283.5 kB / 0.6418 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.6494, allocations: 2.076 MB / 0.6438 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.6502, allocations: 31.94 kB / 0.6438 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.897e-05/0.6503, allocations: 40 kB / 0.6439 GB, free: 200 kB / 494.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.0006264/0.651, allocations: 277.3 kB / 0.6441 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.6513, allocations: 75.17 kB / 0.6442 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.6554, allocations: 2.209 MB / 0.6464 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/0.6555, allocations: 31.95 kB / 0.6464 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6555, allocations: 3.938 kB / 0.6464 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6555, allocations: 3.984 kB / 0.6464 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/0.6616, allocations: 3.28 MB / 0.6496 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.6616, allocations: 0 / 0.6496 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.6634, allocations: 195.8 kB / 0.6498 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/0.664, allocations: 88.69 kB / 0.6499 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/0.664, allocations: 12 kB / 0.6499 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.6665, allocations: 2.101 MB / 0.6519 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6665, allocations: 0 / 0.6519 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.6703, allocations: 1.975 MB / 0.6539 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006007/0.671, allocations: 247.7 kB / 0.6541 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.6712, allocations: 31.69 kB / 0.6541 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/0.6721, allocations: 31.97 kB / 0.6542 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6723, allocations: 32.39 kB / 0.6542 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.6724, allocations: 23.98 kB / 0.6542 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001167/0.6736, allocations: 0.5107 MB / 0.6547 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.735e-06/0.6736, allocations: 0 / 0.6547 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005094/0.6787, allocations: 1.085 MB / 0.6558 GB, free: 3.711 MB / 0.4981 GB 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.008042/0.6867, allocations: 1.212 MB / 0.657 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.6901, allocations: 0.9237 MB / 0.6579 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.6901, allocations: 5.859 kB / 0.6579 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/0.6923, allocations: 0.6716 MB / 0.6585 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/0.6959, allocations: 387 kB / 0.6589 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.6999, allocations: 2.258 MB / 0.6611 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.7007, allocations: 1.109 MB / 0.6622 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.7009, allocations: 67.44 kB / 0.6623 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of SimCode: time 8.52e-07/0.7009, allocations: 3.938 kB / 0.6623 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.05059/0.7515, allocations: 37.89 MB / 0.6993 GB, free: 7.211 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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