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.00121/0.001209, allocations: 187 kB / 17.92 MB, free: 3.855 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.183/1.183, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0008886/0.0008886, allocations: 100.4 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007374/0.0007377, allocations: 35.92 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1817, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007237/0.1889, allocations: 7.929 MB / 381.7 MB, free: 39.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006285/0.1896, allocations: 0.6454 MB / 382.4 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.1897, allocations: 1.812 kB / 382.4 MB, free: 39.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1898, allocations: 18.64 kB / 382.4 MB, free: 39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009034/0.1908, allocations: 0.527 MB / 382.9 MB, free: 38.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.191, allocations: 88.95 kB / 383 MB, free: 38.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1912, allocations: 221.4 kB / 383.2 MB, free: 38.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.1912, allocations: 7.828 kB / 383.2 MB, free: 38.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009482/0.1922, allocations: 0.6983 MB / 383.9 MB, free: 38.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1923, allocations: 55.27 kB / 384 MB, free: 38.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1923, allocations: 3.531 kB / 384 MB, free: 38.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1934, allocations: 0.9514 MB / 385 MB, free: 37.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.1935, allocations: 17.02 kB / 385 MB, free: 37.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.503e-05/0.1936, allocations: 45.28 kB / 385 MB, free: 37.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.1939, allocations: 240.1 kB / 385.2 MB, free: 37.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1939, allocations: 0 / 385.2 MB, free: 37.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1939, allocations: 1.125 kB / 385.2 MB, free: 37.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1939, allocations: 3.938 kB / 385.3 MB, free: 37.5 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.0003387/0.1943, allocations: 419.6 kB / 385.7 MB, free: 37.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1943, allocations: 9.812 kB / 385.7 MB, free: 37.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.1946, allocations: 36.56 kB / 385.7 MB, free: 37.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1948, allocations: 196.4 kB / 385.9 MB, free: 36.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1948, allocations: 3.219 kB / 385.9 MB, free: 36.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1948, allocations: 10.03 kB / 385.9 MB, free: 36.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.195, allocations: 148.4 kB / 386.1 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.195, allocations: 0 / 386.1 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.195, allocations: 2 kB / 386.1 MB, free: 36.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1951, allocations: 5.984 kB / 386.1 MB, free: 36.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1952, allocations: 113 kB / 386.2 MB, free: 36.66 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.0004752/0.1957, allocations: 0.6685 MB / 386.8 MB, free: 35.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.1958, allocations: 91.52 kB / 386.9 MB, free: 35.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1959, allocations: 39.69 kB / 387 MB, free: 35.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/0.1963, allocations: 0.8064 MB / 387.8 MB, free: 34.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1963, allocations: 32.47 kB / 387.8 MB, free: 34.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.1963, allocations: 4 kB / 387.8 MB, free: 34.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002399/0.1965, allocations: 125.7 kB / 387.9 MB, free: 34.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.1966, allocations: 56.53 kB / 388 MB, free: 34.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.1966, allocations: 123 kB / 388.1 MB, free: 34.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.1966, allocations: 31.48 kB / 388.1 MB, free: 34.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.1967, allocations: 102.2 kB / 388.2 MB, free: 34.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1967, allocations: 44.23 kB / 388.3 MB, free: 34.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.1967, allocations: 34.8 kB / 388.3 MB, free: 34.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.1968, allocations: 325.4 kB / 388.6 MB, free: 34.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.1968, allocations: 25.83 kB / 388.7 MB, free: 34.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-05/0.1969, allocations: 71.23 kB / 388.7 MB, free: 34.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.197, allocations: 111 kB / 388.8 MB, free: 33.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.197, allocations: 1.469 kB / 388.8 MB, free: 33.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001698/0.1972, allocations: 134.8 kB / 389 MB, free: 33.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1972, allocations: 11.94 kB / 389 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1972, allocations: 0 / 389 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1972, allocations: 8.156 kB / 389 MB, free: 33.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.1973, allocations: 31.98 kB / 389 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1973, allocations: 3.938 kB / 389 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.1974, allocations: 11.84 kB / 389 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1974, allocations: 12 kB / 389.1 MB, free: 33.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/0.1975, allocations: 117.8 kB / 389.2 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.1975, allocations: 11.89 kB / 389.2 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.1977, allocations: 150.2 kB / 389.3 MB, free: 33.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1977, allocations: 0 / 389.3 MB, free: 33.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1978, allocations: 7.875 kB / 389.3 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1978, allocations: 7.984 kB / 389.3 MB, free: 33.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.1981, allocations: 374.6 kB / 389.7 MB, free: 33.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1981, allocations: 3.984 kB / 389.7 MB, free: 33.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.1981, allocations: 23.94 kB / 389.7 MB, free: 33.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1981, allocations: 7.922 kB / 389.7 MB, free: 33.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1982, allocations: 11.98 kB / 389.8 MB, free: 33.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1982, allocations: 0 / 389.8 MB, free: 33.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1982, allocations: 0 / 389.8 MB, free: 33.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1984, allocations: 0.7746 MB / 390.5 MB, free: 32.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1985, allocations: 108.9 kB / 390.6 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1985, allocations: 4 kB / 390.6 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.1986, allocations: 4 kB / 390.6 MB, free: 32.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.1986, allocations: 11.98 kB / 390.7 MB, free: 32.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1986, allocations: 8 kB / 390.7 MB, free: 32.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.711e-05/0.1987, allocations: 91.27 kB / 390.7 MB, free: 31.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1987, allocations: 0 / 390.7 MB, free: 31.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000371/0.199, allocations: 60 kB / 390.8 MB, free: 31.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002258/0.1993, allocations: 171 kB / 391 MB, free: 31.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1994, allocations: 85.84 kB / 391.1 MB, free: 31.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1994, allocations: 0 / 391.1 MB, free: 31.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.1995, allocations: 43.92 kB / 391.1 MB, free: 31.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1999, allocations: 44.55 kB / 391.1 MB, free: 31.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.2002, allocations: 396.2 kB / 391.5 MB, free: 31.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.2004, allocations: 0.6969 MB / 392.2 MB, free: 30.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.2005, allocations: 28.8 kB / 392.3 MB, free: 30.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.2005, allocations: 27.42 kB / 392.3 MB, free: 30.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2005, allocations: 0 / 392.3 MB, free: 30.32 MB / 298.7 MB Notification: Performance of Templates: time 0.004056/0.2046, allocations: 2.46 MB / 394.7 MB, free: 27.88 MB / 298.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@2/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