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.001116/0.001116, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.34/1.34, allocations: 223.2 MB / 241 MB, free: 10.13 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.0009145/0.0009145, allocations: 100.6 kB / 292.2 MB, free: 10.68 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.3799/0.3799, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 8 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3486, allocations: 61.9 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.357, allocations: 422.8 MB / 0.9225 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.357, allocations: 103.9 kB / 0.9226 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2392/1.597, allocations: 122.2 MB / 1.042 GB, free: 44.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/1.597, allocations: 0 / 1.042 GB, free: 44.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.405e-05/1.597, allocations: 20 kB / 1.042 GB, free: 44.45 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.003394/1.6, allocations: 1.037 MB / 1.043 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.6, allocations: 8.031 kB / 1.043 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/1.601, allocations: 95.05 kB / 1.043 GB, free: 43.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.602, allocations: 0.5364 MB / 1.044 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.602, allocations: 116.3 kB / 1.044 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/1.603, allocations: 44 kB / 1.044 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.604, allocations: 0.8151 MB / 1.045 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/1.604, allocations: 11.94 kB / 1.045 GB, free: 41.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/1.604, allocations: 27.98 kB / 1.045 GB, free: 41.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/1.604, allocations: 36.98 kB / 1.045 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/1.605, allocations: 0.6322 MB / 1.045 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/1.61, allocations: 3.932 MB / 1.049 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/1.611, allocations: 397.8 kB / 1.049 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/1.611, allocations: 0.5067 MB / 1.05 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.611, allocations: 42.88 kB / 1.05 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/1.611, allocations: 0 / 1.05 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003271/1.614, allocations: 1.504 MB / 1.051 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/1.614, allocations: 136.5 kB / 1.052 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006692/1.615, allocations: 0.4943 MB / 1.052 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/1.615, allocations: 37.7 kB / 1.052 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/1.615, allocations: 355 kB / 1.052 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/1.616, allocations: 161.7 kB / 1.053 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/1.616, allocations: 16 kB / 1.053 GB, free: 32.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.616, allocations: 370.8 kB / 1.053 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/1.616, allocations: 217.9 kB / 1.053 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/1.617, allocations: 0.5084 MB / 1.054 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/1.617, allocations: 312.9 kB / 1.054 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.617, allocations: 4 kB / 1.054 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001608/1.619, allocations: 0.9259 MB / 1.055 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.619, allocations: 12.06 kB / 1.055 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.619, allocations: 8 kB / 1.055 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.62, allocations: 264.6 kB / 1.055 GB, free: 30.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/1.62, allocations: 123.8 kB / 1.055 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/1.621, allocations: 0.8683 MB / 1.056 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/1.622, allocations: 44.05 kB / 1.056 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/1.622, allocations: 39.98 kB / 1.056 GB, free: 29.04 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.0003675/1.622, allocations: 245.5 kB / 1.056 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.622, allocations: 71.2 kB / 1.056 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/1.624, allocations: 0.6997 MB / 1.057 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.624, allocations: 8 kB / 1.057 GB, free: 28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/1.624, allocations: 0 / 1.057 GB, free: 28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.624, allocations: 8.016 kB / 1.057 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/1.626, allocations: 1.391 MB / 1.059 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/1.626, allocations: 4 kB / 1.059 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/1.627, allocations: 191.9 kB / 1.059 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/1.627, allocations: 64.78 kB / 1.059 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/1.627, allocations: 19.98 kB / 1.059 GB, free: 26.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/1.629, allocations: 2.797 MB / 1.062 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.629, allocations: 4.031 kB / 1.062 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/1.63, allocations: 1.058 MB / 1.063 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/1.631, allocations: 196.2 kB / 1.063 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.631, allocations: 19.98 kB / 1.063 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/1.631, allocations: 24.05 kB / 1.063 GB, free: 21.78 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.631, allocations: 47.84 kB / 1.063 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/1.631, allocations: 15.98 kB / 1.063 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004895/1.632, allocations: 390.8 kB / 1.063 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/1.632, allocations: 0 / 1.063 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001019/1.633, allocations: 223.9 kB / 1.063 GB, free: 21.12 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.0008288/1.634, allocations: 276.8 kB / 1.064 GB, free: 20.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001275/1.635, allocations: 0.5928 MB / 1.064 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.635, allocations: 0 / 1.064 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.636, allocations: 474.2 kB / 1.065 GB, free: 19.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.638, allocations: 323.6 kB / 1.065 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/1.641, allocations: 1.646 MB / 1.067 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/1.641, allocations: 0.9542 MB / 1.068 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007956/1.642, allocations: 197.1 kB / 1.068 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.642, allocations: 59.42 kB / 1.068 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of SimCode: time 7.61e-07/1.642, allocations: 0 / 1.068 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.02298/1.665, allocations: 13.6 MB / 1.081 GB, free: 3.152 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/jenkins/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