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.001029/0.001033, allocations: 192.3 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.6 MB / 244.7 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007373/0.0007372, allocations: 104 kB / 296.8 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002005, allocations: 8 kB / 356.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1856, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.003845/0.1895, allocations: 4.389 MB / 412.4 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005409/0.1901, allocations: 0.5741 MB / 413 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.1901, allocations: 3.531 kB / 413 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1903, allocations: 23.83 kB / 413 MB, free: 22.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008975/0.1912, allocations: 0.5078 MB / 413.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.1914, allocations: 91.38 kB / 413.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1916, allocations: 187.2 kB / 413.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.1916, allocations: 8 kB / 413.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008948/0.1925, allocations: 0.6669 MB / 414.5 MB, free: 21.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.1926, allocations: 51.77 kB / 414.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1926, allocations: 0 / 414.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1938, allocations: 0.9246 MB / 415.5 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.013e-05/0.1938, allocations: 23.91 kB / 415.5 MB, free: 20.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.1939, allocations: 69.5 kB / 415.5 MB, free: 20.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1941, allocations: 184.6 kB / 415.7 MB, free: 19.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1942, allocations: 4 kB / 415.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1942, allocations: 0 / 415.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1942, allocations: 0 / 415.7 MB, free: 19.98 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.0003304/0.1945, allocations: 403.3 kB / 416.1 MB, free: 19.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1945, allocations: 12.03 kB / 416.1 MB, free: 19.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.1949, allocations: 32.81 kB / 416.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.195, allocations: 192.2 kB / 416.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1951, allocations: 8.375 kB / 416.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1951, allocations: 11.94 kB / 416.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1953, allocations: 143.2 kB / 416.5 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1953, allocations: 0 / 416.5 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1953, allocations: 4 kB / 416.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1953, allocations: 4 kB / 416.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1955, allocations: 103.9 kB / 416.6 MB, free: 18.99 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.0004947/0.196, allocations: 0.6684 MB / 417.3 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1961, allocations: 86.48 kB / 417.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.1961, allocations: 40.84 kB / 417.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003943/0.1965, allocations: 0.8115 MB / 418.2 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.1966, allocations: 34.56 kB / 418.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1966, allocations: 0 / 418.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000231/0.1968, allocations: 122.3 kB / 418.4 MB, free: 16.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.1968, allocations: 59.59 kB / 418.4 MB, free: 16.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.1969, allocations: 117.8 kB / 418.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.1969, allocations: 29.7 kB / 418.6 MB, free: 16.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.197, allocations: 95.89 kB / 418.7 MB, free: 16.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.197, allocations: 47.36 kB / 418.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.197, allocations: 3.938 kB / 418.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.1971, allocations: 322.8 kB / 419 MB, free: 16.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.1971, allocations: 23.98 kB / 419.1 MB, free: 16.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.1972, allocations: 65.14 kB / 419.1 MB, free: 16.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1973, allocations: 112.5 kB / 419.2 MB, free: 16.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1973, allocations: 4 kB / 419.2 MB, free: 16.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000162/0.1974, allocations: 133.6 kB / 419.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1975, allocations: 10.81 kB / 419.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1975, allocations: 0 / 419.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1975, allocations: 7.938 kB / 419.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1976, allocations: 32.36 kB / 419.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1976, allocations: 4 kB / 419.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.1977, allocations: 15.78 kB / 419.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1977, allocations: 12 kB / 419.5 MB, free: 15.79 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.763e-05/0.1978, allocations: 125.8 kB / 419.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1978, allocations: 7.906 kB / 419.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.198, allocations: 153.9 kB / 419.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.198, allocations: 4 kB / 419.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1981, allocations: 0 / 419.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1981, allocations: 0 / 419.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.1984, allocations: 390.4 kB / 420.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1984, allocations: 4 kB / 420.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.1985, allocations: 23.94 kB / 420.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1985, allocations: 0 / 420.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1985, allocations: 7.984 kB / 420.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1985, allocations: 4 kB / 420.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1985, allocations: 4 kB / 420.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.1986, allocations: 199.1 kB / 420.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.1987, allocations: 96.94 kB / 420.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1987, allocations: 8 kB / 420.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.1988, allocations: 4 kB / 420.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.1988, allocations: 7.984 kB / 420.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1989, allocations: 11.98 kB / 420.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.1989, allocations: 91.22 kB / 420.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1989, allocations: 3.938 kB / 420.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.1992, allocations: 63.98 kB / 420.6 MB, free: 14.5 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.0002873/0.1995, allocations: 167.2 kB / 420.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1997, allocations: 79.91 kB / 420.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1997, allocations: 0 / 420.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.1997, allocations: 39.92 kB / 420.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.2002, allocations: 56.36 kB / 421 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.2006, allocations: 316.4 kB / 421.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.2007, allocations: 0.6967 MB / 422 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.2008, allocations: 23.42 kB / 422 MB, free: 13.07 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2008, allocations: 4 kB / 422 MB, free: 13.06 MB / 298.7 MB Notification: Performance of Templates: time 0.003529/0.2043, allocations: 2.246 MB / 424.3 MB, free: 10.83 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