Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.3 MB / 214.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009584/0.0009586, allocations: 90.36 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.312e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.434, allocations: 366.7 MB / 0.7126 GB, free: 126.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004018/1.434, allocations: 97.36 kB / 0.7127 GB, free: 126.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.163/1.597, allocations: 79.66 MB / 0.7905 GB, free: 71.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.598, allocations: 0 / 0.7905 GB, free: 71.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.862e-05/1.598, allocations: 8 kB / 0.7905 GB, free: 71.94 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001981/1.6, allocations: 0.5936 MB / 0.7911 GB, free: 71.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/1.6, allocations: 8.031 kB / 0.7911 GB, free: 71.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/1.6, allocations: 39.7 kB / 0.7912 GB, free: 71.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/1.601, allocations: 274.5 kB / 0.7914 GB, free: 70.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/1.601, allocations: 15.95 kB / 0.7914 GB, free: 70.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/1.601, allocations: 19.98 kB / 0.7915 GB, free: 70.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004436/1.601, allocations: 165.1 kB / 0.7916 GB, free: 70.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/1.602, allocations: 258.6 kB / 0.7919 GB, free: 70.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.602, allocations: 0 / 0.7919 GB, free: 70.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/1.602, allocations: 0 / 0.7919 GB, free: 70.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/1.602, allocations: 12 kB / 0.7919 GB, free: 70.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/1.604, allocations: 1.366 MB / 0.7932 GB, free: 68.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/1.605, allocations: 167 kB / 0.7934 GB, free: 68.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/1.605, allocations: 81.22 kB / 0.7934 GB, free: 68.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/1.605, allocations: 192 / 0.7934 GB, free: 68.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/1.605, allocations: 38.7 kB / 0.7935 GB, free: 68.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/1.605, allocations: 0 / 0.7935 GB, free: 68.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002283/1.607, allocations: 0.7518 MB / 0.7942 GB, free: 67.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/1.607, allocations: 59.41 kB / 0.7943 GB, free: 67.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/1.608, allocations: 199.1 kB / 0.7945 GB, free: 67.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/1.608, allocations: 25.7 kB / 0.7945 GB, free: 67.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.608, allocations: 179.8 kB / 0.7947 GB, free: 67.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/1.608, allocations: 90.66 kB / 0.7947 GB, free: 67.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/1.608, allocations: 0 / 0.7947 GB, free: 67.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/1.608, allocations: 330.8 kB / 0.7951 GB, free: 66.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/1.608, allocations: 79.94 kB / 0.7951 GB, free: 66.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/1.608, allocations: 163.1 kB / 0.7953 GB, free: 66.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/1.609, allocations: 101 kB / 0.7954 GB, free: 66.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.609, allocations: 4 kB / 0.7954 GB, free: 66.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000649/1.609, allocations: 342.8 kB / 0.7957 GB, free: 66.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.609, allocations: 8 kB / 0.7957 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.609, allocations: 4 kB / 0.7957 GB, free: 66.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/1.61, allocations: 57.92 kB / 0.7958 GB, free: 66.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/1.61, allocations: 71.91 kB / 0.7958 GB, free: 66.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/1.612, allocations: 2.556 MB / 0.7983 GB, free: 63.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/1.613, allocations: 16.17 kB / 0.7984 GB, free: 63.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/1.613, allocations: 16 kB / 0.7984 GB, free: 63.28 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000235/1.613, allocations: 112.9 kB / 0.7985 GB, free: 63.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/1.613, allocations: 31.61 kB / 0.7985 GB, free: 63.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/1.613, allocations: 37.95 kB / 0.7986 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.613, allocations: 4.141 kB / 0.7986 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.613, allocations: 3.984 kB / 0.7986 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005178/1.614, allocations: 0.5434 MB / 0.7991 GB, free: 62.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/1.614, allocations: 0.6453 MB / 0.7997 GB, free: 61.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.614, allocations: 0 / 0.7997 GB, free: 61.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/1.615, allocations: 43.92 kB / 0.7998 GB, free: 61.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/1.615, allocations: 52.7 kB / 0.7998 GB, free: 61.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/1.615, allocations: 7.984 kB / 0.7998 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008771/1.616, allocations: 1.323 MB / 0.8011 GB, free: 60.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.616, allocations: 3.953 kB / 0.8011 GB, free: 60.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/1.616, allocations: 450.9 kB / 0.8015 GB, free: 59.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/1.616, allocations: 96.86 kB / 0.8016 GB, free: 59.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/1.617, allocations: 3.984 kB / 0.8016 GB, free: 59.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/1.617, allocations: 15.97 kB / 0.8017 GB, free: 59.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/1.617, allocations: 19.97 kB / 0.8017 GB, free: 59.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/1.617, allocations: 4 kB / 0.8017 GB, free: 59.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001357/1.617, allocations: 153.6 kB / 0.8018 GB, free: 59.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.617, allocations: 0 / 0.8018 GB, free: 59.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005485/1.618, allocations: 99.98 kB / 0.8019 GB, free: 59.34 MB / 426.7 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.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003404/1.618, allocations: 168.7 kB / 0.8021 GB, free: 59.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006713/1.619, allocations: 431.7 kB / 0.8025 GB, free: 58.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.619, allocations: 0 / 0.8025 GB, free: 58.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/1.619, allocations: 221.7 kB / 0.8027 GB, free: 58.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/1.62, allocations: 121 kB / 0.8028 GB, free: 58.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.621, allocations: 483.2 kB / 0.8033 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/1.621, allocations: 0.7677 MB / 0.804 GB, free: 57.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003058/1.621, allocations: 51.25 kB / 0.8041 GB, free: 57.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/1.621, allocations: 31.44 kB / 0.8041 GB, free: 57.01 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/1.621, allocations: 0 / 0.8041 GB, free: 57.01 MB / 426.7 MB Notification: Performance of Templates: time 0.009336/1.631, allocations: 4.908 MB / 0.8089 GB, free: 52.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches