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.001524/0.001524, allocations: 185.8 kB / 16.41 MB, free: 5.723 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.909/1.909, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001106/0.001106, allocations: 89.3 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003933, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.767/9.092, allocations: 3.068 GB / 3.434 GB, free: 44.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/9.092, allocations: 106.6 kB / 3.434 GB, free: 44.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.243/13.34, allocations: 0.9795 GB / 4.414 GB, free: 29.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/13.34, allocations: 0 / 4.414 GB, free: 29.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/13.34, allocations: 4 kB / 4.414 GB, free: 29.95 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.004777/13.34, allocations: 1.226 MB / 4.415 GB, free: 28.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/13.34, allocations: 12.03 kB / 4.415 GB, free: 28.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/13.34, allocations: 40.42 kB / 4.415 GB, free: 28.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/13.34, allocations: 277.2 kB / 4.415 GB, free: 28.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/13.34, allocations: 20.56 kB / 4.415 GB, free: 28.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/13.34, allocations: 24 kB / 4.415 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/13.34, allocations: 297.7 kB / 4.416 GB, free: 28.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/13.34, allocations: 3.891 kB / 4.416 GB, free: 28.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/13.34, allocations: 12 kB / 4.416 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/13.34, allocations: 8 kB / 4.416 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/13.34, allocations: 188.5 kB / 4.416 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/13.34, allocations: 1.447 MB / 4.417 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/13.34, allocations: 170.3 kB / 4.417 GB, free: 26.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/13.34, allocations: 12.17 kB / 4.417 GB, free: 26.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/13.34, allocations: 34.75 kB / 4.417 GB, free: 26.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.355e-06/13.34, allocations: 0 / 4.417 GB, free: 26.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003433/13.35, allocations: 1.01 MB / 4.418 GB, free: 25.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/13.35, allocations: 55.12 kB / 4.418 GB, free: 25.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/13.35, allocations: 230.6 kB / 4.419 GB, free: 25.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/13.35, allocations: 29.7 kB / 4.419 GB, free: 25.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/13.35, allocations: 243.9 kB / 4.419 GB, free: 24.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/13.35, allocations: 92.5 kB / 4.419 GB, free: 24.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/13.35, allocations: 4 kB / 4.419 GB, free: 24.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/13.35, allocations: 328.5 kB / 4.419 GB, free: 24.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/13.35, allocations: 83.48 kB / 4.419 GB, free: 24.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/13.35, allocations: 183 kB / 4.42 GB, free: 24.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/13.35, allocations: 111.2 kB / 4.42 GB, free: 24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/13.35, allocations: 0 / 4.42 GB, free: 24 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009236/13.35, allocations: 369.9 kB / 4.42 GB, free: 23.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/13.35, allocations: 12.03 kB / 4.42 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/13.35, allocations: 4 kB / 4.42 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/13.35, allocations: 63.22 kB / 4.42 GB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/13.35, allocations: 72.69 kB / 4.42 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/13.35, allocations: 2.68 MB / 4.423 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/13.35, allocations: 23.47 kB / 4.423 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/13.35, allocations: 20 kB / 4.423 GB, free: 20.61 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.0001908/13.35, allocations: 156.4 kB / 4.423 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/13.35, allocations: 27.72 kB / 4.423 GB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.805e-05/13.35, allocations: 33.09 kB / 4.423 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/13.35, allocations: 4 kB / 4.423 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/13.35, allocations: 0 / 4.423 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007601/13.36, allocations: 0.5643 MB / 4.424 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/13.36, allocations: 0.7008 MB / 4.424 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/13.36, allocations: 0 / 4.424 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/13.36, allocations: 56.8 kB / 4.424 GB, free: 19.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/13.36, allocations: 58.42 kB / 4.424 GB, free: 19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/13.36, allocations: 6.297 kB / 4.424 GB, free: 19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/13.36, allocations: 1.401 MB / 4.426 GB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/13.36, allocations: 4.031 kB / 4.426 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/13.36, allocations: 484.8 kB / 4.426 GB, free: 17.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/13.36, allocations: 96.86 kB / 4.426 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/13.36, allocations: 4 kB / 4.426 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/13.36, allocations: 14.67 kB / 4.426 GB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/13.36, allocations: 18.16 kB / 4.426 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/13.36, allocations: 15.38 kB / 4.426 GB, free: 16.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002079/13.36, allocations: 187.4 kB / 4.427 GB, free: 16.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/13.36, allocations: 0 / 4.427 GB, free: 16.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007231/13.36, allocations: 114.8 kB / 4.427 GB, free: 16.61 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.0004191/13.36, allocations: 303.7 kB / 4.427 GB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008858/13.36, allocations: 472.1 kB / 4.427 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/13.36, allocations: 0 / 4.427 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/13.36, allocations: 235.9 kB / 4.428 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/13.36, allocations: 148 kB / 4.428 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/13.37, allocations: 0.849 MB / 4.429 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/13.37, allocations: 0.7783 MB / 4.429 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/13.37, allocations: 27.44 kB / 4.429 GB, free: 13.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/13.37, allocations: 0 / 4.429 GB, free: 13.99 MB / 426.7 MB Notification: Performance of Templates: time 0.01183/13.38, allocations: 7.128 MB / 4.436 GB, free: 9.723 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