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.002197/0.002196, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 87.45 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.196e-05, allocations: 4 kB / 314.8 MB, free: 9.133 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3528, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.959/9.312, allocations: 3.068 GB / 3.421 GB, free: 91.35 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/9.312, allocations: 107.7 kB / 3.422 GB, free: 91.35 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.437/13.75, allocations: 0.9682 GB / 4.39 GB, free: 63.53 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.533e-06/13.75, allocations: 0 / 4.39 GB, free: 63.53 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.667e-05/13.75, allocations: 3.969 kB / 4.39 GB, free: 63.53 MB / 427.1 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.005315/13.75, allocations: 1.191 MB / 4.391 GB, free: 63.13 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/13.75, allocations: 8.5 kB / 4.391 GB, free: 63.13 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/13.75, allocations: 44.52 kB / 4.391 GB, free: 63.12 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/13.76, allocations: 290.8 kB / 4.391 GB, free: 62.9 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/13.76, allocations: 8.547 kB / 4.391 GB, free: 62.9 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/13.76, allocations: 18.84 kB / 4.391 GB, free: 62.9 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004801/13.76, allocations: 168.2 kB / 4.391 GB, free: 62.9 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/13.76, allocations: 256.1 kB / 4.392 GB, free: 62.81 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/13.76, allocations: 2.438 kB / 4.392 GB, free: 62.81 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/13.76, allocations: 0 / 4.392 GB, free: 62.81 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/13.76, allocations: 7.719 kB / 4.392 GB, free: 62.81 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/13.76, allocations: 1.376 MB / 4.393 GB, free: 61.82 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/13.76, allocations: 159.3 kB / 4.393 GB, free: 61.8 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/13.76, allocations: 83.34 kB / 4.393 GB, free: 61.79 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/13.76, allocations: 4.094 kB / 4.393 GB, free: 61.79 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/13.76, allocations: 34.69 kB / 4.393 GB, free: 61.75 MB / 427.1 MB Notification: Performance of pre-optimization done (n=21): time 2.695e-06/13.76, allocations: 3.75 kB / 4.393 GB, free: 61.75 MB / 427.1 MB Notification: Performance of matching and sorting (n=26): time 0.002555/13.76, allocations: 0.7391 MB / 4.394 GB, free: 61.43 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/13.76, allocations: 59.61 kB / 4.394 GB, free: 61.36 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/13.76, allocations: 204.1 kB / 4.394 GB, free: 61.26 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/13.76, allocations: 26.45 kB / 4.394 GB, free: 61.23 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/13.76, allocations: 243 kB / 4.394 GB, free: 61.03 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/13.76, allocations: 81.34 kB / 4.395 GB, free: 60.98 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/13.76, allocations: 0 / 4.395 GB, free: 60.98 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/13.76, allocations: 325.4 kB / 4.395 GB, free: 60.66 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/13.76, allocations: 76.17 kB / 4.395 GB, free: 60.66 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/13.76, allocations: 164 kB / 4.395 GB, free: 60.56 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/13.76, allocations: 105 kB / 4.395 GB, free: 60.56 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/13.76, allocations: 1.125 kB / 4.395 GB, free: 60.56 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009159/13.76, allocations: 338 kB / 4.396 GB, free: 60.5 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/13.76, allocations: 7.594 kB / 4.396 GB, free: 60.5 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/13.76, allocations: 9 kB / 4.396 GB, free: 60.5 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/13.76, allocations: 57.33 kB / 4.396 GB, free: 60.48 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/13.77, allocations: 68.2 kB / 4.396 GB, free: 60.48 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/13.77, allocations: 2.566 MB / 4.398 GB, free: 58.11 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/13.77, allocations: 18.38 kB / 4.398 GB, free: 58.1 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/13.77, allocations: 15.06 kB / 4.398 GB, free: 58.1 MB / 427.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 () * 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.0002034/13.77, allocations: 116 kB / 4.398 GB, free: 57.99 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/13.77, allocations: 29.2 kB / 4.398 GB, free: 57.98 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-05/13.77, allocations: 33.09 kB / 4.398 GB, free: 57.98 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/13.77, allocations: 3.75 kB / 4.398 GB, free: 57.98 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/13.77, allocations: 0 / 4.398 GB, free: 57.98 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007243/13.77, allocations: 0.5417 MB / 4.399 GB, free: 57.53 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/13.77, allocations: 0.6381 MB / 4.4 GB, free: 57.24 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/13.77, allocations: 3.969 kB / 4.4 GB, free: 57.24 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/13.77, allocations: 37.02 kB / 4.4 GB, free: 57.24 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/13.77, allocations: 57.34 kB / 4.4 GB, free: 57.23 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/13.77, allocations: 3.953 kB / 4.4 GB, free: 57.23 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/13.77, allocations: 1.325 MB / 4.401 GB, free: 56.04 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/13.77, allocations: 4.656 kB / 4.401 GB, free: 56.04 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009053/13.77, allocations: 466.2 kB / 4.401 GB, free: 55.86 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/13.77, allocations: 96.36 kB / 4.401 GB, free: 55.75 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/13.77, allocations: 0 / 4.401 GB, free: 55.75 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/13.77, allocations: 9.797 kB / 4.401 GB, free: 55.75 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/13.77, allocations: 21.67 kB / 4.401 GB, free: 55.75 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/13.77, allocations: 10.31 kB / 4.402 GB, free: 55.75 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001796/13.77, allocations: 154.2 kB / 4.402 GB, free: 55.68 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.61e-07/13.77, allocations: 0 / 4.402 GB, free: 55.68 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0008635/13.78, allocations: 106.2 kB / 4.402 GB, free: 55.68 MB / 427.1 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 () * 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.0005496/13.78, allocations: 323.1 kB / 4.402 GB, free: 55.58 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/13.78, allocations: 433.6 kB / 4.402 GB, free: 55.38 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/13.78, allocations: 5.719 kB / 4.402 GB, free: 55.38 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004826/13.78, allocations: 221.7 kB / 4.403 GB, free: 55.28 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/13.78, allocations: 123 kB / 4.403 GB, free: 55.27 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/13.78, allocations: 0.4975 MB / 4.403 GB, free: 55.08 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/13.78, allocations: 0.7661 MB / 4.404 GB, free: 54.38 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/13.78, allocations: 26.62 kB / 4.404 GB, free: 54.38 MB / 427.1 MB Notification: Performance of SimCode: time 1.243e-06/13.78, allocations: 3.969 kB / 4.404 GB, free: 54.38 MB / 427.1 MB Notification: Performance of Templates: time 0.01318/13.79, allocations: 6.718 MB / 4.411 GB, free: 54.29 MB / 427.1 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