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.001029/0.001029, allocations: 170.6 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009476, allocations: 84.38 kB / 281.6 MB, free: 5.328 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.2235/0.2235, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.561e-05, allocations: 224 / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1479, allocations: 61.92 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.528/7.676, allocations: 2.8 GB / 3.295 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/7.677, allocations: 85.98 kB / 3.295 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.896/9.572, allocations: 0.4933 GB / 3.788 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.864e-06/9.572, allocations: 0 / 3.788 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001345/9.572, allocations: 16.41 kB / 3.788 GB, free: 70.01 MB / 0.5261 GB 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.009137/9.582, allocations: 1.722 MB / 3.79 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/9.582, allocations: 11.8 kB / 3.79 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/9.584, allocations: 327.5 kB / 3.79 GB, free: 69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/9.586, allocations: 0.6023 MB / 3.791 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/9.586, allocations: 86.75 kB / 3.791 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/9.586, allocations: 36.62 kB / 3.791 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001476/9.588, allocations: 0.65 MB / 3.791 GB, free: 68.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/9.589, allocations: 0.8811 MB / 3.792 GB, free: 67.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/9.59, allocations: 7.844 kB / 3.792 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/9.59, allocations: 7.281 kB / 3.792 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/9.59, allocations: 48.12 kB / 3.792 GB, free: 67.8 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.1499/9.74, allocations: 83.12 MB / 3.873 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/9.741, allocations: 359.3 kB / 3.874 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/9.741, allocations: 153.4 kB / 3.874 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4809/10.22, allocations: 38.47 MB / 3.911 GB, free: 73.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/10.22, allocations: 42.14 kB / 3.911 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/10.22, allocations: 0 / 3.911 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.003876/10.23, allocations: 1.378 MB / 3.913 GB, free: 73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/10.23, allocations: 135.8 kB / 3.913 GB, free: 72.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/10.23, allocations: 489.1 kB / 3.913 GB, free: 72.72 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/10.23, allocations: 25.7 kB / 3.913 GB, free: 72.69 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/10.23, allocations: 421.3 kB / 3.914 GB, free: 72.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/10.23, allocations: 141.5 kB / 3.914 GB, free: 72.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/10.23, allocations: 0 / 3.914 GB, free: 72.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/10.23, allocations: 373.2 kB / 3.914 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/10.23, allocations: 191.9 kB / 3.914 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/10.23, allocations: 0.535 MB / 3.915 GB, free: 71.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/10.23, allocations: 308.5 kB / 3.915 GB, free: 71.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/10.23, allocations: 7.375 kB / 3.915 GB, free: 71.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00121/10.23, allocations: 0.7603 MB / 3.916 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/10.23, allocations: 10.56 kB / 3.916 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/10.23, allocations: 13.75 kB / 3.916 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/10.23, allocations: 63.88 kB / 3.916 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/10.23, allocations: 283 kB / 3.916 GB, free: 71.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/10.23, allocations: 1.929 MB / 3.918 GB, free: 69.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/10.23, allocations: 50.17 kB / 3.918 GB, free: 69.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/10.23, allocations: 40.12 kB / 3.918 GB, free: 69.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001848/10.23, allocations: 132.1 kB / 3.919 GB, free: 69.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/10.23, allocations: 69.45 kB / 3.919 GB, free: 69.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/10.23, allocations: 1.591 MB / 3.92 GB, free: 69.49 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/10.23, allocations: 21.56 kB / 3.92 GB, free: 69.49 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/10.23, allocations: 3.844 kB / 3.92 GB, free: 69.49 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/10.23, allocations: 0 / 3.92 GB, free: 69.49 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/10.24, allocations: 2.453 MB / 3.923 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/10.24, allocations: 0 / 3.923 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/10.24, allocations: 180.5 kB / 3.923 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/10.24, allocations: 83.61 kB / 3.923 GB, free: 69.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/10.24, allocations: 7.344 kB / 3.923 GB, free: 69.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/10.24, allocations: 1.969 MB / 3.925 GB, free: 67.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/10.24, allocations: 3.953 kB / 3.925 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/10.24, allocations: 1.513 MB / 3.926 GB, free: 67.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/10.24, allocations: 218.6 kB / 3.926 GB, free: 66.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/10.24, allocations: 7.688 kB / 3.926 GB, free: 66.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/10.24, allocations: 44.28 kB / 3.926 GB, free: 66.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/10.24, allocations: 25.23 kB / 3.926 GB, free: 66.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/10.24, allocations: 22.5 kB / 3.927 GB, free: 66.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005013/10.24, allocations: 346.1 kB / 3.927 GB, free: 66.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/10.24, allocations: 1.781 kB / 3.927 GB, free: 66.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006316/10.25, allocations: 1.089 MB / 3.928 GB, free: 66.84 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00852/10.26, allocations: 1.64 MB / 3.93 GB, free: 66.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001916/10.26, allocations: 0.7902 MB / 3.93 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/10.26, allocations: 0 / 3.93 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/10.26, allocations: 0.5299 MB / 3.931 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/10.26, allocations: 264.9 kB / 3.931 GB, free: 66.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/10.26, allocations: 1.424 MB / 3.932 GB, free: 66.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/10.26, allocations: 1.07 MB / 3.933 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00125/10.27, allocations: 0.5087 MB / 3.934 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/10.27, allocations: 54.34 kB / 3.934 GB, free: 65.67 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/10.27, allocations: 0 / 3.934 GB, free: 65.67 MB / 0.5417 GB Notification: Performance of Templates: time 0.04654/10.31, allocations: 33 MB / 3.966 GB, free: 63.64 MB / 0.5417 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","../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