Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001492/0.001492, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.3 MB / 214.4 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 78.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.107e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.143, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.726/7.869, allocations: 3.068 GB / 3.422 GB, free: 116.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/7.87, allocations: 98.03 kB / 3.422 GB, free: 116.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.463/11.33, allocations: 0.9682 GB / 4.391 GB, free: 60.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/11.33, allocations: 0 / 4.391 GB, free: 60.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/11.33, allocations: 8.266 kB / 4.391 GB, free: 60.23 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.005427/11.34, allocations: 1.191 MB / 4.392 GB, free: 59.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/11.34, allocations: 14.09 kB / 4.392 GB, free: 59.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004221/11.34, allocations: 39.48 kB / 4.392 GB, free: 59.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/11.34, allocations: 276.8 kB / 4.392 GB, free: 59.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/11.34, allocations: 11.64 kB / 4.392 GB, free: 59.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/11.34, allocations: 20.19 kB / 4.392 GB, free: 59.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004229/11.34, allocations: 166.8 kB / 4.392 GB, free: 59.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/11.34, allocations: 264.9 kB / 4.393 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/11.34, allocations: 0 / 4.393 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/11.34, allocations: 0 / 4.393 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/11.34, allocations: 13.92 kB / 4.393 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/11.34, allocations: 1.369 MB / 4.394 GB, free: 58.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/11.34, allocations: 163.9 kB / 4.394 GB, free: 58.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/11.34, allocations: 80.42 kB / 4.394 GB, free: 58.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/11.34, allocations: 3.406 kB / 4.394 GB, free: 58.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/11.34, allocations: 38.31 kB / 4.394 GB, free: 58.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/11.34, allocations: 0 / 4.394 GB, free: 58.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002006/11.34, allocations: 0.746 MB / 4.395 GB, free: 58.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/11.34, allocations: 58.36 kB / 4.395 GB, free: 57.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/11.34, allocations: 199.1 kB / 4.395 GB, free: 57.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/11.34, allocations: 25.7 kB / 4.395 GB, free: 57.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/11.34, allocations: 179 kB / 4.395 GB, free: 57.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/11.34, allocations: 87.39 kB / 4.395 GB, free: 57.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/11.34, allocations: 6.375 kB / 4.395 GB, free: 57.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/11.34, allocations: 332 kB / 4.396 GB, free: 57.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/11.34, allocations: 71.94 kB / 4.396 GB, free: 57.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/11.34, allocations: 162.9 kB / 4.396 GB, free: 57.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/11.35, allocations: 108.4 kB / 4.396 GB, free: 57.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/11.35, allocations: 3.812 kB / 4.396 GB, free: 57.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000902/11.35, allocations: 343.3 kB / 4.396 GB, free: 57.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/11.35, allocations: 3.938 kB / 4.396 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/11.35, allocations: 5.625 kB / 4.396 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003513/11.35, allocations: 61.19 kB / 4.397 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/11.35, allocations: 72.05 kB / 4.397 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/11.35, allocations: 2.569 MB / 4.399 GB, free: 54.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/11.35, allocations: 16.53 kB / 4.399 GB, free: 54.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/11.35, allocations: 9.875 kB / 4.399 GB, free: 54.76 MB / 426.7 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.0001793/11.35, allocations: 118.5 kB / 4.399 GB, free: 54.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/11.35, allocations: 27.95 kB / 4.399 GB, free: 54.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.651e-05/11.35, allocations: 31.61 kB / 4.399 GB, free: 54.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/11.35, allocations: 3.344 kB / 4.399 GB, free: 54.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/11.35, allocations: 5.25 kB / 4.399 GB, free: 54.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006152/11.35, allocations: 0.5328 MB / 4.4 GB, free: 54.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/11.35, allocations: 0.6377 MB / 4.4 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/11.35, allocations: 7.109 kB / 4.4 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/11.35, allocations: 46.41 kB / 4.4 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/11.35, allocations: 50.44 kB / 4.401 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/11.35, allocations: 4.703 kB / 4.401 GB, free: 53.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/11.35, allocations: 1.33 MB / 4.402 GB, free: 52.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/11.35, allocations: 0 / 4.402 GB, free: 52.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/11.35, allocations: 448.2 kB / 4.402 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/11.35, allocations: 102.4 kB / 4.402 GB, free: 52.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/11.35, allocations: 3.312 kB / 4.402 GB, free: 52.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/11.35, allocations: 9.781 kB / 4.402 GB, free: 52.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/11.35, allocations: 19.78 kB / 4.402 GB, free: 52.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/11.35, allocations: 8.906 kB / 4.402 GB, free: 52.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001867/11.36, allocations: 155.9 kB / 4.403 GB, free: 52.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/11.36, allocations: 3.969 kB / 4.403 GB, free: 52.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008138/11.36, allocations: 107.1 kB / 4.403 GB, free: 52.33 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 () * 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.0004431/11.36, allocations: 325.8 kB / 4.403 GB, free: 52.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000881/11.36, allocations: 438.5 kB / 4.403 GB, free: 52.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/11.36, allocations: 3.938 kB / 4.403 GB, free: 52.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/11.36, allocations: 223.5 kB / 4.404 GB, free: 51.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/11.36, allocations: 124.5 kB / 4.404 GB, free: 51.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/11.36, allocations: 466.4 kB / 4.404 GB, free: 51.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/11.36, allocations: 0.7693 MB / 4.405 GB, free: 51.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004317/11.36, allocations: 44 kB / 4.405 GB, free: 51.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/11.36, allocations: 28.5 kB / 4.405 GB, free: 51.05 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/11.36, allocations: 3.719 kB / 4.405 GB, free: 51.05 MB / 426.7 MB Notification: Performance of Templates: time 0.01315/11.37, allocations: 5.778 MB / 4.411 GB, free: 50.87 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_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/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches