Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.001011, allocations: 172.2 kB / 16.76 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 103.6 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3805/0.3805, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003749, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.271, allocations: 420.6 MB / 0.8907 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/1.272, allocations: 100.5 kB / 0.8908 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2325/1.504, allocations: 119 MB / 1.007 GB, free: 54.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.465e-06/1.504, allocations: 0 / 1.007 GB, free: 54.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.372e-05/1.504, allocations: 19.98 kB / 1.007 GB, free: 54.07 MB / 0.4948 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.00217/1.506, allocations: 1.046 MB / 1.008 GB, free: 52.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.506, allocations: 8.031 kB / 1.008 GB, free: 52.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/1.507, allocations: 88.08 kB / 1.008 GB, free: 52.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/1.508, allocations: 0.5608 MB / 1.009 GB, free: 52.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/1.508, allocations: 101.5 kB / 1.009 GB, free: 52.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/1.508, allocations: 55.89 kB / 1.009 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/1.509, allocations: 0.8306 MB / 1.01 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.509, allocations: 0 / 1.01 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/1.509, allocations: 20 kB / 1.01 GB, free: 51.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/1.509, allocations: 36.98 kB / 1.01 GB, free: 51.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/1.51, allocations: 0.6399 MB / 1.01 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003553/1.513, allocations: 3.912 MB / 1.014 GB, free: 46.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/1.514, allocations: 389 kB / 1.014 GB, free: 45.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/1.514, allocations: 201.4 kB / 1.015 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/1.515, allocations: 0.5029 MB / 1.015 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/1.515, allocations: 34.89 kB / 1.015 GB, free: 45.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 2.645e-06/1.515, allocations: 0 / 1.015 GB, free: 45.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.002872/1.518, allocations: 1.514 MB / 1.017 GB, free: 43.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/1.518, allocations: 136.5 kB / 1.017 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/1.518, allocations: 0.5692 MB / 1.017 GB, free: 42.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/1.519, allocations: 33.7 kB / 1.017 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/1.519, allocations: 355 kB / 1.018 GB, free: 42.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/1.519, allocations: 161.7 kB / 1.018 GB, free: 42.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/1.519, allocations: 16 kB / 1.018 GB, free: 42.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.519, allocations: 370.8 kB / 1.018 GB, free: 41.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/1.519, allocations: 213.9 kB / 1.018 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/1.52, allocations: 0.5249 MB / 1.019 GB, free: 41.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/1.52, allocations: 0.7679 MB / 1.02 GB, free: 40.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.521, allocations: 3.984 kB / 1.02 GB, free: 40.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001423/1.522, allocations: 0.9328 MB / 1.021 GB, free: 39.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/1.522, allocations: 9.562 kB / 1.021 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.522, allocations: 12 kB / 1.021 GB, free: 39.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.523, allocations: 257.4 kB / 1.021 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/1.523, allocations: 131.8 kB / 1.021 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007419/1.524, allocations: 0.8528 MB / 1.022 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/1.525, allocations: 48.03 kB / 1.022 GB, free: 37.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/1.525, allocations: 36 kB / 1.022 GB, free: 37.81 MB / 0.4948 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.0003504/1.525, allocations: 253.4 kB / 1.022 GB, free: 37.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/1.525, allocations: 67.16 kB / 1.022 GB, free: 37.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/1.526, allocations: 0.6923 MB / 1.023 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/1.526, allocations: 7.938 kB / 1.023 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.526, allocations: 4 kB / 1.023 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.526, allocations: 3.984 kB / 1.023 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/1.528, allocations: 1.376 MB / 1.024 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.528, allocations: 4 kB / 1.024 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/1.529, allocations: 191.8 kB / 1.024 GB, free: 35.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002558/1.529, allocations: 68.78 kB / 1.025 GB, free: 35.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/1.529, allocations: 12 kB / 1.025 GB, free: 35.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/1.531, allocations: 2.793 MB / 1.027 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.531, allocations: 0 / 1.027 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.532, allocations: 0.9837 MB / 1.028 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/1.533, allocations: 196.2 kB / 1.028 GB, free: 30.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/1.533, allocations: 19.94 kB / 1.028 GB, free: 30.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/1.533, allocations: 32.05 kB / 1.028 GB, free: 30.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/1.533, allocations: 39.83 kB / 1.029 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/1.533, allocations: 19.98 kB / 1.029 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004329/1.534, allocations: 390.8 kB / 1.029 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.534, allocations: 4 kB / 1.029 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008463/1.535, allocations: 219.9 kB / 1.029 GB, free: 30.04 MB / 0.4948 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.0005451/1.535, allocations: 271.7 kB / 1.029 GB, free: 29.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009658/1.536, allocations: 0.5854 MB / 1.03 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.536, allocations: 4 kB / 1.03 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009517/1.537, allocations: 482.1 kB / 1.03 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.539, allocations: 329 kB / 1.031 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/1.541, allocations: 1.652 MB / 1.032 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/1.541, allocations: 0.9425 MB / 1.033 GB, free: 25.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007482/1.542, allocations: 189.9 kB / 1.033 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.542, allocations: 59.44 kB / 1.034 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/1.542, allocations: 4 kB / 1.034 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of Templates: time 0.0226/1.564, allocations: 13.86 MB / 1.047 GB, free: 11.66 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches