Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001527, allocations: 179.4 kB / 8.364 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.042/2.042, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001188/0.001188, allocations: 95.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.607e-05, allocations: 4 kB / 314.8 MB, free: 9.137 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 47.56 MB / 362.4 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5478/0.8895, allocations: 187.8 MB / 0.5373 GB, free: 87.95 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.8899, allocations: 97.25 kB / 0.5373 GB, free: 87.94 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013/1.903, allocations: 208.6 MB / 0.7411 GB, free: 67.95 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.814e-06/1.903, allocations: 4 kB / 0.7411 GB, free: 67.95 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.756e-05/1.903, allocations: 4 kB / 0.7411 GB, free: 67.95 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002616/1.906, allocations: 1.001 MB / 0.742 GB, free: 66.9 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.906, allocations: 11.97 kB / 0.7421 GB, free: 66.89 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005848/1.907, allocations: 59.56 kB / 0.7421 GB, free: 66.83 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/1.907, allocations: 296.1 kB / 0.7424 GB, free: 66.51 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/1.907, allocations: 8 kB / 0.7424 GB, free: 66.5 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/1.907, allocations: 19.94 kB / 0.7424 GB, free: 66.48 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004421/1.908, allocations: 157.1 kB / 0.7426 GB, free: 66.33 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/1.908, allocations: 289.2 kB / 0.7429 GB, free: 66.01 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.908, allocations: 3.938 kB / 0.7429 GB, free: 66 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/1.909, allocations: 4 kB / 0.7429 GB, free: 66 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.909, allocations: 7.953 kB / 0.7429 GB, free: 65.99 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/1.911, allocations: 2.005 MB / 0.7448 GB, free: 63.8 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/1.912, allocations: 163.7 kB / 0.745 GB, free: 63.63 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/1.912, allocations: 76.86 kB / 0.7451 GB, free: 63.55 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/1.912, allocations: 251.3 kB / 0.7453 GB, free: 63.25 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/1.912, allocations: 38.56 kB / 0.7453 GB, free: 63.2 MB / 411.1 MB Notification: Performance of pre-optimization done (n=24): time 3.276e-06/1.912, allocations: 0 / 0.7453 GB, free: 63.2 MB / 411.1 MB Notification: Performance of matching and sorting (n=30): time 0.003602/1.916, allocations: 0.809 MB / 0.7461 GB, free: 62.34 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/1.916, allocations: 59.41 kB / 0.7462 GB, free: 62.27 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/1.916, allocations: 204.4 kB / 0.7464 GB, free: 62.07 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/1.916, allocations: 25.7 kB / 0.7464 GB, free: 62.04 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.916, allocations: 242.8 kB / 0.7466 GB, free: 61.8 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/1.916, allocations: 102.5 kB / 0.7467 GB, free: 61.7 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/1.916, allocations: 4 kB / 0.7467 GB, free: 61.69 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/1.916, allocations: 326.8 kB / 0.747 GB, free: 61.36 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/1.917, allocations: 76.75 kB / 0.7471 GB, free: 61.29 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/1.917, allocations: 154.3 kB / 0.7473 GB, free: 61.1 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/1.918, allocations: 135.7 kB / 0.7474 GB, free: 60.97 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.918, allocations: 0 / 0.7474 GB, free: 60.97 MB / 411.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001195/1.919, allocations: 349.9 kB / 0.7477 GB, free: 60.62 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.919, allocations: 7.984 kB / 0.7477 GB, free: 60.61 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.919, allocations: 7.938 kB / 0.7477 GB, free: 60.6 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/1.919, allocations: 76.81 kB / 0.7478 GB, free: 60.52 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/1.92, allocations: 68.22 kB / 0.7479 GB, free: 60.46 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008908/1.921, allocations: 0.681 MB / 0.7485 GB, free: 59.75 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/1.921, allocations: 19.89 kB / 0.7486 GB, free: 59.73 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/1.921, allocations: 16 kB / 0.7486 GB, free: 59.71 MB / 411.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real 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: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.00022/1.922, allocations: 121.4 kB / 0.7487 GB, free: 59.59 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/1.922, allocations: 27.75 kB / 0.7487 GB, free: 59.56 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/1.923, allocations: 381.2 kB / 0.7491 GB, free: 59.16 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/1.923, allocations: 7.984 kB / 0.7491 GB, free: 59.16 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.923, allocations: 4 kB / 0.7491 GB, free: 59.15 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009996/1.924, allocations: 0.5605 MB / 0.7496 GB, free: 58.5 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/1.926, allocations: 0.6845 MB / 0.7503 GB, free: 57.77 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.926, allocations: 0 / 0.7503 GB, free: 57.77 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/1.926, allocations: 39.97 kB / 0.7503 GB, free: 57.73 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003741/1.927, allocations: 72.75 kB / 0.7504 GB, free: 57.66 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.927, allocations: 4 kB / 0.7504 GB, free: 57.65 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000726/1.928, allocations: 0.6578 MB / 0.7511 GB, free: 56.97 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.928, allocations: 96 / 0.7511 GB, free: 56.97 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.929, allocations: 498.9 kB / 0.7515 GB, free: 56.44 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/1.929, allocations: 108.8 kB / 0.7516 GB, free: 56.32 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/1.929, allocations: 7.984 kB / 0.7516 GB, free: 56.31 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/1.93, allocations: 11.89 kB / 0.7517 GB, free: 56.3 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/1.93, allocations: 15.97 kB / 0.7517 GB, free: 56.28 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/1.93, allocations: 20.05 kB / 0.7517 GB, free: 56.26 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002034/1.93, allocations: 164.5 kB / 0.7519 GB, free: 56.1 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.93, allocations: 0 / 0.7519 GB, free: 56.1 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009483/1.931, allocations: 143.9 kB / 0.752 GB, free: 55.96 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005489/1.931, allocations: 235.3 kB / 0.7522 GB, free: 55.73 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000831/1.932, allocations: 236 kB / 0.7524 GB, free: 55.5 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.932, allocations: 4.562 kB / 0.7524 GB, free: 55.5 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/1.933, allocations: 112 kB / 0.7526 GB, free: 55.39 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.934, allocations: 122.2 kB / 0.7527 GB, free: 55.27 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/1.935, allocations: 458.6 kB / 0.7531 GB, free: 54.79 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/1.936, allocations: 0.764 MB / 0.7539 GB, free: 54 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/1.936, allocations: 39.41 kB / 0.7539 GB, free: 53.96 MB / 411.1 MB Notification: Performance of SimCode: time 1.764e-06/1.936, allocations: 0 / 0.7539 GB, free: 53.96 MB / 411.1 MB Notification: Performance of Templates: time 0.01459/1.95, allocations: 6.879 MB / 0.7606 GB, free: 47.09 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches