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.002363/0.002363, allocations: 172.2 kB / 17.39 MB, free: 4.309 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.38/1.38, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009224, allocations: 103.1 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 11.94 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 50.39 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.6293, allocations: 187.2 MB / 0.5761 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.6296, allocations: 77.98 kB / 0.5762 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04084/0.6704, allocations: 20.57 MB / 0.5963 GB, free: 3.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6705, allocations: 0 / 0.5963 GB, free: 3.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.6705, allocations: 8 kB / 0.5963 GB, free: 3.938 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.0005489/0.671, allocations: 441.7 kB / 0.5967 GB, free: 3.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.6711, allocations: 8.031 kB / 0.5967 GB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.6715, allocations: 36.5 kB / 0.5968 GB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.6717, allocations: 191.4 kB / 0.597 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.6718, allocations: 4.375 kB / 0.597 GB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.6718, allocations: 11.5 kB / 0.597 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.672, allocations: 146.1 kB / 0.5971 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.672, allocations: 192 / 0.5971 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6721, allocations: 7.938 kB / 0.5971 GB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6721, allocations: 0 / 0.5971 GB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.6722, allocations: 108.4 kB / 0.5972 GB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.6728, allocations: 0.6184 MB / 0.5978 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6729, allocations: 91.92 kB / 0.5979 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.673, allocations: 39.41 kB / 0.5979 GB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.6734, allocations: 0.8067 MB / 0.5987 GB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.6734, allocations: 30.56 kB / 0.5988 GB, free: 1.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.6734, allocations: 4 kB / 0.5988 GB, free: 1.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002562/0.6737, allocations: 131 kB / 0.5989 GB, free: 1.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.6737, allocations: 51.41 kB / 0.5989 GB, free: 1.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.6738, allocations: 117 kB / 0.5991 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.6738, allocations: 29.27 kB / 0.5991 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.6739, allocations: 99.14 kB / 0.5992 GB, free: 0.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.6739, allocations: 46.23 kB / 0.5992 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.6739, allocations: 4 kB / 0.5992 GB, free: 0.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.674, allocations: 326.3 kB / 0.5995 GB, free: 436 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.115e-05/0.674, allocations: 27.11 kB / 0.5996 GB, free: 416 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.6741, allocations: 66.86 kB / 0.5996 GB, free: 344 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.6742, allocations: 106 kB / 0.5997 GB, free: 244 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6742, allocations: 0 / 0.5997 GB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001733/0.6744, allocations: 142.2 kB / 0.5999 GB, free: 124 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.6744, allocations: 4 kB / 0.5999 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6744, allocations: 4 kB / 0.5999 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.6744, allocations: 160 / 0.5999 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.6745, allocations: 39.17 kB / 0.5999 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6746, allocations: 384 / 0.5999 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.6746, allocations: 11.59 kB / 0.5999 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.6746, allocations: 15.88 kB / 0.5999 GB, free: 56 kB / 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 0.0001101/0.6748, allocations: 120.1 kB / 0.6 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.6748, allocations: 15.83 kB / 0.6001 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.6751, allocations: 138.9 kB / 0.6002 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.6751, allocations: 0 / 0.6002 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6751, allocations: 0 / 0.6002 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.6751, allocations: 7.922 kB / 0.6002 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.6756, allocations: 386.7 kB / 0.6006 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6756, allocations: 7.922 kB / 0.6006 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.6757, allocations: 27.5 kB / 0.6006 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6757, allocations: 0 / 0.6006 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.6757, allocations: 15.92 kB / 0.6006 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6757, allocations: 0 / 0.6006 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6757, allocations: 0 / 0.6006 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.6759, allocations: 197.1 kB / 0.6008 GB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.676, allocations: 100.7 kB / 0.6009 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6761, allocations: 7.562 kB / 0.6009 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.6761, allocations: 0 / 0.6009 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.6762, allocations: 15.67 kB / 0.6009 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.6762, allocations: 8 kB / 0.6009 GB, free: 15.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.6763, allocations: 94.77 kB / 0.601 GB, free: 14.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6763, allocations: 0 / 0.601 GB, free: 14.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.6766, allocations: 63.11 kB / 0.6011 GB, free: 14.89 MB / 394.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.0002918/0.6769, allocations: 155.1 kB / 0.6012 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.6771, allocations: 83.53 kB / 0.6013 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6771, allocations: 0 / 0.6013 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.6772, allocations: 40.17 kB / 0.6013 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.6776, allocations: 44.52 kB / 0.6014 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.6781, allocations: 291.9 kB / 0.6017 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.6784, allocations: 0.6931 MB / 0.6023 GB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.6786, allocations: 41.02 kB / 0.6024 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.6786, allocations: 17.88 kB / 0.6024 GB, free: 13.52 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6786, allocations: 0 / 0.6024 GB, free: 13.52 MB / 394.7 MB Notification: Performance of Templates: time 0.005698/0.6844, allocations: 2.233 MB / 0.6046 GB, free: 11.33 MB / 394.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/jenkins1/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