Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003536, allocations: 8 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08004/0.08042, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2695/0.35, allocations: 30.37 MB / 303 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.3531, allocations: 1.503 MB / 304.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004563/0.3536, allocations: 2.75 kB / 304.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007027/0.3543, allocations: 142 kB / 304.7 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.355, allocations: 208 kB / 304.9 MB, free: 9.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3561, allocations: 224.4 kB / 305.1 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3572, allocations: 470.6 kB / 305.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.3574, allocations: 71.86 kB / 305.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1918/0.5493, allocations: 70.3 MB / 375.9 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.5499, allocations: 166.1 kB / 376.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.55, allocations: 12 kB / 376.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.5502, allocations: 29.64 kB / 376.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.5504, allocations: 63.89 kB / 376.2 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.5505, allocations: 92.14 kB / 376.3 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.5511, allocations: 341.5 kB / 376.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5511, allocations: 0 / 376.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5511, allocations: 0 / 376.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.5511, allocations: 0 / 376.6 MB, free: 1.938 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001169/0.5523, allocations: 0.5287 MB / 377.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5523, allocations: 8.031 kB / 377.1 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.5527, allocations: 39.62 kB / 377.2 MB, free: 1.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.5532, allocations: 273.6 kB / 377.4 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.5532, allocations: 24.5 kB / 377.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.5533, allocations: 24.88 kB / 377.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.554, allocations: 298.9 kB / 377.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.554, allocations: 7.906 kB / 377.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.5541, allocations: 7 kB / 377.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.5541, allocations: 15.95 kB / 377.8 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.5546, allocations: 198.8 kB / 378 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.557, allocations: 1.423 MB / 379.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.5575, allocations: 176.6 kB / 379.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.5576, allocations: 2.922 kB / 379.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.5576, allocations: 39.86 kB / 379.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.096e-06/0.5576, allocations: 0 / 379.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.003832/0.5615, allocations: 1.014 MB / 380.7 MB, free: 14.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5615, allocations: 56.72 kB / 380.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.5619, allocations: 256.6 kB / 381 MB, free: 13.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.562, allocations: 32.95 kB / 381 MB, free: 13.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.5621, allocations: 180.6 kB / 381.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.5622, allocations: 91.95 kB / 381.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.5623, allocations: 4.75 kB / 381.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5624, allocations: 337.9 kB / 381.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.5627, allocations: 85.97 kB / 381.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.563, allocations: 178.7 kB / 381.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.5633, allocations: 119.5 kB / 382 MB, free: 13.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.5634, allocations: 4 kB / 382 MB, free: 13.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001124/0.5645, allocations: 382.9 kB / 382.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.5645, allocations: 8.625 kB / 382.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5645, allocations: 5.844 kB / 382.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.565, allocations: 70.78 kB / 382.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.5655, allocations: 69.38 kB / 382.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.5687, allocations: 2.681 MB / 385.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.5692, allocations: 26.66 kB / 385.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.5693, allocations: 15.12 kB / 385.2 MB, free: 9.871 MB / 314.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.0002446/0.5695, allocations: 154.2 kB / 385.4 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.5696, allocations: 27.7 kB / 385.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.925e-05/0.5697, allocations: 37.92 kB / 385.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009386/0.5707, allocations: 0.5637 MB / 386 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5707, allocations: 0 / 386 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5708, allocations: 99.77 kB / 386.1 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.821e-05/0.5709, allocations: 9.984 kB / 386.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.5713, allocations: 18.91 kB / 386.1 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.5714, allocations: 18.78 kB / 386.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001218/0.5726, allocations: 353.8 kB / 386.5 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009249/0.5735, allocations: 0.4976 MB / 387 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002264/0.5738, allocations: 94.58 kB / 387.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002841/0.5741, allocations: 182.6 kB / 387.3 MB, free: 8.09 MB / 314.7 MB Notification: Performance of Backend: time 1.022e-06/0.5741, allocations: 0 / 387.3 MB, free: 8.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.5753, allocations: 483.4 kB / 387.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of SimCode: time 0.002361/0.5777, allocations: 1.294 MB / 389 MB, free: 6.367 MB / 314.7 MB Notification: Performance of Templates: time 0.01485/0.5926, allocations: 4.836 MB / 393.9 MB, free: 1.582 MB / 314.7 MB