Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008381/0.0008381, allocations: 179.2 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 223.3 MB / 241 MB, free: 10.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007177/0.0007177, allocations: 89.48 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002079/0.0002079, allocations: 11.94 kB / 351.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.167, allocations: 50.42 MB / 402.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.003481/0.1706, allocations: 4.31 MB / 406.5 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000484/0.1711, allocations: 0.5788 MB / 407.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.1711, allocations: 4 kB / 407.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1712, allocations: 27.83 kB / 407.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007375/0.172, allocations: 0.5084 MB / 407.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.1722, allocations: 84.88 kB / 407.7 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1723, allocations: 187.2 kB / 407.9 MB, free: 26.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.1724, allocations: 7.984 kB / 407.9 MB, free: 26.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.1731, allocations: 0.6708 MB / 408.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.1732, allocations: 47.83 kB / 408.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1732, allocations: 0 / 408.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/0.1741, allocations: 0.9064 MB / 409.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.1742, allocations: 19.92 kB / 409.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.1742, allocations: 33.7 kB / 409.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1744, allocations: 179.6 kB / 409.8 MB, free: 25.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1744, allocations: 0 / 409.8 MB, free: 25.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1744, allocations: 0 / 409.8 MB, free: 25.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.1744, allocations: 0 / 409.8 MB, free: 25.01 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.0002751/0.1747, allocations: 403.1 kB / 410.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.491e-05/0.1747, allocations: 12.03 kB / 410.2 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.1751, allocations: 27.88 kB / 410.2 MB, free: 24.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1752, allocations: 198.8 kB / 410.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1752, allocations: 4 kB / 410.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1752, allocations: 8 kB / 410.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1754, allocations: 148 kB / 410.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1754, allocations: 7.984 kB / 410.6 MB, free: 24.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1754, allocations: 4 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1754, allocations: 4 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1756, allocations: 107.8 kB / 410.7 MB, free: 24 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.0004468/0.176, allocations: 0.6646 MB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.1761, allocations: 86.42 kB / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.1762, allocations: 40.84 kB / 411.5 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.1765, allocations: 0.8037 MB / 412.3 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1766, allocations: 34.56 kB / 412.3 MB, free: 22.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1766, allocations: 0 / 412.3 MB, free: 22.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002037/0.1768, allocations: 129.2 kB / 412.4 MB, free: 21.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.499e-05/0.1768, allocations: 51.41 kB / 412.5 MB, free: 21.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.1769, allocations: 125.8 kB / 412.6 MB, free: 21.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1769, allocations: 33.7 kB / 412.6 MB, free: 21.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.1769, allocations: 95.88 kB / 412.7 MB, free: 21.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1769, allocations: 51.34 kB / 412.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.1769, allocations: 0 / 412.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.049e-05/0.177, allocations: 314.8 kB / 413.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.177, allocations: 27.98 kB / 413.1 MB, free: 21.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.675e-05/0.1771, allocations: 73.12 kB / 413.2 MB, free: 21.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.1771, allocations: 28 kB / 413.2 MB, free: 21.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1771, allocations: 4 kB / 413.2 MB, free: 21.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001503/0.1773, allocations: 141.4 kB / 413.3 MB, free: 20.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.1773, allocations: 6.5 kB / 413.3 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1773, allocations: 0 / 413.3 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1773, allocations: 4 kB / 413.4 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1774, allocations: 35.92 kB / 413.4 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1774, allocations: 4.375 kB / 413.4 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.1775, allocations: 15.84 kB / 413.4 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1775, allocations: 11.95 kB / 413.4 MB, free: 20.9 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.243e-05/0.1776, allocations: 125.9 kB / 413.5 MB, free: 20.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.1776, allocations: 15.83 kB / 413.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1778, allocations: 126.3 kB / 413.7 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1779, allocations: 11.88 kB / 413.7 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1779, allocations: 0 / 413.7 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1779, allocations: 7.969 kB / 413.7 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.1782, allocations: 398.1 kB / 414.1 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1782, allocations: 0 / 414.1 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.1782, allocations: 23.98 kB / 414.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1783, allocations: 0 / 414.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1783, allocations: 3.938 kB / 414.1 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1783, allocations: 7.984 kB / 414.1 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1783, allocations: 0 / 414.1 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.1784, allocations: 207.4 kB / 414.3 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.1784, allocations: 96.94 kB / 414.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1785, allocations: 4 kB / 414.4 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/0.1786, allocations: 4 kB / 414.4 MB, free: 19.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.1786, allocations: 7.984 kB / 414.4 MB, free: 19.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1786, allocations: 4 kB / 414.4 MB, free: 19.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.715e-05/0.1786, allocations: 95.22 kB / 414.5 MB, free: 19.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1786, allocations: 0 / 414.5 MB, free: 19.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.1789, allocations: 59.98 kB / 414.6 MB, free: 19.62 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.0002057/0.1791, allocations: 167.1 kB / 414.8 MB, free: 19.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.1792, allocations: 79.91 kB / 414.8 MB, free: 19.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1793, allocations: 0 / 414.8 MB, free: 19.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.1793, allocations: 39.92 kB / 414.9 MB, free: 19.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.1797, allocations: 44.55 kB / 414.9 MB, free: 19.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.18, allocations: 328.5 kB / 415.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.311e-05/0.1801, allocations: 0.6931 MB / 415.9 MB, free: 18.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.1802, allocations: 23.44 kB / 416 MB, free: 18.19 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1802, allocations: 0 / 416 MB, free: 18.19 MB / 298.7 MB Notification: Performance of Templates: time 0.002765/0.183, allocations: 2.183 MB / 418.1 MB, free: 16.02 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches