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.001495/0.001495, allocations: 181.5 kB / 16.4 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.878/1.878, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001117/0.001116, allocations: 99.22 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3308, allocations: 47.56 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6173/0.9481, allocations: 188.7 MB / 0.55 GB, free: 50.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/0.9486, allocations: 101.4 kB / 0.5501 GB, free: 50.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9848/1.933, allocations: 200.5 MB / 0.7459 GB, free: 75.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.053e-06/1.934, allocations: 4 kB / 0.7459 GB, free: 75.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.419e-05/1.934, allocations: 4 kB / 0.7459 GB, free: 75.73 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002628/1.936, allocations: 1.032 MB / 0.7469 GB, free: 74.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.936, allocations: 12.03 kB / 0.747 GB, free: 74.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/1.937, allocations: 47.98 kB / 0.747 GB, free: 74.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/1.937, allocations: 288.5 kB / 0.7473 GB, free: 74.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.937, allocations: 24.52 kB / 0.7473 GB, free: 74.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/1.937, allocations: 24 kB / 0.7473 GB, free: 74.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/1.938, allocations: 326.2 kB / 0.7476 GB, free: 73.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/1.938, allocations: 7.938 kB / 0.7476 GB, free: 73.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/1.938, allocations: 12 kB / 0.7477 GB, free: 73.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/1.938, allocations: 8 kB / 0.7477 GB, free: 73.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/1.939, allocations: 189.5 kB / 0.7478 GB, free: 73.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/1.942, allocations: 2.069 MB / 0.7499 GB, free: 71.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/1.942, allocations: 186.5 kB / 0.75 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/1.942, allocations: 247.3 kB / 0.7503 GB, free: 70.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.942, allocations: 42.52 kB / 0.7503 GB, free: 70.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.837e-06/1.942, allocations: 0 / 0.7503 GB, free: 70.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.003786/1.946, allocations: 1.026 MB / 0.7513 GB, free: 69.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/1.946, allocations: 55.41 kB / 0.7514 GB, free: 69.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/1.946, allocations: 237.7 kB / 0.7516 GB, free: 69.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.947, allocations: 29.7 kB / 0.7516 GB, free: 69.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.947, allocations: 242.6 kB / 0.7519 GB, free: 69.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/1.947, allocations: 106.4 kB / 0.752 GB, free: 69.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/1.947, allocations: 11.94 kB / 0.752 GB, free: 69.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/1.947, allocations: 322.8 kB / 0.7523 GB, free: 68.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.947, allocations: 80.72 kB / 0.7524 GB, free: 68.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.947, allocations: 166.9 kB / 0.7525 GB, free: 68.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/1.948, allocations: 124.4 kB / 0.7526 GB, free: 68.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.948, allocations: 4 kB / 0.7526 GB, free: 68.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009063/1.949, allocations: 357.7 kB / 0.753 GB, free: 67.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.949, allocations: 5.25 kB / 0.753 GB, free: 67.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.949, allocations: 8 kB / 0.753 GB, free: 67.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/1.949, allocations: 96.72 kB / 0.7531 GB, free: 67.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/1.95, allocations: 67.91 kB / 0.7532 GB, free: 67.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006565/1.951, allocations: 0.6461 MB / 0.7538 GB, free: 67.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/1.951, allocations: 23.92 kB / 0.7538 GB, free: 67.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/1.951, allocations: 20 kB / 0.7538 GB, free: 67.06 MB / 426.7 MB 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 () * Number of clocked 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002515/1.951, allocations: 158.6 kB / 0.754 GB, free: 66.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/1.951, allocations: 27.72 kB / 0.754 GB, free: 66.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009518/1.952, allocations: 370.4 kB / 0.7544 GB, free: 66.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.952, allocations: 4 kB / 0.7544 GB, free: 66.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.952, allocations: 0 / 0.7544 GB, free: 66.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007904/1.953, allocations: 0.5709 MB / 0.7549 GB, free: 65.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/1.955, allocations: 0.7468 MB / 0.7556 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.955, allocations: 4 kB / 0.7556 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/1.955, allocations: 35.88 kB / 0.7557 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/1.956, allocations: 104.8 kB / 0.7558 GB, free: 64.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/1.956, allocations: 8 kB / 0.7558 GB, free: 64.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005679/1.956, allocations: 0.6343 MB / 0.7564 GB, free: 64.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.956, allocations: 0 / 0.7564 GB, free: 64.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/1.958, allocations: 0.5052 MB / 0.7569 GB, free: 63.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/1.958, allocations: 104.8 kB / 0.757 GB, free: 63.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/1.958, allocations: 12 kB / 0.757 GB, free: 63.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/1.958, allocations: 19.89 kB / 0.757 GB, free: 63.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/1.958, allocations: 20.03 kB / 0.7571 GB, free: 63.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/1.958, allocations: 15.98 kB / 0.7571 GB, free: 63.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002665/1.959, allocations: 194 kB / 0.7573 GB, free: 63.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.959, allocations: 0 / 0.7573 GB, free: 63.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009039/1.96, allocations: 163.9 kB / 0.7574 GB, free: 63.1 MB / 426.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 () * Number of clocked 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.000522/1.96, allocations: 238.8 kB / 0.7576 GB, free: 62.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007968/1.961, allocations: 240.2 kB / 0.7579 GB, free: 62.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.961, allocations: 8.062 kB / 0.7579 GB, free: 62.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/1.961, allocations: 119.8 kB / 0.758 GB, free: 62.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.963, allocations: 148.9 kB / 0.7581 GB, free: 62.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/1.965, allocations: 0.7808 MB / 0.7589 GB, free: 61.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/1.965, allocations: 0.7728 MB / 0.7596 GB, free: 60.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/1.965, allocations: 31.44 kB / 0.7597 GB, free: 60.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.933e-06/1.965, allocations: 96 / 0.7597 GB, free: 60.71 MB / 426.7 MB Notification: Performance of Templates: time 0.01439/1.979, allocations: 7.19 MB / 0.7667 GB, free: 53.52 MB / 426.7 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