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.001549/0.001549, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.698/1.698, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000787/0.0007868, allocations: 85.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2544, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.02, allocations: 367.2 MB / 0.7256 GB, free: 99.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.021, allocations: 97.02 kB / 0.7256 GB, free: 99.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1425/1.163, allocations: 79.77 MB / 0.8035 GB, free: 18.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.163, allocations: 0 / 0.8035 GB, free: 18.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/1.163, allocations: 8 kB / 0.8036 GB, free: 18.71 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.001243/1.164, allocations: 0.6208 MB / 0.8042 GB, free: 18.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.165, allocations: 8.406 kB / 0.8042 GB, free: 18.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/1.165, allocations: 44.55 kB / 0.8042 GB, free: 17.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/1.165, allocations: 275.7 kB / 0.8045 GB, free: 17.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/1.165, allocations: 24.92 kB / 0.8045 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/1.165, allocations: 24.38 kB / 0.8045 GB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/1.166, allocations: 304.2 kB / 0.8048 GB, free: 17.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.166, allocations: 4.188 kB / 0.8048 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/1.166, allocations: 15.94 kB / 0.8048 GB, free: 17.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.166, allocations: 8 kB / 0.8048 GB, free: 17.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/1.166, allocations: 197.5 kB / 0.805 GB, free: 17.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/1.168, allocations: 1.428 MB / 0.8064 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/1.168, allocations: 183 kB / 0.8066 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/1.169, allocations: 96.7 kB / 0.8067 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/1.169, allocations: 0 / 0.8067 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.169, allocations: 38.56 kB / 0.8067 GB, free: 15.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/1.169, allocations: 0 / 0.8067 GB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002451/1.171, allocations: 1.005 MB / 0.8077 GB, free: 14.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/1.171, allocations: 51.41 kB / 0.8078 GB, free: 14.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/1.171, allocations: 262.6 kB / 0.808 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/1.171, allocations: 29.7 kB / 0.808 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/1.172, allocations: 184.1 kB / 0.8082 GB, free: 13.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/1.172, allocations: 86.66 kB / 0.8083 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/1.172, allocations: 12 kB / 0.8083 GB, free: 13.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/1.172, allocations: 330.8 kB / 0.8086 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/1.172, allocations: 83.97 kB / 0.8087 GB, free: 13.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/1.172, allocations: 190.8 kB / 0.8089 GB, free: 12.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/1.172, allocations: 287.7 kB / 0.8092 GB, free: 12.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.173, allocations: 4 kB / 0.8092 GB, free: 12.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006735/1.173, allocations: 375 kB / 0.8095 GB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.173, allocations: 12.06 kB / 0.8095 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.173, allocations: 0 / 0.8095 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/1.174, allocations: 65.61 kB / 0.8096 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/1.174, allocations: 71.91 kB / 0.8097 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/1.176, allocations: 2.673 MB / 0.8123 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/1.176, allocations: 15.98 kB / 0.8123 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/1.176, allocations: 16 kB / 0.8123 GB, free: 9.008 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.000176/1.176, allocations: 149.8 kB / 0.8124 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/1.176, allocations: 35.56 kB / 0.8125 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/1.176, allocations: 38.17 kB / 0.8125 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.176, allocations: 4 kB / 0.8125 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.176, allocations: 4 kB / 0.8125 GB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005368/1.177, allocations: 0.5672 MB / 0.8131 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/1.178, allocations: 0.7028 MB / 0.8138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.178, allocations: 0 / 0.8138 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.178, allocations: 47.91 kB / 0.8138 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/1.178, allocations: 64.75 kB / 0.8139 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.178, allocations: 8 kB / 0.8139 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000914/1.179, allocations: 1.382 MB / 0.8152 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.179, allocations: 0 / 0.8152 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/1.18, allocations: 473.6 kB / 0.8157 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/1.18, allocations: 100.8 kB / 0.8158 GB, free: 5.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/1.18, allocations: 8 kB / 0.8158 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/1.18, allocations: 11.84 kB / 0.8158 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/1.181, allocations: 27.91 kB / 0.8158 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/1.181, allocations: 7.984 kB / 0.8158 GB, free: 5.062 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001684/1.181, allocations: 186 kB / 0.816 GB, free: 4.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.181, allocations: 0 / 0.816 GB, free: 4.883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004838/1.181, allocations: 100 kB / 0.8161 GB, free: 4.785 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.0002755/1.181, allocations: 160.2 kB / 0.8163 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000704/1.182, allocations: 469.9 kB / 0.8167 GB, free: 4.137 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.182, allocations: 0 / 0.8167 GB, free: 4.137 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/1.183, allocations: 234.5 kB / 0.8169 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/1.184, allocations: 152.7 kB / 0.8171 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.185, allocations: 0.8658 MB / 0.8179 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/1.185, allocations: 0.7648 MB / 0.8187 GB, free: 2.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/1.185, allocations: 27.44 kB / 0.8187 GB, free: 2.023 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/1.185, allocations: 3.938 kB / 0.8187 GB, free: 2.02 MB / 426.7 MB Notification: Performance of Templates: time 0.2251/1.41, allocations: 6.386 MB / 0.8249 GB, free: 124.9 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