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.Glycol47.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.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002219/0.002219, allocations: 180.3 kB / 8.365 MB, free: 0.7109 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.256/2.256, 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.001094/0.001094, allocations: 87.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.447e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.346, allocations: 47.56 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5562/0.9023, allocations: 187.9 MB / 0.5374 GB, free: 87.95 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.9027, allocations: 91.69 kB / 0.5375 GB, free: 87.93 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9519/1.855, allocations: 198.7 MB / 0.7315 GB, free: 77.36 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.703e-06/1.855, allocations: 8 kB / 0.7315 GB, free: 77.35 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.612e-05/1.855, allocations: 4 kB / 0.7316 GB, free: 77.35 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.00271/1.858, allocations: 1.007 MB / 0.7325 GB, free: 76.3 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.858, allocations: 8.031 kB / 0.7325 GB, free: 76.29 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/1.858, allocations: 47.61 kB / 0.7326 GB, free: 76.24 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/1.859, allocations: 296.2 kB / 0.7329 GB, free: 75.92 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/1.859, allocations: 8 kB / 0.7329 GB, free: 75.91 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/1.859, allocations: 19.94 kB / 0.7329 GB, free: 75.89 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004479/1.859, allocations: 161.1 kB / 0.733 GB, free: 75.73 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/1.86, allocations: 285.2 kB / 0.7333 GB, free: 75.42 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.86, allocations: 3.984 kB / 0.7333 GB, free: 75.41 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/1.86, allocations: 8 kB / 0.7333 GB, free: 75.41 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/1.86, allocations: 4 kB / 0.7333 GB, free: 75.4 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/1.862, allocations: 2 MB / 0.7353 GB, free: 73.21 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/1.863, allocations: 173.1 kB / 0.7355 GB, free: 73.04 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/1.863, allocations: 68.86 kB / 0.7355 GB, free: 72.96 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/1.863, allocations: 251.7 kB / 0.7358 GB, free: 72.66 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/1.863, allocations: 38.56 kB / 0.7358 GB, free: 72.62 MB / 411.1 MB Notification: Performance of pre-optimization done (n=24): time 3.256e-06/1.863, allocations: 4 kB / 0.7358 GB, free: 72.61 MB / 411.1 MB Notification: Performance of matching and sorting (n=30): time 0.003478/1.867, allocations: 0.811 MB / 0.7366 GB, free: 71.75 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/1.867, allocations: 63.34 kB / 0.7367 GB, free: 71.68 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/1.867, allocations: 204.4 kB / 0.7368 GB, free: 71.47 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/1.867, allocations: 25.7 kB / 0.7369 GB, free: 71.44 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.867, allocations: 254.6 kB / 0.7371 GB, free: 71.19 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/1.868, allocations: 94.56 kB / 0.7372 GB, free: 71.1 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/1.868, allocations: 0 / 0.7372 GB, free: 71.1 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/1.868, allocations: 322.8 kB / 0.7375 GB, free: 70.77 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/1.868, allocations: 80.73 kB / 0.7376 GB, free: 70.69 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/1.868, allocations: 159.4 kB / 0.7377 GB, free: 70.5 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/1.869, allocations: 128.8 kB / 0.7379 GB, free: 70.38 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.869, allocations: 0 / 0.7379 GB, free: 70.38 MB / 411.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001189/1.87, allocations: 361.6 kB / 0.7382 GB, free: 70.02 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.87, allocations: 8.312 kB / 0.7382 GB, free: 70.01 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.87, allocations: 4 kB / 0.7382 GB, free: 70 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004778/1.871, allocations: 84.75 kB / 0.7383 GB, free: 69.92 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/1.871, allocations: 63.91 kB / 0.7384 GB, free: 69.86 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008406/1.872, allocations: 0.6694 MB / 0.739 GB, free: 69.16 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/1.872, allocations: 16.03 kB / 0.739 GB, free: 69.14 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.872, allocations: 16 kB / 0.739 GB, free: 69.13 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.000225/1.873, allocations: 121.4 kB / 0.7392 GB, free: 69 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/1.873, allocations: 31.8 kB / 0.7392 GB, free: 68.97 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/1.874, allocations: 385.2 kB / 0.7396 GB, free: 68.57 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.874, allocations: 3.938 kB / 0.7396 GB, free: 68.56 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.874, allocations: 4 kB / 0.7396 GB, free: 68.56 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009406/1.875, allocations: 0.5605 MB / 0.7401 GB, free: 67.91 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/1.877, allocations: 0.6793 MB / 0.7408 GB, free: 67.18 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.877, allocations: 0 / 0.7408 GB, free: 67.18 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/1.877, allocations: 39.91 kB / 0.7408 GB, free: 67.14 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/1.878, allocations: 76.78 kB / 0.7409 GB, free: 67.06 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/1.878, allocations: 4 kB / 0.7409 GB, free: 67.06 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007171/1.878, allocations: 0.6537 MB / 0.7415 GB, free: 66.38 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.878, allocations: 3.953 kB / 0.7415 GB, free: 66.38 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/1.88, allocations: 490.9 kB / 0.742 GB, free: 65.86 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/1.88, allocations: 108.9 kB / 0.7421 GB, free: 65.73 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/1.88, allocations: 8 kB / 0.7421 GB, free: 65.72 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/1.88, allocations: 4 kB / 0.7421 GB, free: 65.72 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/1.88, allocations: 23.92 kB / 0.7421 GB, free: 65.7 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/1.88, allocations: 15.98 kB / 0.7422 GB, free: 65.68 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002182/1.881, allocations: 160.5 kB / 0.7423 GB, free: 65.52 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.881, allocations: 0 / 0.7423 GB, free: 65.52 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001029/1.882, allocations: 151.9 kB / 0.7425 GB, free: 65.38 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.000551/1.882, allocations: 230.1 kB / 0.7427 GB, free: 65.15 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0008492/1.883, allocations: 228 kB / 0.7429 GB, free: 64.93 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.883, allocations: 0 / 0.7429 GB, free: 64.93 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/1.884, allocations: 116.5 kB / 0.743 GB, free: 64.82 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/1.885, allocations: 128.2 kB / 0.7431 GB, free: 64.69 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/1.886, allocations: 469.4 kB / 0.7436 GB, free: 64.2 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/1.886, allocations: 0.764 MB / 0.7443 GB, free: 63.41 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.887, allocations: 39.41 kB / 0.7444 GB, free: 63.37 MB / 411.1 MB Notification: Performance of SimCode: time 1.192e-06/1.887, allocations: 0 / 0.7444 GB, free: 63.37 MB / 411.1 MB Notification: Performance of Templates: time 0.01449/1.901, allocations: 6.856 MB / 0.7511 GB, free: 56.53 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_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/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches