Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001458/0.001458, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.69/1.69, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0009268/0.0009267, allocations: 97.7 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.013e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 47.57 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.656/0.758, allocations: 190.6 MB / 0.5475 GB, free: 144.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.7584, allocations: 71.69 kB / 0.5475 GB, free: 144.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04817/0.8065, allocations: 22.93 MB / 0.5699 GB, free: 123.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.8066, allocations: 3.938 kB / 0.5699 GB, free: 123.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.8066, allocations: 7.938 kB / 0.5699 GB, free: 123.4 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000461/0.8071, allocations: 430.1 kB / 0.5703 GB, free: 123 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.8071, allocations: 12.03 kB / 0.5704 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.8075, allocations: 31.88 kB / 0.5704 GB, free: 122.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.8077, allocations: 203.2 kB / 0.5706 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.8077, allocations: 12 kB / 0.5706 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.8078, allocations: 4 kB / 0.5706 GB, free: 122.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.808, allocations: 129.9 kB / 0.5707 GB, free: 122.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.808, allocations: 3.984 kB / 0.5707 GB, free: 122.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.8081, allocations: 8 kB / 0.5707 GB, free: 122.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.8081, allocations: 4 kB / 0.5707 GB, free: 122.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.8082, allocations: 107.8 kB / 0.5708 GB, free: 122.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.8088, allocations: 0.6188 MB / 0.5714 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.809, allocations: 90.41 kB / 0.5715 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.809, allocations: 40.81 kB / 0.5716 GB, free: 121.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004658/0.8095, allocations: 0.8076 MB / 0.5724 GB, free: 120.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.8095, allocations: 34.5 kB / 0.5724 GB, free: 120.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.8095, allocations: 0 / 0.5724 GB, free: 120.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.00023/0.8098, allocations: 98.92 kB / 0.5725 GB, free: 120.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.8098, allocations: 51.41 kB / 0.5725 GB, free: 120.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.8099, allocations: 117.1 kB / 0.5726 GB, free: 120.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.8099, allocations: 29.7 kB / 0.5727 GB, free: 120.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.81, allocations: 99.88 kB / 0.5728 GB, free: 120.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.81, allocations: 47.67 kB / 0.5728 GB, free: 120.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.81, allocations: 4 kB / 0.5728 GB, free: 120.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.8101, allocations: 314.8 kB / 0.5731 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.8101, allocations: 23.94 kB / 0.5731 GB, free: 119.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.8102, allocations: 80.52 kB / 0.5732 GB, free: 119.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/0.8103, allocations: 36.11 kB / 0.5732 GB, free: 119.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.8103, allocations: 4 kB / 0.5732 GB, free: 119.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000162/0.8104, allocations: 133.4 kB / 0.5734 GB, free: 119.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8105, allocations: 11.95 kB / 0.5734 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8105, allocations: 0 / 0.5734 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8105, allocations: 4 kB / 0.5734 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.8106, allocations: 31.92 kB / 0.5734 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8106, allocations: 3.984 kB / 0.5734 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.8107, allocations: 15.84 kB / 0.5734 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.8107, allocations: 8 kB / 0.5734 GB, free: 119.4 MB / 410.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.753e-05/0.8108, allocations: 117.1 kB / 0.5736 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.8108, allocations: 7.906 kB / 0.5736 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.8111, allocations: 142.5 kB / 0.5737 GB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8111, allocations: 0 / 0.5737 GB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8111, allocations: 0 / 0.5737 GB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8111, allocations: 3.984 kB / 0.5737 GB, free: 119.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.8115, allocations: 398.3 kB / 0.5741 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8115, allocations: 3.953 kB / 0.5741 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.8116, allocations: 23.98 kB / 0.5741 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8116, allocations: 0 / 0.5741 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.8116, allocations: 4 kB / 0.5741 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.8116, allocations: 7.938 kB / 0.5741 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8116, allocations: 3.984 kB / 0.5741 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.8118, allocations: 199.4 kB / 0.5743 GB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.8119, allocations: 108.9 kB / 0.5744 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.8119, allocations: 0 / 0.5744 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.812, allocations: 0 / 0.5744 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.812, allocations: 15.98 kB / 0.5744 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.812, allocations: 8 kB / 0.5744 GB, free: 118.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.812, allocations: 91.22 kB / 0.5745 GB, free: 118.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8121, allocations: 0 / 0.5745 GB, free: 118.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000304/0.8124, allocations: 67.92 kB / 0.5746 GB, free: 118.1 MB / 410.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.0002261/0.8126, allocations: 155.1 kB / 0.5747 GB, free: 118 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.8127, allocations: 76.42 kB / 0.5748 GB, free: 117.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8128, allocations: 4.312 kB / 0.5748 GB, free: 117.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.8128, allocations: 40.19 kB / 0.5749 GB, free: 117.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.8131, allocations: 39.89 kB / 0.5749 GB, free: 117.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.8134, allocations: 109.6 kB / 0.575 GB, free: 117.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.8135, allocations: 0.7048 MB / 0.5757 GB, free: 116.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.8137, allocations: 29.03 kB / 0.5757 GB, free: 116.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.8137, allocations: 27.41 kB / 0.5757 GB, free: 116.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8137, allocations: 3.938 kB / 0.5758 GB, free: 116.9 MB / 410.7 MB Notification: Performance of Templates: time 0.004451/0.8182, allocations: 2.241 MB / 0.5779 GB, free: 114.6 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/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_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches