Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 196.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 226.5 MB / 245.4 MB, free: 8.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008736, allocations: 101.3 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002256, allocations: 7.984 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2387, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.417/0.6558, allocations: 187.9 MB / 0.5833 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.6561, allocations: 75.84 kB / 0.5834 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04092/0.6971, allocations: 20.86 MB / 0.6037 GB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.6971, allocations: 4 kB / 0.6037 GB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.6971, allocations: 0 / 0.6037 GB, free: 10.18 MB / 394.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.0005388/0.6977, allocations: 453.7 kB / 0.6042 GB, free: 9.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6977, allocations: 15.97 kB / 0.6042 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.6981, allocations: 28.81 kB / 0.6042 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.6983, allocations: 195.6 kB / 0.6044 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.6983, allocations: 3.75 kB / 0.6044 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.6983, allocations: 15.75 kB / 0.6044 GB, free: 9.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.6986, allocations: 136.7 kB / 0.6045 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.6986, allocations: 192 / 0.6045 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.6986, allocations: 7.875 kB / 0.6045 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6986, allocations: 4 kB / 0.6045 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.6988, allocations: 105 kB / 0.6047 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.6994, allocations: 0.6193 MB / 0.6053 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.6996, allocations: 84.36 kB / 0.6053 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.6996, allocations: 39.84 kB / 0.6054 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005484/0.7002, allocations: 0.8107 MB / 0.6062 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.7002, allocations: 30.56 kB / 0.6062 GB, free: 7.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.7002, allocations: 0 / 0.6062 GB, free: 7.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002743/0.7005, allocations: 129.8 kB / 0.6063 GB, free: 7.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.7005, allocations: 55.41 kB / 0.6064 GB, free: 7.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.7006, allocations: 116.7 kB / 0.6065 GB, free: 7.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.7007, allocations: 25.7 kB / 0.6065 GB, free: 7.129 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.7007, allocations: 103.6 kB / 0.6066 GB, free: 7.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.7008, allocations: 46.42 kB / 0.6066 GB, free: 6.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.7008, allocations: 4 kB / 0.6067 GB, free: 6.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7009, allocations: 322.6 kB / 0.607 GB, free: 6.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.7009, allocations: 27.11 kB / 0.607 GB, free: 6.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.701, allocations: 62.33 kB / 0.607 GB, free: 6.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.7011, allocations: 110 kB / 0.6072 GB, free: 6.477 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7011, allocations: 0 / 0.6072 GB, free: 6.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001925/0.7013, allocations: 139.1 kB / 0.6073 GB, free: 6.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7014, allocations: 8.531 kB / 0.6073 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7014, allocations: 4 kB / 0.6073 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7014, allocations: 3.938 kB / 0.6073 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7015, allocations: 35.23 kB / 0.6073 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.7015, allocations: 7.875 kB / 0.6073 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.7016, allocations: 15.78 kB / 0.6074 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.7016, allocations: 11.94 kB / 0.6074 GB, free: 6.281 MB / 394.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 8.087e-05/0.7017, allocations: 116.4 kB / 0.6075 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.7017, allocations: 11.89 kB / 0.6075 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.702, allocations: 139 kB / 0.6076 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.702, allocations: 4 kB / 0.6076 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.702, allocations: 7.938 kB / 0.6076 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7021, allocations: 7.922 kB / 0.6076 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.7025, allocations: 389 kB / 0.608 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7025, allocations: 4 kB / 0.608 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.7026, allocations: 23.94 kB / 0.608 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7026, allocations: 0 / 0.608 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7026, allocations: 11.92 kB / 0.6081 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7026, allocations: 0 / 0.6081 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7026, allocations: 0 / 0.6081 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.7028, allocations: 199.8 kB / 0.6082 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.7029, allocations: 100.9 kB / 0.6083 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.7029, allocations: 7.938 kB / 0.6083 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.703, allocations: 3.938 kB / 0.6083 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.703, allocations: 7.984 kB / 0.6084 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.703, allocations: 15.92 kB / 0.6084 GB, free: 5.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.7031, allocations: 86.91 kB / 0.6085 GB, free: 5.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7031, allocations: 0 / 0.6085 GB, free: 5.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003407/0.7034, allocations: 69.98 kB / 0.6085 GB, free: 5.121 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.0002668/0.7037, allocations: 162.1 kB / 0.6087 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.7039, allocations: 86.16 kB / 0.6088 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7039, allocations: 0 / 0.6088 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.744e-05/0.7039, allocations: 39.55 kB / 0.6088 GB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.7044, allocations: 43.67 kB / 0.6088 GB, free: 4.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.7048, allocations: 296.4 kB / 0.6091 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.705, allocations: 0.697 MB / 0.6098 GB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.7052, allocations: 30 kB / 0.6098 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.7052, allocations: 26.8 kB / 0.6099 GB, free: 3.734 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7052, allocations: 4 kB / 0.6099 GB, free: 3.73 MB / 394.7 MB Notification: Performance of Templates: time 0.005087/0.7103, allocations: 2.312 MB / 0.6121 GB, free: 1.457 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches