Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 174.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.798/1.798, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009334/0.0009336, allocations: 86.45 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.176e-05, allocations: 3.984 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.173, allocations: 50.4 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7865/0.9596, allocations: 187.1 MB / 0.5677 GB, free: 144.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/0.9601, allocations: 76.38 kB / 0.5678 GB, free: 144 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05042/1.01, allocations: 22.53 MB / 0.5898 GB, free: 123.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.572e-06/1.011, allocations: 0 / 0.5898 GB, free: 123.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/1.011, allocations: 4 kB / 0.5898 GB, free: 123.2 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005127/1.011, allocations: 434 kB / 0.5902 GB, free: 122.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.011, allocations: 12.03 kB / 0.5902 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/1.012, allocations: 27.89 kB / 0.5902 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/1.012, allocations: 195 kB / 0.5904 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.012, allocations: 7.938 kB / 0.5904 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/1.012, allocations: 8 kB / 0.5904 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/1.012, allocations: 145.5 kB / 0.5906 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.012, allocations: 0 / 0.5906 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/1.012, allocations: 12 kB / 0.5906 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.012, allocations: 4 kB / 0.5906 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/1.012, allocations: 103.9 kB / 0.5907 GB, free: 122.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/1.013, allocations: 0.6105 MB / 0.5913 GB, free: 121.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/1.013, allocations: 86.52 kB / 0.5914 GB, free: 121.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/1.013, allocations: 41.84 kB / 0.5914 GB, free: 121.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/1.014, allocations: 0.804 MB / 0.5922 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/1.014, allocations: 34.56 kB / 0.5922 GB, free: 120.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.014, allocations: 0 / 0.5922 GB, free: 120.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002402/1.014, allocations: 109.6 kB / 0.5923 GB, free: 120.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/1.014, allocations: 51.41 kB / 0.5924 GB, free: 120.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/1.014, allocations: 121 kB / 0.5925 GB, free: 120.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/1.014, allocations: 25.7 kB / 0.5925 GB, free: 120 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/1.014, allocations: 99.94 kB / 0.5926 GB, free: 119.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/1.014, allocations: 43.3 kB / 0.5927 GB, free: 119.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-06/1.014, allocations: 8 kB / 0.5927 GB, free: 119.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/1.014, allocations: 318.8 kB / 0.593 GB, free: 119.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/1.014, allocations: 20 kB / 0.593 GB, free: 119.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/1.014, allocations: 70.55 kB / 0.593 GB, free: 119.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/1.015, allocations: 35.73 kB / 0.5931 GB, free: 119.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.015, allocations: 0 / 0.5931 GB, free: 119.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000189/1.015, allocations: 141.5 kB / 0.5932 GB, free: 119.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.015, allocations: 7.984 kB / 0.5932 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.015, allocations: 4 kB / 0.5932 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.015, allocations: 0 / 0.5932 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/1.015, allocations: 31.98 kB / 0.5933 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.015, allocations: 3.953 kB / 0.5933 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/1.015, allocations: 15.84 kB / 0.5933 GB, free: 119.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/1.015, allocations: 8 kB / 0.5933 GB, free: 119.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/1.015, allocations: 108.9 kB / 0.5934 GB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/1.015, allocations: 19.94 kB / 0.5934 GB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/1.015, allocations: 130.9 kB / 0.5935 GB, free: 119 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.015, allocations: 7.938 kB / 0.5935 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.015, allocations: 0 / 0.5935 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/1.015, allocations: 7.938 kB / 0.5935 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/1.016, allocations: 394.4 kB / 0.5939 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.016, allocations: 0 / 0.5939 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/1.016, allocations: 23.92 kB / 0.5939 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.016, allocations: 4 kB / 0.594 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.016, allocations: 3.984 kB / 0.594 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.016, allocations: 3.953 kB / 0.594 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.016, allocations: 4 kB / 0.594 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/1.016, allocations: 202.9 kB / 0.5942 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/1.016, allocations: 105 kB / 0.5943 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/1.016, allocations: 4 kB / 0.5943 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/1.016, allocations: 0 / 0.5943 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/1.016, allocations: 11.94 kB / 0.5943 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/1.016, allocations: 15.94 kB / 0.5943 GB, free: 118.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/1.017, allocations: 91.27 kB / 0.5944 GB, free: 118 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.017, allocations: 0 / 0.5944 GB, free: 118 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004442/1.017, allocations: 55.94 kB / 0.5944 GB, free: 117.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/1.017, allocations: 159.1 kB / 0.5946 GB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/1.018, allocations: 79.92 kB / 0.5947 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.018, allocations: 320 / 0.5947 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/1.018, allocations: 39.94 kB / 0.5947 GB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/1.018, allocations: 37.7 kB / 0.5947 GB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/1.018, allocations: 117.7 kB / 0.5948 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/1.019, allocations: 0.7009 MB / 0.5955 GB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/1.019, allocations: 33.95 kB / 0.5956 GB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/1.019, allocations: 19.42 kB / 0.5956 GB, free: 116.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/1.019, allocations: 0 / 0.5956 GB, free: 116.7 MB / 426.7 MB Notification: Performance of Templates: time 0.00611/1.025, allocations: 2.197 MB / 0.5977 GB, free: 114.6 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches