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.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 181.2 kB / 17.41 MB, free: 4.289 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.466/1.466, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0009353/0.0009357, allocations: 87.92 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003393, allocations: 12 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.066/6.365, allocations: 3.069 GB / 3.436 GB, free: 135.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/6.365, allocations: 102.7 kB / 3.436 GB, free: 135.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.877/8.243, allocations: 0.7372 GB / 4.173 GB, free: 41.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/8.243, allocations: 0 / 4.173 GB, free: 41.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/8.243, allocations: 8 kB / 4.173 GB, free: 41.81 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.00378/8.246, allocations: 1.227 MB / 4.174 GB, free: 40.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/8.246, allocations: 8.031 kB / 4.174 GB, free: 40.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/8.247, allocations: 40.64 kB / 4.174 GB, free: 40.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/8.247, allocations: 272.2 kB / 4.174 GB, free: 40.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/8.247, allocations: 20.94 kB / 4.174 GB, free: 40.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/8.247, allocations: 24.38 kB / 4.174 GB, free: 40.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/8.248, allocations: 299.8 kB / 4.175 GB, free: 39.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/8.248, allocations: 8.094 kB / 4.175 GB, free: 39.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/8.248, allocations: 19.92 kB / 4.175 GB, free: 39.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/8.248, allocations: 11.66 kB / 4.175 GB, free: 39.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/8.248, allocations: 197.5 kB / 4.175 GB, free: 39.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/8.249, allocations: 1.432 MB / 4.176 GB, free: 38.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/8.249, allocations: 172.8 kB / 4.176 GB, free: 37.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/8.25, allocations: 92.86 kB / 4.177 GB, free: 37.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/8.25, allocations: 4 kB / 4.177 GB, free: 37.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/8.25, allocations: 30.56 kB / 4.177 GB, free: 37.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/8.25, allocations: 0 / 4.177 GB, free: 37.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002112/8.252, allocations: 1.014 MB / 4.178 GB, free: 36.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/8.252, allocations: 55.41 kB / 4.178 GB, free: 36.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/8.252, allocations: 262.5 kB / 4.178 GB, free: 36.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/8.252, allocations: 33.7 kB / 4.178 GB, free: 36.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/8.252, allocations: 172.2 kB / 4.178 GB, free: 36.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/8.252, allocations: 94.78 kB / 4.178 GB, free: 36.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/8.252, allocations: 4 kB / 4.178 GB, free: 36.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/8.252, allocations: 338.8 kB / 4.178 GB, free: 35.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/8.252, allocations: 90.64 kB / 4.179 GB, free: 35.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/8.252, allocations: 170.9 kB / 4.179 GB, free: 35.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/8.253, allocations: 296.1 kB / 4.179 GB, free: 35.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/8.253, allocations: 0 / 4.179 GB, free: 35.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005662/8.253, allocations: 386.7 kB / 4.179 GB, free: 34.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/8.253, allocations: 4 kB / 4.179 GB, free: 34.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/8.253, allocations: 4 kB / 4.179 GB, free: 34.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002453/8.254, allocations: 65.66 kB / 4.179 GB, free: 34.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/8.254, allocations: 64.2 kB / 4.179 GB, free: 34.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/8.255, allocations: 2.675 MB / 4.182 GB, free: 31.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/8.256, allocations: 27.91 kB / 4.182 GB, free: 31.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/8.256, allocations: 12 kB / 4.182 GB, free: 31.64 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.0001324/8.256, allocations: 149.8 kB / 4.182 GB, free: 31.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/8.256, allocations: 31.66 kB / 4.182 GB, free: 31.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/8.256, allocations: 34.17 kB / 4.182 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/8.256, allocations: 4 kB / 4.182 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/8.256, allocations: 4 kB / 4.182 GB, free: 31.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004732/8.256, allocations: 0.559 MB / 4.183 GB, free: 30.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/8.257, allocations: 0.7104 MB / 4.184 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/8.257, allocations: 4.031 kB / 4.184 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/8.258, allocations: 39.98 kB / 4.184 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/8.258, allocations: 60.72 kB / 4.184 GB, free: 29.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/8.258, allocations: 8 kB / 4.184 GB, free: 29.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008195/8.259, allocations: 1.395 MB / 4.185 GB, free: 28.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/8.259, allocations: 4.031 kB / 4.185 GB, free: 28.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/8.259, allocations: 473.6 kB / 4.186 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/8.259, allocations: 96.86 kB / 4.186 GB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/8.259, allocations: 7.938 kB / 4.186 GB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/8.26, allocations: 23.98 kB / 4.186 GB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/8.26, allocations: 23.84 kB / 4.186 GB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/8.26, allocations: 12 kB / 4.186 GB, free: 27.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001367/8.26, allocations: 182 kB / 4.186 GB, free: 27.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/8.26, allocations: 0 / 4.186 GB, free: 27.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005252/8.26, allocations: 116 kB / 4.186 GB, free: 27.4 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.0003404/8.261, allocations: 285.5 kB / 4.186 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000579/8.261, allocations: 477 kB / 4.187 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/8.261, allocations: 0 / 4.187 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/8.262, allocations: 234.6 kB / 4.187 GB, free: 26.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/8.262, allocations: 163.3 kB / 4.187 GB, free: 26.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/8.263, allocations: 0.8675 MB / 4.188 GB, free: 25.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/8.264, allocations: 0.7608 MB / 4.189 GB, free: 24.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/8.264, allocations: 27.44 kB / 4.189 GB, free: 24.54 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/8.264, allocations: 4 kB / 4.189 GB, free: 24.54 MB / 426.7 MB Notification: Performance of Templates: time 0.007406/8.271, allocations: 7.219 MB / 4.196 GB, free: 17.36 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_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/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches