Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 103.8 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 47.92 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1169, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.03059/0.1475, allocations: 25.15 MB / 351.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.1512, allocations: 2.546 MB / 354.3 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.1516, allocations: 7.938 kB / 354.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.1524, allocations: 131.3 kB / 354.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.1533, allocations: 322.4 kB / 354.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.1561, allocations: 0.8849 MB / 355.6 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.1579, allocations: 1.359 MB / 357 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.1582, allocations: 72.7 kB / 357.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006438/0.1646, allocations: 2.981 MB / 360.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.1654, allocations: 290.8 kB / 360.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.1655, allocations: 16 kB / 360.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.1663, allocations: 215.6 kB / 360.6 MB, free: 2.801 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1664, allocations: 87.7 kB / 360.7 MB, free: 2.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.1666, allocations: 183.2 kB / 360.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.1674, allocations: 0.557 MB / 361.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.1674, allocations: 4 kB / 361.4 MB, free: 1.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1674, allocations: 3.938 kB / 361.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1674, allocations: 4 kB / 361.4 MB, free: 1.965 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009833/0.1684, allocations: 0.6199 MB / 362 MB, free: 1.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1685, allocations: 11.97 kB / 362 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.1689, allocations: 48.55 kB / 362.1 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.1693, allocations: 295.5 kB / 362.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1693, allocations: 20.94 kB / 362.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.1694, allocations: 28.38 kB / 362.4 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.17, allocations: 330.4 kB / 362.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.17, allocations: 0 / 362.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1701, allocations: 15.98 kB / 362.8 MB, free: 500 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1701, allocations: 12 kB / 362.8 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.1705, allocations: 193.5 kB / 363 MB, free: 292 kB / 302.1 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.002691/0.1732, allocations: 2.111 MB / 365.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.1736, allocations: 186.4 kB / 365.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1737, allocations: 88.77 kB / 365.3 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.1739, allocations: 251.5 kB / 365.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.174, allocations: 38.56 kB / 365.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.332e-06/0.174, allocations: 3.938 kB / 365.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002833/0.1768, allocations: 1.018 MB / 366.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1769, allocations: 55.41 kB / 366.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.1772, allocations: 262.6 kB / 367 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.1773, allocations: 37.7 kB / 367 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1774, allocations: 176.2 kB / 367.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.1776, allocations: 106.5 kB / 367.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1777, allocations: 70.06 kB / 367.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1779, allocations: 346.8 kB / 367.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1781, allocations: 84.7 kB / 367.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1783, allocations: 170.6 kB / 367.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.1787, allocations: 281.2 kB / 368.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1787, allocations: 0 / 368.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008576/0.1796, allocations: 381.5 kB / 368.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1796, allocations: 4.312 kB / 368.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1796, allocations: 8 kB / 368.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.1801, allocations: 104.7 kB / 368.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1804, allocations: 67.91 kB / 368.7 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006625/0.1811, allocations: 0.646 MB / 369.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.1813, allocations: 20.06 kB / 369.4 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.1813, allocations: 23.97 kB / 369.4 MB, free: 9.273 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.1815, allocations: 149.7 kB / 369.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.1816, allocations: 35.56 kB / 369.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006277/0.1823, allocations: 373 kB / 370 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1823, allocations: 4 kB / 370 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1823, allocations: 0 / 370 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000626/0.1829, allocations: 0.5553 MB / 370.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.1842, allocations: 0.74 MB / 371.3 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1842, allocations: 4.062 kB / 371.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.1844, allocations: 43.91 kB / 371.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.1849, allocations: 100.7 kB / 371.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1849, allocations: 4 kB / 371.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005517/0.1855, allocations: 0.642 MB / 372.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1855, allocations: 4.031 kB / 372.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.1862, allocations: 485.3 kB / 372.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.1863, allocations: 104.9 kB / 372.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.1864, allocations: 12.06 kB / 372.7 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1867, allocations: 12 kB / 372.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1867, allocations: 15.97 kB / 372.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.1868, allocations: 19.98 kB / 372.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.1871, allocations: 194 kB / 372.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1871, allocations: 0 / 372.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000488/0.1876, allocations: 111.9 kB / 373 MB, free: 5.438 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003243/0.1879, allocations: 151.1 kB / 373.2 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005508/0.1884, allocations: 239.7 kB / 373.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1885, allocations: 0 / 373.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.1887, allocations: 120.8 kB / 373.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.1898, allocations: 164.7 kB / 373.7 MB, free: 4.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1911, allocations: 0.7434 MB / 374.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007809/0.1919, allocations: 0.7648 MB / 375.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.1922, allocations: 63.19 kB / 375.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.1923, allocations: 35.41 kB / 375.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1923, allocations: 0 / 375.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of Templates: time 0.1787/0.371, allocations: 6.685 MB / 382 MB, free: 56.79 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches