Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008795/0.0008798, allocations: 196.6 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 226.6 MB / 244.3 MB, free: 8.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007158/0.0007158, allocations: 102.5 kB / 296.4 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000183/0.000183, allocations: 7.984 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1654, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.003398/0.1689, allocations: 4.369 MB / 411.9 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004827/0.1694, allocations: 0.5779 MB / 412.4 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.1694, allocations: 8 kB / 412.4 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.1696, allocations: 23.83 kB / 412.5 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.1703, allocations: 0.5141 MB / 413 MB, free: 22.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.1705, allocations: 79.88 kB / 413.1 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1707, allocations: 191.2 kB / 413.2 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.1707, allocations: 4 kB / 413.3 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007191/0.1714, allocations: 0.6669 MB / 413.9 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.1715, allocations: 51.84 kB / 414 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1715, allocations: 7.938 kB / 414 MB, free: 21.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.1725, allocations: 0.9168 MB / 414.9 MB, free: 20.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.1725, allocations: 27.91 kB / 414.9 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1725, allocations: 45.58 kB / 415 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1727, allocations: 180.6 kB / 415.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1728, allocations: 0 / 415.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1728, allocations: 0 / 415.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1728, allocations: 0 / 415.1 MB, free: 20.14 MB / 298.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.0002843/0.1731, allocations: 395.1 kB / 415.5 MB, free: 19.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.447e-05/0.1731, allocations: 8.031 kB / 415.5 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.1734, allocations: 39.88 kB / 415.6 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1736, allocations: 198.9 kB / 415.8 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1736, allocations: 11.94 kB / 415.8 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1736, allocations: 8 kB / 415.8 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1738, allocations: 135.2 kB / 415.9 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1738, allocations: 0 / 415.9 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1738, allocations: 4 kB / 415.9 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1738, allocations: 0 / 415.9 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1739, allocations: 115.8 kB / 416 MB, free: 19.14 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.1744, allocations: 0.6646 MB / 416.7 MB, free: 18.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1745, allocations: 82.48 kB / 416.8 MB, free: 18.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.1746, allocations: 41.11 kB / 416.8 MB, free: 18.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003457/0.1749, allocations: 0.8076 MB / 417.6 MB, free: 17.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.175, allocations: 46.5 kB / 417.7 MB, free: 17.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.175, allocations: 4 kB / 417.7 MB, free: 17.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002023/0.1752, allocations: 118.6 kB / 417.8 MB, free: 17.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.1752, allocations: 51.41 kB / 417.8 MB, free: 17.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/0.1752, allocations: 117.9 kB / 418 MB, free: 16.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1753, allocations: 29.7 kB / 418 MB, free: 16.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.1753, allocations: 103.9 kB / 418.1 MB, free: 16.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.1753, allocations: 43.36 kB / 418.1 MB, free: 16.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.1753, allocations: 4 kB / 418.1 MB, free: 16.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.281e-05/0.1754, allocations: 318.8 kB / 418.4 MB, free: 16.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.1754, allocations: 27.98 kB / 418.5 MB, free: 16.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.1755, allocations: 65.14 kB / 418.5 MB, free: 16.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.1755, allocations: 39.38 kB / 418.6 MB, free: 16.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1755, allocations: 4 kB / 418.6 MB, free: 16.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001509/0.1757, allocations: 141.4 kB / 418.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.1757, allocations: 10.97 kB / 418.7 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1757, allocations: 3.953 kB / 418.7 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1757, allocations: 4 kB / 418.7 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1758, allocations: 28.36 kB / 418.8 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1758, allocations: 7.938 kB / 418.8 MB, free: 16.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.1759, allocations: 15.84 kB / 418.8 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1759, allocations: 11.98 kB / 418.8 MB, free: 16.03 MB / 298.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 5.337e-05/0.176, allocations: 121.8 kB / 418.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.176, allocations: 7.906 kB / 418.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.1762, allocations: 150.1 kB / 419.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1763, allocations: 7.953 kB / 419.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1763, allocations: 0 / 419.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1763, allocations: 0 / 419.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.1766, allocations: 382.5 kB / 419.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1766, allocations: 0 / 419.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.1767, allocations: 39.92 kB / 419.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1767, allocations: 3.953 kB / 419.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1767, allocations: 0 / 419.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1767, allocations: 0 / 419.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1767, allocations: 4 kB / 419.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.1768, allocations: 203.3 kB / 419.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.1769, allocations: 96.94 kB / 419.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1769, allocations: 7.938 kB / 419.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.177, allocations: 8 kB / 419.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.177, allocations: 11.94 kB / 419.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.177, allocations: 7.984 kB / 419.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.608e-05/0.177, allocations: 87.28 kB / 419.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1771, allocations: 0 / 419.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.1773, allocations: 63.98 kB / 420 MB, free: 14.75 MB / 298.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.0002061/0.1775, allocations: 171.1 kB / 420.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1777, allocations: 75.91 kB / 420.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1777, allocations: 0 / 420.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.1777, allocations: 39.92 kB / 420.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1781, allocations: 56.42 kB / 420.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.1784, allocations: 316.4 kB / 420.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.1785, allocations: 0.6967 MB / 421.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.1785, allocations: 27.41 kB / 421.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1785, allocations: 0 / 421.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of Templates: time 0.00279/0.1813, allocations: 2.25 MB / 423.6 MB, free: 11.07 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches