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.002073/0.002073, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009927/0.0009927, allocations: 98.31 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009572/0.0009572, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1984, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005006/0.2035, allocations: 5.032 MB / 412.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006017/0.2041, allocations: 0.6349 MB / 412.7 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.2042, allocations: 0 / 412.7 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.2044, allocations: 27.83 kB / 412.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009045/0.2053, allocations: 0.5219 MB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.2055, allocations: 85 kB / 413.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.2057, allocations: 223.2 kB / 413.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.2057, allocations: 7.984 kB / 413.6 MB, free: 21.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008761/0.2066, allocations: 0.7054 MB / 414.3 MB, free: 20.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.2067, allocations: 51.77 kB / 414.3 MB, free: 20.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.2067, allocations: 4 kB / 414.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.2079, allocations: 0.9841 MB / 415.3 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.2079, allocations: 19.91 kB / 415.3 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.208, allocations: 51.67 kB / 415.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.2084, allocations: 243.5 kB / 415.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2084, allocations: 0 / 415.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2084, allocations: 8 kB / 415.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.676e-06/0.2084, allocations: 0 / 415.6 MB, free: 19.2 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.0004224/0.2088, allocations: 427.2 kB / 416 MB, free: 18.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2089, allocations: 8.594 kB / 416.1 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.2092, allocations: 32.81 kB / 416.1 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.2094, allocations: 192.2 kB / 416.3 MB, free: 18.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.2094, allocations: 12.36 kB / 416.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.2094, allocations: 11.94 kB / 416.3 MB, free: 18.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.2096, allocations: 139.5 kB / 416.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2097, allocations: 0 / 416.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2097, allocations: 4 kB / 416.4 MB, free: 18.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2097, allocations: 4 kB / 416.4 MB, free: 18.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2099, allocations: 103.9 kB / 416.5 MB, free: 18.19 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.0005582/0.2104, allocations: 0.6683 MB / 417.2 MB, free: 17.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2105, allocations: 85.61 kB / 417.3 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.2106, allocations: 41.09 kB / 417.3 MB, free: 17.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/0.211, allocations: 0.8037 MB / 418.1 MB, free: 16.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2111, allocations: 46.5 kB / 418.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.2111, allocations: 0 / 418.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002501/0.2113, allocations: 125.1 kB / 418.3 MB, free: 16.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2114, allocations: 59.33 kB / 418.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.2114, allocations: 117.8 kB / 418.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2114, allocations: 37.64 kB / 418.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.2115, allocations: 95.8 kB / 418.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2115, allocations: 47.44 kB / 418.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.2116, allocations: 41.61 kB / 418.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.2116, allocations: 318.8 kB / 419 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.2117, allocations: 27.98 kB / 419 MB, free: 15.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.2117, allocations: 71.89 kB / 419.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.2118, allocations: 109.1 kB / 419.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2118, allocations: 0 / 419.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001618/0.212, allocations: 133.4 kB / 419.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.212, allocations: 4.156 kB / 419.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.212, allocations: 8 kB / 419.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2121, allocations: 3.938 kB / 419.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2122, allocations: 39.92 kB / 419.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2122, allocations: 0 / 419.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.2123, allocations: 11.84 kB / 419.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.2123, allocations: 12 kB / 419.4 MB, free: 14.94 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 6.495e-05/0.2123, allocations: 127.2 kB / 419.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.2124, allocations: 7.906 kB / 419.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.2126, allocations: 158.3 kB / 419.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2126, allocations: 0 / 419.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2127, allocations: 3.984 kB / 419.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2127, allocations: 0 / 419.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.213, allocations: 390.2 kB / 420.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.213, allocations: 3.984 kB / 420.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.2131, allocations: 20 kB / 420.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2131, allocations: 4 kB / 420.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2131, allocations: 7.984 kB / 420.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2131, allocations: 0 / 420.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2131, allocations: 0 / 420.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.2134, allocations: 0.7708 MB / 420.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.2135, allocations: 100.9 kB / 421 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2135, allocations: 12 kB / 421 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.2136, allocations: 0 / 421 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.2136, allocations: 15.92 kB / 421 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2136, allocations: 4 kB / 421 MB, free: 13.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.2137, allocations: 103.1 kB / 421.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2137, allocations: 0 / 421.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.2141, allocations: 64 kB / 421.2 MB, free: 13.02 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.0002448/0.2143, allocations: 171.2 kB / 421.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.2145, allocations: 79.91 kB / 421.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2145, allocations: 0 / 421.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/0.2145, allocations: 43.92 kB / 421.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.215, allocations: 48.2 kB / 421.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.2154, allocations: 392.1 kB / 421.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2156, allocations: 0.7009 MB / 422.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.2157, allocations: 25.09 kB / 422.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.2157, allocations: 23.42 kB / 422.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2157, allocations: 0 / 422.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of Templates: time 0.004354/0.2201, allocations: 2.538 MB / 425.2 MB, free: 8.984 MB / 298.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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