Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001837/0.001838, allocations: 178.4 kB / 8.697 MB, free: 388 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.775/1.775, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.0008331/0.0008329, allocations: 90.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.22e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.09951, allocations: 47.58 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7388/0.8384, allocations: 188 MB / 0.5382 GB, free: 149.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.8388, allocations: 100.4 kB / 0.5383 GB, free: 149.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.711/1.55, allocations: 208.6 MB / 0.742 GB, free: 98.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.55, allocations: 0 / 0.742 GB, free: 98.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.208e-05/1.55, allocations: 6.562 kB / 0.742 GB, free: 98.46 MB / 410.7 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.002829/1.553, allocations: 1 MB / 0.743 GB, free: 97.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.553, allocations: 10.09 kB / 0.743 GB, free: 97.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005296/1.553, allocations: 50.55 kB / 0.743 GB, free: 97.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/1.554, allocations: 292.8 kB / 0.7433 GB, free: 97.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.554, allocations: 11.42 kB / 0.7433 GB, free: 97.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/1.554, allocations: 14.03 kB / 0.7433 GB, free: 97.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003307/1.554, allocations: 165.2 kB / 0.7435 GB, free: 97.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/1.555, allocations: 289.5 kB / 0.7438 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.555, allocations: 0 / 0.7438 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/1.555, allocations: 3.781 kB / 0.7438 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.555, allocations: 7 kB / 0.7438 GB, free: 97.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/1.557, allocations: 2.009 MB / 0.7458 GB, free: 95.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/1.557, allocations: 161.3 kB / 0.7459 GB, free: 95.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/1.557, allocations: 74.08 kB / 0.746 GB, free: 95.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/1.557, allocations: 257.1 kB / 0.7462 GB, free: 95.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.557, allocations: 41.86 kB / 0.7463 GB, free: 95.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.402e-06/1.557, allocations: 0 / 0.7463 GB, free: 95.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.002464/1.56, allocations: 0.8229 MB / 0.7471 GB, free: 95.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/1.56, allocations: 55.34 kB / 0.7471 GB, free: 95.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/1.56, allocations: 199.6 kB / 0.7473 GB, free: 94.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/1.56, allocations: 25.7 kB / 0.7473 GB, free: 94.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/1.56, allocations: 188.4 kB / 0.7475 GB, free: 94.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/1.56, allocations: 103.1 kB / 0.7476 GB, free: 94.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/1.56, allocations: 0 / 0.7476 GB, free: 94.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/1.56, allocations: 340.3 kB / 0.7479 GB, free: 94.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/1.561, allocations: 69.44 kB / 0.748 GB, free: 94.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.561, allocations: 156.5 kB / 0.7482 GB, free: 94.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/1.561, allocations: 135.8 kB / 0.7483 GB, free: 94.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.561, allocations: 3.688 kB / 0.7483 GB, free: 94.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000796/1.562, allocations: 355.2 kB / 0.7486 GB, free: 94.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.562, allocations: 6.969 kB / 0.7486 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.562, allocations: 3.75 kB / 0.7486 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/1.562, allocations: 92.67 kB / 0.7487 GB, free: 94.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/1.563, allocations: 72.52 kB / 0.7488 GB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005697/1.563, allocations: 0.6734 MB / 0.7495 GB, free: 93.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.563, allocations: 7.781 kB / 0.7495 GB, free: 93.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/1.564, allocations: 15.25 kB / 0.7495 GB, free: 93.57 MB / 410.7 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.0001817/1.564, allocations: 122.8 kB / 0.7496 GB, free: 93.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/1.564, allocations: 27.14 kB / 0.7496 GB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008322/1.565, allocations: 384.4 kB / 0.75 GB, free: 93.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.565, allocations: 0 / 0.75 GB, free: 93.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.565, allocations: 7.328 kB / 0.75 GB, free: 93.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006131/1.565, allocations: 0.5638 MB / 0.7505 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.566, allocations: 0.6843 MB / 0.7512 GB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.566, allocations: 3.953 kB / 0.7512 GB, free: 92.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/1.567, allocations: 47 kB / 0.7513 GB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/1.567, allocations: 75.36 kB / 0.7513 GB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/1.567, allocations: 4 kB / 0.7513 GB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006011/1.568, allocations: 0.6557 MB / 0.752 GB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.568, allocations: 3.719 kB / 0.752 GB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/1.568, allocations: 498.8 kB / 0.7525 GB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.569, allocations: 102.7 kB / 0.7525 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/1.569, allocations: 7.766 kB / 0.7526 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/1.569, allocations: 6.281 kB / 0.7526 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/1.569, allocations: 19.75 kB / 0.7526 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.569, allocations: 7.812 kB / 0.7526 GB, free: 91.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002011/1.569, allocations: 173.3 kB / 0.7528 GB, free: 90.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.569, allocations: 0 / 0.7528 GB, free: 90.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001054/1.57, allocations: 148.6 kB / 0.7529 GB, free: 90.91 MB / 410.7 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.0006723/1.571, allocations: 219.2 kB / 0.7531 GB, free: 90.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006336/1.572, allocations: 236.7 kB / 0.7533 GB, free: 90.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.572, allocations: 2.719 kB / 0.7533 GB, free: 90.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/1.572, allocations: 110.9 kB / 0.7534 GB, free: 90.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/1.573, allocations: 136.7 kB / 0.7536 GB, free: 90.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/1.574, allocations: 423.3 kB / 0.754 GB, free: 90.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/1.574, allocations: 0.7715 MB / 0.7547 GB, free: 89.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000319/1.574, allocations: 58.11 kB / 0.7548 GB, free: 89.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/1.574, allocations: 31.05 kB / 0.7548 GB, free: 89.59 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/1.574, allocations: 0 / 0.7548 GB, free: 89.59 MB / 410.7 MB Notification: Performance of Templates: time 0.01203/1.586, allocations: 6.475 MB / 0.7611 GB, free: 84.23 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches