Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00138/0.001386, allocations: 182 kB / 18.04 MB, free: 3.785 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.504/1.504, allocations: 205.4 MB / 224.2 MB, free: 9.059 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.0008766/0.0008766, allocations: 86.36 kB / 272.5 MB, free: 8.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.000444, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2837, allocations: 47.56 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7879/1.072, allocations: 367.2 MB / 0.7268 GB, free: 99.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.072, allocations: 99.92 kB / 0.7269 GB, free: 99.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1496/1.222, allocations: 79.76 MB / 0.8048 GB, free: 18.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.222, allocations: 3.938 kB / 0.8048 GB, free: 18.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.691e-05/1.222, allocations: 7.984 kB / 0.8048 GB, free: 18.64 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.001132/1.223, allocations: 0.6169 MB / 0.8054 GB, free: 17.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.223, allocations: 8.406 kB / 0.8054 GB, free: 17.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/1.223, allocations: 44.55 kB / 0.8055 GB, free: 17.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/1.224, allocations: 283.7 kB / 0.8058 GB, free: 17.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.224, allocations: 16.94 kB / 0.8058 GB, free: 17.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/1.224, allocations: 28.38 kB / 0.8058 GB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/1.224, allocations: 296.2 kB / 0.8061 GB, free: 17.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.224, allocations: 4.188 kB / 0.8061 GB, free: 17.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/1.224, allocations: 11.94 kB / 0.8061 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.224, allocations: 11.98 kB / 0.8061 GB, free: 17.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/1.225, allocations: 201.5 kB / 0.8063 GB, free: 17.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/1.226, allocations: 1.432 MB / 0.8077 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/1.227, allocations: 171 kB / 0.8079 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/1.227, allocations: 100.8 kB / 0.808 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/1.227, allocations: 4 kB / 0.808 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/1.227, allocations: 30.56 kB / 0.808 GB, free: 15.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.335e-06/1.227, allocations: 0 / 0.808 GB, free: 15.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002395/1.229, allocations: 1.005 MB / 0.809 GB, free: 14.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.229, allocations: 59.41 kB / 0.809 GB, free: 13.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/1.229, allocations: 254.6 kB / 0.8093 GB, free: 13.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.229, allocations: 37.69 kB / 0.8093 GB, free: 13.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/1.23, allocations: 172.2 kB / 0.8095 GB, free: 13.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/1.23, allocations: 94.64 kB / 0.8096 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/1.23, allocations: 4 kB / 0.8096 GB, free: 13.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/1.23, allocations: 342.8 kB / 0.8099 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/1.23, allocations: 79.97 kB / 0.81 GB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/1.23, allocations: 186.8 kB / 0.8102 GB, free: 12.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/1.23, allocations: 295.7 kB / 0.8104 GB, free: 12.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.23, allocations: 0 / 0.8104 GB, free: 12.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006168/1.231, allocations: 374.8 kB / 0.8108 GB, free: 12.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.231, allocations: 8 kB / 0.8108 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.231, allocations: 4 kB / 0.8108 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/1.231, allocations: 69.59 kB / 0.8109 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/1.232, allocations: 64.2 kB / 0.8109 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.233, allocations: 2.673 MB / 0.8135 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/1.234, allocations: 16.06 kB / 0.8136 GB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/1.234, allocations: 16 kB / 0.8136 GB, free: 8.941 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.0001495/1.234, allocations: 149.8 kB / 0.8137 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/1.234, allocations: 35.56 kB / 0.8137 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.78e-05/1.234, allocations: 42.11 kB / 0.8138 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.234, allocations: 4 kB / 0.8138 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.234, allocations: 4 kB / 0.8138 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005028/1.234, allocations: 0.5592 MB / 0.8143 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/1.235, allocations: 0.7028 MB / 0.815 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.235, allocations: 0 / 0.815 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.236, allocations: 51.95 kB / 0.8151 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/1.236, allocations: 60.72 kB / 0.8151 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/1.236, allocations: 4 kB / 0.8151 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008833/1.237, allocations: 1.394 MB / 0.8165 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.237, allocations: 0 / 0.8165 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/1.237, allocations: 473.6 kB / 0.817 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/1.237, allocations: 96.86 kB / 0.817 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/1.237, allocations: 4 kB / 0.817 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/1.238, allocations: 23.83 kB / 0.8171 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/1.238, allocations: 27.97 kB / 0.8171 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/1.238, allocations: 4 kB / 0.8171 GB, free: 4.992 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001498/1.238, allocations: 190 kB / 0.8173 GB, free: 4.809 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.238, allocations: 0 / 0.8173 GB, free: 4.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004717/1.238, allocations: 96 kB / 0.8174 GB, free: 4.715 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.0002494/1.239, allocations: 164.2 kB / 0.8175 GB, free: 4.547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006719/1.239, allocations: 469.5 kB / 0.818 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.239, allocations: 0 / 0.818 GB, free: 4.062 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/1.24, allocations: 238.5 kB / 0.8182 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/1.241, allocations: 145 kB / 0.8183 GB, free: 3.672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/1.242, allocations: 0.8364 MB / 0.8192 GB, free: 2.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/1.242, allocations: 0.757 MB / 0.8199 GB, free: 2.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003435/1.242, allocations: 54.94 kB / 0.82 GB, free: 1.969 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/1.243, allocations: 27.38 kB / 0.82 GB, free: 1.941 MB / 426.7 MB Notification: Performance of SimCode: time 9.81e-07/1.243, allocations: 0 / 0.82 GB, free: 1.941 MB / 426.7 MB Notification: Performance of Templates: time 0.2121/1.455, allocations: 6.031 MB / 0.8259 GB, free: 125.9 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches