Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002122/0.002127, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 88.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.614e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.344, allocations: 47.57 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.057/1.401, allocations: 366.4 MB / 0.7117 GB, free: 112.3 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/1.402, allocations: 94.81 kB / 0.7118 GB, free: 112.2 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2443/1.646, allocations: 79.69 MB / 0.7896 GB, free: 40.4 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.664e-06/1.646, allocations: 0 / 0.7896 GB, free: 40.4 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.227e-05/1.646, allocations: 8 kB / 0.7896 GB, free: 40.39 MB / 427.1 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.001095/1.647, allocations: 0.5975 MB / 0.7902 GB, free: 39.75 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.647, allocations: 8.031 kB / 0.7902 GB, free: 39.74 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/1.648, allocations: 35.72 kB / 0.7902 GB, free: 39.71 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/1.648, allocations: 274.5 kB / 0.7905 GB, free: 39.4 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/1.648, allocations: 11.95 kB / 0.7905 GB, free: 39.39 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.419e-05/1.648, allocations: 12 kB / 0.7905 GB, free: 39.38 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004324/1.649, allocations: 169.1 kB / 0.7907 GB, free: 39.21 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/1.649, allocations: 262.6 kB / 0.7909 GB, free: 38.93 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/1.649, allocations: 0 / 0.7909 GB, free: 38.93 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/1.649, allocations: 3.984 kB / 0.7909 GB, free: 38.92 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/1.649, allocations: 8 kB / 0.7909 GB, free: 38.91 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/1.651, allocations: 1.366 MB / 0.7923 GB, free: 37.44 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/1.652, allocations: 159.1 kB / 0.7924 GB, free: 37.28 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/1.652, allocations: 81.23 kB / 0.7925 GB, free: 37.2 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/1.652, allocations: 4.125 kB / 0.7925 GB, free: 37.19 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.652, allocations: 42.7 kB / 0.7925 GB, free: 37.14 MB / 427.1 MB Notification: Performance of pre-optimization done (n=21): time 2.144e-06/1.652, allocations: 0 / 0.7925 GB, free: 37.14 MB / 427.1 MB Notification: Performance of matching and sorting (n=26): time 0.002355/1.654, allocations: 0.7401 MB / 0.7933 GB, free: 36.34 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/1.654, allocations: 59.41 kB / 0.7933 GB, free: 36.27 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/1.655, allocations: 199 kB / 0.7935 GB, free: 36.06 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/1.655, allocations: 25.7 kB / 0.7935 GB, free: 36.03 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/1.655, allocations: 238.3 kB / 0.7938 GB, free: 35.79 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/1.655, allocations: 94.64 kB / 0.7939 GB, free: 35.7 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.655, allocations: 4 kB / 0.7939 GB, free: 35.7 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/1.655, allocations: 326.8 kB / 0.7942 GB, free: 35.37 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/1.655, allocations: 72 kB / 0.7942 GB, free: 35.3 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/1.655, allocations: 167.1 kB / 0.7944 GB, free: 35.09 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/1.656, allocations: 108.3 kB / 0.7945 GB, free: 34.99 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.656, allocations: 4 kB / 0.7945 GB, free: 34.98 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008576/1.656, allocations: 330.8 kB / 0.7948 GB, free: 34.65 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.656, allocations: 7.031 kB / 0.7948 GB, free: 34.64 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.657, allocations: 8 kB / 0.7948 GB, free: 34.64 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/1.657, allocations: 61.67 kB / 0.7949 GB, free: 34.57 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/1.657, allocations: 67.91 kB / 0.795 GB, free: 34.5 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.66, allocations: 2.564 MB / 0.7975 GB, free: 31.71 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/1.66, allocations: 16.05 kB / 0.7975 GB, free: 31.7 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.66, allocations: 16 kB / 0.7975 GB, free: 31.68 MB / 427.1 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.0001906/1.66, allocations: 113.6 kB / 0.7976 GB, free: 31.57 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/1.66, allocations: 31.67 kB / 0.7976 GB, free: 31.54 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/1.66, allocations: 33.95 kB / 0.7977 GB, free: 31.5 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/1.66, allocations: 4.141 kB / 0.7977 GB, free: 31.5 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.66, allocations: 3.984 kB / 0.7977 GB, free: 31.5 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006763/1.661, allocations: 0.5332 MB / 0.7982 GB, free: 30.88 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/1.662, allocations: 0.6438 MB / 0.7988 GB, free: 30.18 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.662, allocations: 0 / 0.7988 GB, free: 30.18 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/1.663, allocations: 43.98 kB / 0.7989 GB, free: 30.14 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003369/1.663, allocations: 56.77 kB / 0.7989 GB, free: 30.08 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/1.663, allocations: 3.984 kB / 0.7989 GB, free: 30.08 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/1.664, allocations: 1.323 MB / 0.8002 GB, free: 28.64 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.664, allocations: 3.953 kB / 0.8002 GB, free: 28.63 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/1.665, allocations: 455 kB / 0.8007 GB, free: 28.16 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/1.665, allocations: 96.98 kB / 0.8007 GB, free: 28.05 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/1.665, allocations: 7.984 kB / 0.8008 GB, free: 28.04 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/1.666, allocations: 8 kB / 0.8008 GB, free: 28.03 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/1.666, allocations: 15.97 kB / 0.8008 GB, free: 28.02 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/1.666, allocations: 12 kB / 0.8008 GB, free: 28 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001689/1.666, allocations: 153.6 kB / 0.8009 GB, free: 27.86 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.1e-07/1.666, allocations: 0 / 0.8009 GB, free: 27.86 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0006925/1.667, allocations: 99.98 kB / 0.801 GB, free: 27.76 MB / 427.1 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.0002731/1.667, allocations: 162.5 kB / 0.8012 GB, free: 27.59 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0008944/1.668, allocations: 431.3 kB / 0.8016 GB, free: 27.15 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.668, allocations: 0.75 kB / 0.8016 GB, free: 27.15 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/1.668, allocations: 229.6 kB / 0.8018 GB, free: 26.92 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.67, allocations: 116.5 kB / 0.8019 GB, free: 26.8 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/1.671, allocations: 0.507 MB / 0.8024 GB, free: 26.27 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/1.671, allocations: 0.7716 MB / 0.8032 GB, free: 25.47 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.671, allocations: 31.42 kB / 0.8032 GB, free: 25.44 MB / 427.1 MB Notification: Performance of SimCode: time 8.21e-07/1.671, allocations: 0 / 0.8032 GB, free: 25.44 MB / 427.1 MB Notification: Performance of Templates: time 0.0115/1.683, allocations: 5.846 MB / 0.8089 GB, free: 19.58 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches