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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 104 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3733/0.3733, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000994/0.0009942, allocations: 59.91 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3339, allocations: 60.8 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03066/0.3646, allocations: 40.26 MB / 0.5457 GB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02132/0.3859, allocations: 21.24 MB / 0.5665 GB, free: 11.05 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009338/0.3869, allocations: 29.19 kB / 0.5665 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.3882, allocations: 390.5 kB / 0.5669 GB, free: 10.83 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.402, allocations: 4.178 MB / 0.5709 GB, free: 8.898 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008437/0.4104, allocations: 2.231 MB / 0.5731 GB, free: 7.688 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004265/0.4147, allocations: 2.876 MB / 0.5759 GB, free: 6.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009311/0.4157, allocations: 438.4 kB / 0.5763 GB, free: 5.984 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.4257, allocations: 4.056 MB / 0.5803 GB, free: 3.508 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.4369, allocations: 5.449 MB / 0.5856 GB, free: 14.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.4372, allocations: 43.94 kB / 0.5857 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/0.4527, allocations: 7.263 MB / 0.5928 GB, free: 7.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004929/0.4533, allocations: 255.2 kB / 0.593 GB, free: 7.191 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007918/0.4541, allocations: 422 kB / 0.5934 GB, free: 6.777 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4668, allocations: 5.095 MB / 0.5984 GB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4668, allocations: 0 / 0.5984 GB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4668, allocations: 0 / 0.5984 GB, free: 1.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4669, allocations: 0 / 0.5984 GB, free: 1.672 MB / 410.7 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.004354/0.4712, allocations: 1.672 MB / 0.6 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4713, allocations: 11.97 kB / 0.6 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.4734, allocations: 299.8 kB / 0.6003 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009885/0.4744, allocations: 0.556 MB / 0.6009 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.4745, allocations: 109.3 kB / 0.601 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.4746, allocations: 64.11 kB / 0.601 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.4769, allocations: 1.169 MB / 0.6022 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4769, allocations: 3.938 kB / 0.6022 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.477, allocations: 28 kB / 0.6022 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/0.4771, allocations: 45.28 kB / 0.6022 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.4786, allocations: 0.844 MB / 0.6031 GB, free: 12.68 MB / 426.7 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.007322/0.486, allocations: 5.489 MB / 0.6084 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.4873, allocations: 0.5868 MB / 0.609 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.4877, allocations: 229.6 kB / 0.6092 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09684/0.5845, allocations: 46.21 MB / 0.6543 GB, free: 2.457 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/0.5846, allocations: 38.56 kB / 0.6544 GB, free: 2.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.5847, allocations: 3.938 kB / 0.6544 GB, free: 2.406 MB / 474.7 MB Notification: Performance of matching and sorting (n=46): time 0.005083/0.5897, allocations: 1.925 MB / 0.6563 GB, free: 428 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.5899, allocations: 174.1 kB / 0.6564 GB, free: 216 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.5906, allocations: 0.6172 MB / 0.657 GB, free: 15.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.5906, allocations: 33.7 kB / 0.6571 GB, free: 15.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.5909, allocations: 399.1 kB / 0.6574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.5911, allocations: 169.7 kB / 0.6576 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.5913, allocations: 154.5 kB / 0.6577 GB, free: 14.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5914, allocations: 374.8 kB / 0.6581 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.5918, allocations: 229.9 kB / 0.6583 GB, free: 14.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/0.5924, allocations: 0.5679 MB / 0.6589 GB, free: 13.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.5933, allocations: 0.8368 MB / 0.6597 GB, free: 12.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5934, allocations: 4 kB / 0.6597 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001283/0.5946, allocations: 0.8714 MB / 0.6605 GB, free: 11.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5947, allocations: 12 kB / 0.6606 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.5947, allocations: 8 kB / 0.6606 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.595, allocations: 64.81 kB / 0.6606 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.5962, allocations: 275.6 kB / 0.6609 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.5978, allocations: 1.983 MB / 0.6628 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/0.5984, allocations: 59.97 kB / 0.6629 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.5984, allocations: 40 kB / 0.6629 GB, free: 9.023 MB / 490.7 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.0004232/0.5989, allocations: 282 kB / 0.6632 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.599, allocations: 67.25 kB / 0.6633 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.6015, allocations: 2.22 MB / 0.6654 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/0.6015, allocations: 31.95 kB / 0.6655 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.6015, allocations: 3.938 kB / 0.6655 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6016, allocations: 3.984 kB / 0.6655 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/0.605, allocations: 3.285 MB / 0.6687 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.605, allocations: 4 kB / 0.6687 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/0.606, allocations: 183.8 kB / 0.6688 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003484/0.6063, allocations: 96.62 kB / 0.6689 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.6064, allocations: 15.92 kB / 0.669 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.6078, allocations: 1.987 MB / 0.6709 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6078, allocations: 0 / 0.6709 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4881/1.096, allocations: 65 MB / 0.7344 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/1.096, allocations: 244.4 kB / 0.7346 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/1.096, allocations: 23.73 kB / 0.7346 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/1.097, allocations: 51.64 kB / 0.7347 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/1.097, allocations: 31.83 kB / 0.7347 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/1.097, allocations: 19.8 kB / 0.7347 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000568/1.098, allocations: 0.5104 MB / 0.7352 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/1.098, allocations: 3.938 kB / 0.7352 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01129/1.109, allocations: 3.751 MB / 0.7389 GB, free: 130.4 MB / 0.4948 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.02283/1.132, allocations: 2.661 MB / 0.7415 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.134, allocations: 0.9289 MB / 0.7424 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.134, allocations: 0 / 0.7424 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.135, allocations: 0.6753 MB / 0.7431 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/1.137, allocations: 376.1 kB / 0.7434 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/1.141, allocations: 3.844 MB / 0.7472 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/1.142, allocations: 1.176 MB / 0.7483 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009909/1.143, allocations: 469.6 kB / 0.7488 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/1.143, allocations: 71.44 kB / 0.7488 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.383e-06/1.143, allocations: 0 / 0.7488 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.4278/1.571, allocations: 164 MB / 0.909 GB, free: 151.8 MB / 0.5105 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../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