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.001449/0.001449, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001121/0.001121, allocations: 96.36 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000524/0.0005236, allocations: 12 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3294, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.364, allocations: 367.2 MB / 0.7243 GB, free: 81.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003715/1.364, allocations: 98.5 kB / 0.7244 GB, free: 81.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2467/1.611, allocations: 80.35 MB / 0.8029 GB, free: 8.121 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.611, allocations: 0 / 0.8029 GB, free: 8.121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/1.611, allocations: 4 kB / 0.8029 GB, free: 8.117 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.001209/1.612, allocations: 0.6284 MB / 0.8035 GB, free: 7.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/1.612, allocations: 8.031 kB / 0.8035 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003634/1.613, allocations: 43.61 kB / 0.8036 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/1.613, allocations: 274.8 kB / 0.8038 GB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/1.613, allocations: 28.45 kB / 0.8039 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/1.613, allocations: 24 kB / 0.8039 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/1.614, allocations: 299.7 kB / 0.8042 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.614, allocations: 7.984 kB / 0.8042 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/1.614, allocations: 12 kB / 0.8042 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/1.614, allocations: 4 kB / 0.8042 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/1.614, allocations: 193.6 kB / 0.8044 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/1.616, allocations: 1.432 MB / 0.8058 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/1.617, allocations: 175.2 kB / 0.8059 GB, free: 4.766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/1.617, allocations: 12.17 kB / 0.806 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.617, allocations: 38.7 kB / 0.806 GB, free: 4.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.706e-06/1.617, allocations: 0 / 0.806 GB, free: 4.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.00377/1.621, allocations: 0.997 MB / 0.807 GB, free: 3.637 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/1.621, allocations: 55.41 kB / 0.807 GB, free: 3.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/1.621, allocations: 229.6 kB / 0.8072 GB, free: 3.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/1.621, allocations: 33.69 kB / 0.8073 GB, free: 3.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/1.621, allocations: 238.6 kB / 0.8075 GB, free: 3.062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/1.621, allocations: 98.64 kB / 0.8076 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/1.621, allocations: 4 kB / 0.8076 GB, free: 2.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/1.621, allocations: 330.8 kB / 0.8079 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/1.622, allocations: 79.97 kB / 0.808 GB, free: 2.551 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/1.622, allocations: 178.9 kB / 0.8082 GB, free: 2.336 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/1.622, allocations: 115.9 kB / 0.8083 GB, free: 2.223 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.622, allocations: 4 kB / 0.8083 GB, free: 2.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009909/1.623, allocations: 363.8 kB / 0.8086 GB, free: 1.852 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.623, allocations: 4 kB / 0.8086 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/1.623, allocations: 4 kB / 0.8086 GB, free: 1.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/1.624, allocations: 69.61 kB / 0.8087 GB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/1.624, allocations: 63.92 kB / 0.8088 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2835/1.908, allocations: 2.687 MB / 0.8114 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/1.908, allocations: 21.97 kB / 0.8114 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.908, allocations: 16.7 kB / 0.8114 GB, free: 125.4 MB / 426.7 MB 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 () * Number of clocked 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.0002645/1.909, allocations: 150 kB / 0.8116 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/1.909, allocations: 29.47 kB / 0.8116 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/1.909, allocations: 35.91 kB / 0.8116 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.909, allocations: 3.969 kB / 0.8116 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.909, allocations: 3.5 kB / 0.8116 GB, free: 125.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009233/1.91, allocations: 0.566 MB / 0.8122 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/1.911, allocations: 0.7038 MB / 0.8129 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.911, allocations: 7.734 kB / 0.8129 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/1.912, allocations: 47.34 kB / 0.8129 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/1.912, allocations: 57 kB / 0.813 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/1.912, allocations: 9.219 kB / 0.813 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/1.914, allocations: 1.396 MB / 0.8143 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.914, allocations: 1.25 kB / 0.8143 GB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/1.915, allocations: 484 kB / 0.8148 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/1.915, allocations: 105.3 kB / 0.8149 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/1.915, allocations: 7.469 kB / 0.8149 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/1.916, allocations: 21.94 kB / 0.8149 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/1.916, allocations: 14.62 kB / 0.815 GB, free: 123 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/1.916, allocations: 13.78 kB / 0.815 GB, free: 123 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002864/1.916, allocations: 182.4 kB / 0.8151 GB, free: 122.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.916, allocations: 0 / 0.8151 GB, free: 122.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007374/1.917, allocations: 98.5 kB / 0.8152 GB, free: 122.9 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 () * Number of clocked 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.0003122/1.917, allocations: 163.6 kB / 0.8154 GB, free: 122.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/1.918, allocations: 471.5 kB / 0.8158 GB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.918, allocations: 1 kB / 0.8158 GB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/1.919, allocations: 232.4 kB / 0.8161 GB, free: 122.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/1.92, allocations: 156.7 kB / 0.8162 GB, free: 122.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/1.922, allocations: 0.8544 MB / 0.817 GB, free: 122.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/1.922, allocations: 0.7721 MB / 0.8178 GB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.923, allocations: 27.94 kB / 0.8178 GB, free: 121.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/1.923, allocations: 0 / 0.8178 GB, free: 121.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01347/1.936, allocations: 6.241 MB / 0.8239 GB, free: 121.3 MB / 426.7 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