Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008872/0.0008872, allocations: 179 kB / 18.09 MB, free: 3.746 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.298/1.298, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007921/0.0007922, allocations: 93.86 kB / 293.3 MB, free: 10.76 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.3505/0.3505, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004195, allocations: 12 kB / 461.1 MB, free: 1.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.357, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.36, allocations: 423 MB / 0.9238 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.36, allocations: 102 kB / 0.9239 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2257/1.586, allocations: 121.4 MB / 1.042 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.445e-06/1.586, allocations: 0 / 1.042 GB, free: 56.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.524e-05/1.586, allocations: 27.92 kB / 1.043 GB, free: 56.84 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00226/1.588, allocations: 1.033 MB / 1.044 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.588, allocations: 11.97 kB / 1.044 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/1.588, allocations: 95.98 kB / 1.044 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/1.589, allocations: 0.5491 MB / 1.044 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/1.589, allocations: 109.5 kB / 1.044 GB, free: 54.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/1.59, allocations: 47.98 kB / 1.044 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.591, allocations: 0.8267 MB / 1.045 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/1.591, allocations: 11.84 kB / 1.045 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/1.591, allocations: 24 kB / 1.045 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/1.591, allocations: 40.97 kB / 1.045 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008727/1.592, allocations: 0.6283 MB / 1.046 GB, free: 53.29 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/1.596, allocations: 3.904 MB / 1.05 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007956/1.597, allocations: 403.7 kB / 1.05 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/1.597, allocations: 197.4 kB / 1.05 GB, free: 48.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/1.598, allocations: 0.499 MB / 1.051 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.598, allocations: 38.89 kB / 1.051 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.869e-06/1.598, allocations: 0 / 1.051 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002953/1.601, allocations: 1.511 MB / 1.052 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.601, allocations: 140.5 kB / 1.052 GB, free: 46.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/1.601, allocations: 0.5654 MB / 1.053 GB, free: 45.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/1.601, allocations: 33.7 kB / 1.053 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/1.602, allocations: 355 kB / 1.053 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/1.602, allocations: 165.7 kB / 1.053 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/1.602, allocations: 16 kB / 1.053 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.602, allocations: 370.8 kB / 1.054 GB, free: 44.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/1.602, allocations: 217.9 kB / 1.054 GB, free: 44.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/1.603, allocations: 0.5162 MB / 1.054 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/1.604, allocations: 0.7643 MB / 1.055 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.604, allocations: 4 kB / 1.055 GB, free: 42.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001592/1.605, allocations: 0.9251 MB / 1.056 GB, free: 41.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.605, allocations: 12 kB / 1.056 GB, free: 41.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/1.605, allocations: 8.844 kB / 1.056 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.606, allocations: 276.6 kB / 1.056 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.607, allocations: 119.8 kB / 1.057 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008701/1.608, allocations: 0.8632 MB / 1.057 GB, free: 40.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/1.608, allocations: 44.05 kB / 1.057 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/1.608, allocations: 39.98 kB / 1.057 GB, free: 40.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004088/1.609, allocations: 245.5 kB / 1.058 GB, free: 40.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/1.609, allocations: 71.09 kB / 1.058 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/1.61, allocations: 0.6987 MB / 1.058 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.61, allocations: 11.92 kB / 1.058 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.61, allocations: 0 / 1.058 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.61, allocations: 0 / 1.058 GB, free: 39.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/1.612, allocations: 1.383 MB / 1.06 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.612, allocations: 4 kB / 1.06 GB, free: 38.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/1.613, allocations: 191.7 kB / 1.06 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/1.613, allocations: 68.84 kB / 1.06 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/1.613, allocations: 15.98 kB / 1.06 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/1.615, allocations: 2.785 MB / 1.063 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.615, allocations: 8.031 kB / 1.063 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.616, allocations: 0.9762 MB / 1.064 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/1.616, allocations: 188.3 kB / 1.064 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/1.616, allocations: 16 kB / 1.064 GB, free: 33.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/1.617, allocations: 31.94 kB / 1.064 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/1.617, allocations: 39.89 kB / 1.064 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/1.617, allocations: 23.98 kB / 1.064 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004209/1.617, allocations: 394.8 kB / 1.064 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.617, allocations: 0 / 1.064 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008694/1.618, allocations: 219.9 kB / 1.065 GB, free: 32.81 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005611/1.619, allocations: 270.7 kB / 1.065 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009732/1.62, allocations: 0.5967 MB / 1.065 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.62, allocations: 3.938 kB / 1.065 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009776/1.621, allocations: 474.3 kB / 1.066 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/1.622, allocations: 340.5 kB / 1.066 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/1.624, allocations: 1.629 MB / 1.068 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/1.625, allocations: 0.9387 MB / 1.069 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006806/1.625, allocations: 208.5 kB / 1.069 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/1.626, allocations: 63.42 kB / 1.069 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/1.626, allocations: 0 / 1.069 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.02158/1.647, allocations: 13.84 MB / 1.083 GB, free: 14.59 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches