Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 177.2 kB / 17.41 MB, free: 4.258 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.732/1.732, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008221/0.0008223, allocations: 98.34 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3317, allocations: 47.58 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4577/0.7895, allocations: 190.7 MB / 0.5532 GB, free: 48.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.79, allocations: 79.2 kB / 0.5533 GB, free: 48.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03923/0.8292, allocations: 20.96 MB / 0.5737 GB, free: 30.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.8293, allocations: 0 / 0.5737 GB, free: 30.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.8293, allocations: 7.984 kB / 0.5737 GB, free: 30.12 MB / 378.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.0005734/0.8299, allocations: 438.4 kB / 0.5741 GB, free: 29.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8299, allocations: 8.031 kB / 0.5742 GB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.8303, allocations: 40.44 kB / 0.5742 GB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.8305, allocations: 191.8 kB / 0.5744 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8305, allocations: 8.188 kB / 0.5744 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.8305, allocations: 4.375 kB / 0.5744 GB, free: 29.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.8308, allocations: 141.2 kB / 0.5745 GB, free: 29.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8308, allocations: 192 / 0.5745 GB, free: 29.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.8308, allocations: 7.938 kB / 0.5745 GB, free: 29.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8308, allocations: 4 kB / 0.5745 GB, free: 29.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.831, allocations: 112.6 kB / 0.5746 GB, free: 29.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.8315, allocations: 0.6124 MB / 0.5752 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.8317, allocations: 84.8 kB / 0.5753 GB, free: 28.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.8317, allocations: 44.41 kB / 0.5754 GB, free: 28.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/0.8322, allocations: 0.8073 MB / 0.5761 GB, free: 27.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.8322, allocations: 34.55 kB / 0.5762 GB, free: 27.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.8322, allocations: 0 / 0.5762 GB, free: 27.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002596/0.8325, allocations: 128.4 kB / 0.5763 GB, free: 27.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.8325, allocations: 51.41 kB / 0.5764 GB, free: 27.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.8326, allocations: 117 kB / 0.5765 GB, free: 27.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.8326, allocations: 29.69 kB / 0.5765 GB, free: 27.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.8327, allocations: 99.33 kB / 0.5766 GB, free: 26.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.8327, allocations: 50.47 kB / 0.5766 GB, free: 26.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.8327, allocations: 3.375 kB / 0.5766 GB, free: 26.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.8328, allocations: 326.1 kB / 0.5769 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.8328, allocations: 23.86 kB / 0.577 GB, free: 26.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.8329, allocations: 74.08 kB / 0.577 GB, free: 26.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.833, allocations: 106.1 kB / 0.5771 GB, free: 26.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.833, allocations: 4 kB / 0.5771 GB, free: 26.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001648/0.8332, allocations: 137.9 kB / 0.5773 GB, free: 26.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8332, allocations: 8 kB / 0.5773 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8332, allocations: 0 / 0.5773 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8332, allocations: 0 / 0.5773 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.8333, allocations: 31.98 kB / 0.5773 GB, free: 26.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8334, allocations: 3.984 kB / 0.5773 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.8334, allocations: 19.22 kB / 0.5773 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.8334, allocations: 16.09 kB / 0.5774 GB, free: 26.23 MB / 378.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 () * Number of clocked 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 7.422e-05/0.8335, allocations: 121.3 kB / 0.5775 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.8336, allocations: 7.906 kB / 0.5775 GB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.8338, allocations: 143.1 kB / 0.5776 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8339, allocations: 0 / 0.5776 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8339, allocations: 4 kB / 0.5776 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.8339, allocations: 11.92 kB / 0.5776 GB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.8342, allocations: 389 kB / 0.578 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8342, allocations: 0 / 0.578 GB, free: 25.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.8343, allocations: 19.94 kB / 0.578 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8343, allocations: 3.984 kB / 0.578 GB, free: 25.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.8343, allocations: 11.44 kB / 0.578 GB, free: 25.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8344, allocations: 0 / 0.578 GB, free: 25.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8344, allocations: 0 / 0.578 GB, free: 25.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.8345, allocations: 202.9 kB / 0.5782 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.8346, allocations: 96.44 kB / 0.5783 GB, free: 25.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.8346, allocations: 11.55 kB / 0.5783 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.563e-05/0.8347, allocations: 4 kB / 0.5783 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.8347, allocations: 7.562 kB / 0.5783 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.8348, allocations: 11.97 kB / 0.5784 GB, free: 25.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.8348, allocations: 98.77 kB / 0.5784 GB, free: 25.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.8348, allocations: 0 / 0.5784 GB, free: 25.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.8351, allocations: 71 kB / 0.5785 GB, free: 25.06 MB / 378.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 () * Number of clocked 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.0002666/0.8354, allocations: 154.8 kB / 0.5787 GB, free: 24.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.8356, allocations: 78.16 kB / 0.5787 GB, free: 24.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8356, allocations: 0 / 0.5787 GB, free: 24.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.8356, allocations: 39.11 kB / 0.5788 GB, free: 24.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.836, allocations: 42.58 kB / 0.5788 GB, free: 24.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.8365, allocations: 325.1 kB / 0.5791 GB, free: 24.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.8367, allocations: 0.697 MB / 0.5798 GB, free: 23.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.8367, allocations: 15.44 kB / 0.5798 GB, free: 23.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.8367, allocations: 0 / 0.5798 GB, free: 23.7 MB / 378.7 MB Notification: Performance of Templates: time 0.003823/0.8406, allocations: 2.183 MB / 0.582 GB, free: 21.53 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches