Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005109, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 44.52 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.02279/0.1411, allocations: 10.48 MB / 319.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.1452, allocations: 1.395 MB / 321 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.1456, allocations: 7.938 kB / 321 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.1465, allocations: 135.4 kB / 321.1 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008972/0.1475, allocations: 207.4 kB / 321.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1488, allocations: 227.5 kB / 321.5 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.15, allocations: 467.1 kB / 322 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.1503, allocations: 70.91 kB / 322 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.1518, allocations: 346.9 kB / 322.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/0.1523, allocations: 171.3 kB / 322.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.1524, allocations: 16 kB / 322.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.1527, allocations: 23.94 kB / 322.6 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1529, allocations: 67.78 kB / 322.7 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.153, allocations: 89.58 kB / 322.7 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007159/0.1538, allocations: 347.3 kB / 323.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1538, allocations: 0 / 323.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1538, allocations: 0 / 323.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1538, allocations: 0 / 323.1 MB, free: 2.285 MB / 266.7 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.001562/0.1554, allocations: 0.5224 MB / 323.6 MB, free: 1.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.1555, allocations: 8.031 kB / 323.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/0.1561, allocations: 43.61 kB / 323.7 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006468/0.1567, allocations: 274.5 kB / 323.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.1568, allocations: 16.56 kB / 323.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.1569, allocations: 27.94 kB / 324 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009782/0.1579, allocations: 299.7 kB / 324.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.158, allocations: 3.906 kB / 324.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.1581, allocations: 12 kB / 324.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.1581, allocations: 8 kB / 324.3 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/0.1589, allocations: 189.6 kB / 324.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.1624, allocations: 1.436 MB / 325.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.1632, allocations: 179.1 kB / 326.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.1633, allocations: 192 / 326.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.1633, allocations: 42.75 kB / 326.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.316e-06/0.1634, allocations: 0 / 326.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.005624/0.169, allocations: 1.009 MB / 327.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.1691, allocations: 51.41 kB / 327.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.1697, allocations: 262.5 kB / 327.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.1698, allocations: 33.69 kB / 327.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.17, allocations: 176.2 kB / 327.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.1701, allocations: 94.73 kB / 327.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1702, allocations: 8 kB / 327.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1704, allocations: 338.8 kB / 328.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.1708, allocations: 79.97 kB / 328.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.1713, allocations: 171.1 kB / 328.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.1718, allocations: 115.9 kB / 328.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1718, allocations: 0 / 328.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00167/0.1735, allocations: 390.9 kB / 328.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.1735, allocations: 7.953 kB / 328.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1736, allocations: 4 kB / 328.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.1742, allocations: 61.67 kB / 328.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.175, allocations: 71.91 kB / 329 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004309/0.1793, allocations: 2.682 MB / 331.6 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.18, allocations: 27.83 kB / 331.7 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.1801, allocations: 23.98 kB / 331.7 MB, free: 8.984 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003424/0.1805, allocations: 149.7 kB / 331.8 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.1806, allocations: 31.61 kB / 331.9 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1808, allocations: 38.17 kB / 331.9 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/0.1822, allocations: 0.5591 MB / 332.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1822, allocations: 4 kB / 332.5 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.1824, allocations: 100.8 kB / 332.6 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.1825, allocations: 4 kB / 332.6 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.1831, allocations: 19.89 kB / 332.6 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.934e-05/0.1832, allocations: 19.92 kB / 332.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001749/0.185, allocations: 345.7 kB / 332.9 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001362/0.1864, allocations: 0.5028 MB / 333.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003534/0.1868, allocations: 96.12 kB / 333.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003891/0.1872, allocations: 182 kB / 333.7 MB, free: 6.812 MB / 282.7 MB Notification: Performance of Backend: time 1.103e-06/0.1872, allocations: 0 / 333.7 MB, free: 6.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.1889, allocations: 484.4 kB / 334.2 MB, free: 6.309 MB / 282.7 MB Notification: Performance of SimCode: time 0.003406/0.1924, allocations: 1.294 MB / 335.5 MB, free: 4.977 MB / 282.7 MB Notification: Performance of Templates: time 0.02116/0.2136, allocations: 4.85 MB / 340.3 MB, free: 136 kB / 282.7 MB