Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.4 kB / 17.16 MB, free: 6.297 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.001371/0.001371, allocations: 198 kB / 18.07 MB, free: 5.402 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.517/1.517, allocations: 205.1 MB / 223.9 MB, free: 12.5 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.001185/0.001185, allocations: 43.94 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1233, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.03479/0.1582, allocations: 25.14 MB / 351.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.1619, allocations: 2.542 MB / 354.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1622, allocations: 4 kB / 354.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.1628, allocations: 139.2 kB / 354.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.1634, allocations: 318.5 kB / 354.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.1659, allocations: 0.9317 MB / 355.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.1673, allocations: 1.351 MB / 357 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.1675, allocations: 80.67 kB / 357.1 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005334/0.1728, allocations: 3.371 MB / 360.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.1734, allocations: 294.8 kB / 360.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.1735, allocations: 16 kB / 360.8 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.1742, allocations: 223.6 kB / 361 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1743, allocations: 75.78 kB / 361.1 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.1745, allocations: 183.2 kB / 361.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006651/0.1752, allocations: 0.5648 MB / 361.8 MB, free: 1.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1752, allocations: 0 / 361.8 MB, free: 1.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1752, allocations: 8 kB / 361.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1752, allocations: 0 / 361.8 MB, free: 1.539 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.0009264/0.1761, allocations: 0.6082 MB / 362.4 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1762, allocations: 12.03 kB / 362.5 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.1766, allocations: 48.55 kB / 362.5 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.177, allocations: 295.5 kB / 362.8 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1771, allocations: 24.94 kB / 362.8 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.58e-05/0.1771, allocations: 32.31 kB / 362.8 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.1776, allocations: 334.4 kB / 363.2 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1777, allocations: 0 / 363.2 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.1777, allocations: 20 kB / 363.2 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1777, allocations: 8 kB / 363.2 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.1781, allocations: 185.6 kB / 363.4 MB, free: 15.86 MB / 318.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.002116/0.1802, allocations: 2.115 MB / 365.5 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.1805, allocations: 190.5 kB / 365.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1806, allocations: 84.78 kB / 365.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.1808, allocations: 255.5 kB / 366 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1809, allocations: 38.56 kB / 366 MB, free: 12.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.1809, allocations: 0 / 366 MB, free: 12.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002545/0.1834, allocations: 1.014 MB / 367.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1835, allocations: 63.41 kB / 367.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.1837, allocations: 262.6 kB / 367.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.1838, allocations: 33.69 kB / 367.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1839, allocations: 180.2 kB / 367.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.184, allocations: 102.5 kB / 367.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1841, allocations: 66.08 kB / 367.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1842, allocations: 350.7 kB / 368.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1844, allocations: 84.72 kB / 368.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1846, allocations: 170.6 kB / 368.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.185, allocations: 281.2 kB / 368.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.185, allocations: 0 / 368.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000617/0.1856, allocations: 377.6 kB / 369 MB, free: 9.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1856, allocations: 12.31 kB / 369 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1857, allocations: 4 kB / 369 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.1861, allocations: 92.72 kB / 369.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.1864, allocations: 67.91 kB / 369.2 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005666/0.187, allocations: 0.6615 MB / 369.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1872, allocations: 16.09 kB / 369.8 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.1872, allocations: 20.09 kB / 369.9 MB, free: 8.855 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.0001649/0.1874, allocations: 161.6 kB / 370 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.1874, allocations: 35.56 kB / 370.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.1881, allocations: 365 kB / 370.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1881, allocations: 4 kB / 370.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1881, allocations: 0 / 370.4 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005243/0.1887, allocations: 0.5553 MB / 371 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1898, allocations: 0.7439 MB / 371.7 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1898, allocations: 7.969 kB / 371.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1899, allocations: 35.98 kB / 371.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/0.1904, allocations: 96.72 kB / 371.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.1905, allocations: 7.984 kB / 371.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004973/0.191, allocations: 0.642 MB / 372.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.191, allocations: 4 kB / 372.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/0.1917, allocations: 493.6 kB / 373 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.1918, allocations: 100.9 kB / 373.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.1919, allocations: 8 kB / 373.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1921, allocations: 15.98 kB / 373.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1922, allocations: 15.98 kB / 373.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.1922, allocations: 11.98 kB / 373.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1924, allocations: 202 kB / 373.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1924, allocations: 0 / 373.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004587/0.1929, allocations: 115.9 kB / 373.4 MB, free: 5.008 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.0002832/0.1932, allocations: 143.1 kB / 373.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.1937, allocations: 243.5 kB / 373.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1937, allocations: 0 / 373.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.194, allocations: 128.6 kB / 373.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.195, allocations: 160.7 kB / 374.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1963, allocations: 0.7354 MB / 374.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1967, allocations: 0.7648 MB / 375.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.197, allocations: 75.16 kB / 375.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.1971, allocations: 35.38 kB / 375.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1971, allocations: 0 / 375.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of Templates: time 0.1807/0.3778, allocations: 6.693 MB / 382.4 MB, free: 56.75 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_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/Essotherm650/Essotherm650.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches