Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001476, 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.001572/0.001572, 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.412/1.412, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.002086/0.002086, allocations: 47.92 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1334, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01951/0.1529, allocations: 15.99 MB / 342.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.1558, allocations: 1.912 MB / 344.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.1561, allocations: 4 kB / 344.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006707/0.1568, allocations: 151.2 kB / 344.7 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007042/0.1575, allocations: 298.5 kB / 345 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.1582, allocations: 267.5 kB / 345.2 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.1594, allocations: 1.297 MB / 346.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1596, allocations: 72.67 kB / 346.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/0.1604, allocations: 454.2 kB / 347 MB, free: 384 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.1608, allocations: 282.9 kB / 347.3 MB, free: 100 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1609, allocations: 20 kB / 347.3 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.161, allocations: 27.98 kB / 347.4 MB, free: 52 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1611, allocations: 79.72 kB / 347.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1613, allocations: 171.2 kB / 347.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1617, allocations: 418.9 kB / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1617, allocations: 0 / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1617, allocations: 0 / 348 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1618, allocations: 3.938 kB / 348 MB, free: 15.39 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009907/0.1628, allocations: 0.5926 MB / 348.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1628, allocations: 12.03 kB / 348.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.1631, allocations: 36.64 kB / 348.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1634, allocations: 279.8 kB / 348.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1635, allocations: 20.88 kB / 348.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.1635, allocations: 28.38 kB / 349 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.164, allocations: 303.9 kB / 349.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.164, allocations: 3.938 kB / 349.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.1641, allocations: 12 kB / 349.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1641, allocations: 8 kB / 349.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.1644, allocations: 205.5 kB / 349.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.1661, allocations: 1.428 MB / 350.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.1664, allocations: 178.5 kB / 351.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.1666, allocations: 88.92 kB / 351.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1666, allocations: 0 / 351.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1666, allocations: 42.5 kB / 351.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.1667, allocations: 0 / 351.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002574/0.1692, allocations: 0.992 MB / 352.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1693, allocations: 55.34 kB / 352.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.1696, allocations: 262.6 kB / 352.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1696, allocations: 33.7 kB / 352.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1697, allocations: 180.1 kB / 352.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.1698, allocations: 94.66 kB / 352.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1699, allocations: 65.39 kB / 352.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1701, allocations: 334.8 kB / 353.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1702, allocations: 83.97 kB / 353.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1704, allocations: 182.9 kB / 353.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.1708, allocations: 295 kB / 353.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1708, allocations: 0 / 353.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00066/0.1715, allocations: 383 kB / 354.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1715, allocations: 8.062 kB / 354.2 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1715, allocations: 4 kB / 354.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.1718, allocations: 61.67 kB / 354.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.1721, allocations: 63.91 kB / 354.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.1745, allocations: 2.677 MB / 357 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1748, allocations: 20 kB / 357 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.1748, allocations: 12.06 kB / 357 MB, free: 5.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.1751, allocations: 153.8 kB / 357.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.1751, allocations: 31.66 kB / 357.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.99e-05/0.1752, allocations: 34.17 kB / 357.2 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1752, allocations: 15.81 kB / 357.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1752, allocations: 0 / 357.2 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006622/0.1759, allocations: 0.5631 MB / 357.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.177, allocations: 0.6989 MB / 358.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.177, allocations: 4 kB / 358.5 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.1772, allocations: 43.97 kB / 358.5 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.1775, allocations: 56.73 kB / 358.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.1775, allocations: 19.92 kB / 358.6 MB, free: 3.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.1787, allocations: 1.374 MB / 360 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1787, allocations: 0 / 360 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.1794, allocations: 481 kB / 360.4 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/0.1795, allocations: 100.9 kB / 360.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.1796, allocations: 3.984 kB / 360.5 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1798, allocations: 19.88 kB / 360.6 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.1799, allocations: 23.91 kB / 360.6 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1799, allocations: 8 kB / 360.6 MB, free: 1.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.1801, allocations: 186 kB / 360.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1801, allocations: 4.062 kB / 360.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004296/0.1806, allocations: 88 kB / 360.9 MB, free: 1.449 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.1807, allocations: 100.6 kB / 361 MB, free: 1.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000898/0.1816, allocations: 485.9 kB / 361.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1817, allocations: 0 / 361.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.182, allocations: 238.5 kB / 361.7 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.1832, allocations: 152.5 kB / 361.8 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.1845, allocations: 0.7904 MB / 362.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1848, allocations: 0.7645 MB / 363.4 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.1851, allocations: 50.95 kB / 363.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.1852, allocations: 31.42 kB / 363.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1852, allocations: 0 / 363.5 MB, free: 14.76 MB / 318.1 MB Notification: Performance of Templates: time 0.01004/0.1953, allocations: 5.419 MB / 368.9 MB, free: 9.348 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches