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.0009994/0.0009994, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.588/1.588, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.000901/0.000901, allocations: 88.16 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 11.98 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9015/1.195, allocations: 367.2 MB / 0.7256 GB, free: 99.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/1.196, allocations: 97.81 kB / 0.7257 GB, free: 99.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/1.354, allocations: 80.36 MB / 0.8042 GB, free: 18.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.786e-06/1.354, allocations: 0 / 0.8042 GB, free: 18.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.112e-05/1.354, allocations: 4 kB / 0.8042 GB, free: 18.38 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.001302/1.355, allocations: 0.6245 MB / 0.8048 GB, free: 17.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.355, allocations: 8.031 kB / 0.8048 GB, free: 17.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/1.356, allocations: 43.61 kB / 0.8048 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/1.356, allocations: 270.9 kB / 0.8051 GB, free: 17.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/1.356, allocations: 28.52 kB / 0.8051 GB, free: 17.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/1.356, allocations: 27.94 kB / 0.8051 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/1.357, allocations: 295.7 kB / 0.8054 GB, free: 16.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.357, allocations: 4 kB / 0.8054 GB, free: 16.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/1.357, allocations: 8 kB / 0.8054 GB, free: 16.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.357, allocations: 12 kB / 0.8054 GB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/1.357, allocations: 197.5 kB / 0.8056 GB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/1.359, allocations: 1.436 MB / 0.807 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/1.359, allocations: 171.2 kB / 0.8072 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/1.359, allocations: 4.188 kB / 0.8072 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/1.359, allocations: 38.7 kB / 0.8072 GB, free: 14.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/1.359, allocations: 0 / 0.8072 GB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002437/1.362, allocations: 1.001 MB / 0.8082 GB, free: 13.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/1.362, allocations: 59.41 kB / 0.8083 GB, free: 13.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/1.362, allocations: 233.6 kB / 0.8085 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.362, allocations: 29.7 kB / 0.8085 GB, free: 13.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/1.362, allocations: 176.2 kB / 0.8087 GB, free: 13.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/1.362, allocations: 102.6 kB / 0.8088 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.362, allocations: 4 kB / 0.8088 GB, free: 13.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.101e-05/1.362, allocations: 338.8 kB / 0.8091 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/1.363, allocations: 79.97 kB / 0.8092 GB, free: 12.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/1.363, allocations: 182.8 kB / 0.8094 GB, free: 12.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/1.363, allocations: 112 kB / 0.8095 GB, free: 12.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.363, allocations: 0 / 0.8095 GB, free: 12.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006483/1.364, allocations: 383.3 kB / 0.8098 GB, free: 12.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.364, allocations: 4 kB / 0.8098 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.364, allocations: 7.938 kB / 0.8098 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/1.364, allocations: 77.86 kB / 0.8099 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/1.364, allocations: 63.92 kB / 0.81 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/1.366, allocations: 2.69 MB / 0.8126 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/1.366, allocations: 28.05 kB / 0.8126 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/1.366, allocations: 8 kB / 0.8126 GB, free: 8.996 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.0001698/1.366, allocations: 154.2 kB / 0.8128 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/1.367, allocations: 27.72 kB / 0.8128 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/1.367, allocations: 42.12 kB / 0.8129 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.367, allocations: 4 kB / 0.8129 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.367, allocations: 0 / 0.8129 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005545/1.367, allocations: 0.5669 MB / 0.8134 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009686/1.368, allocations: 0.6913 MB / 0.8141 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.368, allocations: 4 kB / 0.8141 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/1.368, allocations: 47.91 kB / 0.8141 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/1.369, allocations: 60.69 kB / 0.8142 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.369, allocations: 8 kB / 0.8142 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009102/1.37, allocations: 1.402 MB / 0.8156 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.37, allocations: 4.062 kB / 0.8156 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/1.37, allocations: 482.8 kB / 0.816 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/1.37, allocations: 104.8 kB / 0.8161 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/1.37, allocations: 8.062 kB / 0.8161 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/1.371, allocations: 15.94 kB / 0.8162 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/1.371, allocations: 15.97 kB / 0.8162 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/1.371, allocations: 15.98 kB / 0.8162 GB, free: 5.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001638/1.371, allocations: 178 kB / 0.8164 GB, free: 4.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.371, allocations: 0 / 0.8164 GB, free: 4.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005081/1.371, allocations: 104 kB / 0.8165 GB, free: 4.746 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.0003002/1.372, allocations: 161 kB / 0.8166 GB, free: 4.582 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007876/1.373, allocations: 469.7 kB / 0.8171 GB, free: 4.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.373, allocations: 4.734 kB / 0.8171 GB, free: 4.094 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/1.373, allocations: 234.6 kB / 0.8173 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/1.374, allocations: 156.3 kB / 0.8174 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/1.375, allocations: 0.8258 MB / 0.8182 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/1.375, allocations: 0.7687 MB / 0.819 GB, free: 2.043 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003212/1.376, allocations: 54.94 kB / 0.819 GB, free: 1.988 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/1.376, allocations: 27.44 kB / 0.8191 GB, free: 1.961 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/1.376, allocations: 3.938 kB / 0.8191 GB, free: 1.957 MB / 426.7 MB Notification: Performance of Templates: time 0.2424/1.618, allocations: 5.924 MB / 0.8249 GB, free: 125.2 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/jenkins/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