Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 176.8 kB / 16.41 MB, free: 5.73 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.266/1.266, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.0007563/0.0007563, allocations: 88.86 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.0002821, allocations: 8 kB / 327 MB, free: 176 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.01815/0.2033, allocations: 22.53 MB / 397.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.2055, allocations: 2.357 MB / 399.4 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.2057, allocations: 4 kB / 399.4 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.2061, allocations: 119.2 kB / 399.6 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.2067, allocations: 302.5 kB / 399.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.2083, allocations: 0.8814 MB / 400.7 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.2091, allocations: 1.117 MB / 401.9 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2093, allocations: 68.69 kB / 401.9 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.2127, allocations: 3.148 MB / 405.1 MB, free: 18.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.2131, allocations: 267 kB / 405.3 MB, free: 18.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.2131, allocations: 20 kB / 405.4 MB, free: 18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.2135, allocations: 211.6 kB / 405.6 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.2136, allocations: 79.7 kB / 405.6 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.2137, allocations: 89.58 kB / 405.7 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.2141, allocations: 442.9 kB / 406.2 MB, free: 17.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2141, allocations: 4 kB / 406.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2141, allocations: 0 / 406.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2141, allocations: 0 / 406.2 MB, free: 17.18 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005785/0.2147, allocations: 0.5612 MB / 406.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2147, allocations: 8.031 kB / 406.7 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.215, allocations: 51.59 kB / 406.8 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.2153, allocations: 282.4 kB / 407.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2153, allocations: 20.52 kB / 407.1 MB, free: 16.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2154, allocations: 31.98 kB / 407.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.2158, allocations: 338.2 kB / 407.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2158, allocations: 3.938 kB / 407.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.2159, allocations: 12 kB / 407.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2159, allocations: 8 kB / 407.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.2161, allocations: 189.5 kB / 407.6 MB, free: 15.57 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.001371/0.2175, allocations: 2.115 MB / 409.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.2177, allocations: 177.1 kB / 409.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.2179, allocations: 88.83 kB / 410 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.218, allocations: 247.3 kB / 410.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.218, allocations: 42.5 kB / 410.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.218, allocations: 0 / 410.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001973/0.22, allocations: 1.019 MB / 411.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.22, allocations: 59.34 kB / 411.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.2202, allocations: 258.6 kB / 411.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2202, allocations: 33.7 kB / 411.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.2203, allocations: 188.1 kB / 411.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.2203, allocations: 106.5 kB / 412 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.2204, allocations: 4 kB / 412 MB, free: 10.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.2204, allocations: 342.8 kB / 412.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2205, allocations: 88.7 kB / 412.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2207, allocations: 166.9 kB / 412.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.2208, allocations: 107.9 kB / 412.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2208, allocations: 4 kB / 412.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004355/0.2213, allocations: 381.6 kB / 413 MB, free: 9.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2213, allocations: 4 kB / 413 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2213, allocations: 4 kB / 413 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.2216, allocations: 92.8 kB / 413.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2218, allocations: 63.89 kB / 413.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003373/0.2222, allocations: 0.6618 MB / 413.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.2224, allocations: 23.89 kB / 413.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2224, allocations: 12 kB / 413.9 MB, free: 8.848 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.2225, allocations: 153.8 kB / 414 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.2226, allocations: 31.7 kB / 414.1 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.2231, allocations: 375.3 kB / 414.4 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2231, allocations: 7.953 kB / 414.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2231, allocations: 0 / 414.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003477/0.2235, allocations: 0.5592 MB / 415 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.2242, allocations: 0.7431 MB / 415.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2242, allocations: 0 / 415.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.2244, allocations: 43.91 kB / 415.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.2248, allocations: 96.78 kB / 415.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2248, allocations: 4 kB / 415.9 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003148/0.2252, allocations: 0.6459 MB / 416.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2252, allocations: 4.031 kB / 416.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.2257, allocations: 481.5 kB / 417 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.2258, allocations: 104.8 kB / 417.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.2258, allocations: 8 kB / 417.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.2261, allocations: 19.89 kB / 417.1 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.2261, allocations: 19.92 kB / 417.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2261, allocations: 20 kB / 417.2 MB, free: 5.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.2262, allocations: 198 kB / 417.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2263, allocations: 0 / 417.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.2266, allocations: 112.1 kB / 417.5 MB, free: 4.992 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001811/0.2268, allocations: 143.1 kB / 417.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.2272, allocations: 240.3 kB / 417.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2272, allocations: 0 / 417.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.2274, allocations: 131.7 kB / 418 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007994/0.2282, allocations: 153.8 kB / 418.1 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/0.2291, allocations: 0.7798 MB / 418.9 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2292, allocations: 0.7728 MB / 419.7 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.2293, allocations: 35.36 kB / 419.7 MB, free: 2.691 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2293, allocations: 0 / 419.7 MB, free: 2.691 MB / 298.7 MB Notification: Performance of Templates: time 0.007976/0.2373, allocations: 6.316 MB / 426 MB, free: 12.39 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches