Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07907/0.07945, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04898/0.1285, allocations: 30.47 MB / 338.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.1333, allocations: 1.503 MB / 340.3 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.1339, allocations: 7.938 kB / 340.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.1351, allocations: 143.3 kB / 340.5 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008207/0.136, allocations: 199.5 kB / 340.7 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1371, allocations: 231.4 kB / 340.9 MB, free: 416 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009298/0.138, allocations: 471.1 kB / 341.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.1383, allocations: 64.64 kB / 341.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4062/0.5445, allocations: 71.75 MB / 413.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.5449, allocations: 171.2 kB / 413.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.545, allocations: 16 kB / 413.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.5451, allocations: 18.38 kB / 413.4 MB, free: 14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.5452, allocations: 69.14 kB / 413.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.694e-05/0.5453, allocations: 90.58 kB / 413.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.5457, allocations: 342 kB / 413.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5458, allocations: 0 / 413.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.269e-06/0.5458, allocations: 0 / 413.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.945e-06/0.5458, allocations: 0 / 413.9 MB, free: 13.6 MB / 314.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.0007824/0.5466, allocations: 0.524 MB / 414.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.466e-05/0.5466, allocations: 12.03 kB / 414.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.547, allocations: 41.33 kB / 414.5 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.5473, allocations: 270 kB / 414.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.5473, allocations: 21.69 kB / 414.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.5474, allocations: 32.61 kB / 414.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.5479, allocations: 298.1 kB / 415.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.548, allocations: 0 / 415.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.548, allocations: 10.25 kB / 415.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.517e-06/0.548, allocations: 4 kB / 415.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.5484, allocations: 205.6 kB / 415.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.5501, allocations: 1.425 MB / 416.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.5505, allocations: 180.5 kB / 416.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.5506, allocations: 8.266 kB / 416.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5506, allocations: 37.98 kB / 416.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.104e-06/0.5507, allocations: 0 / 416.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.002747/0.5534, allocations: 1.007 MB / 417.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.5535, allocations: 59.41 kB / 418 MB, free: 9.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.5538, allocations: 256.3 kB / 418.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5538, allocations: 32.95 kB / 418.3 MB, free: 9.605 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.5539, allocations: 233.9 kB / 418.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.554, allocations: 93.81 kB / 418.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.554, allocations: 9.562 kB / 418.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.5541, allocations: 320.8 kB / 418.9 MB, free: 9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.5543, allocations: 83.22 kB / 419 MB, free: 8.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.5545, allocations: 183.6 kB / 419.2 MB, free: 8.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.5548, allocations: 107.7 kB / 419.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.199e-06/0.5548, allocations: 0 / 419.3 MB, free: 8.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008381/0.5557, allocations: 377 kB / 419.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5557, allocations: 8 kB / 419.7 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5557, allocations: 5.078 kB / 419.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.5561, allocations: 69.61 kB / 419.7 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.5564, allocations: 66.59 kB / 419.8 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.5585, allocations: 2.686 MB / 422.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.5589, allocations: 17.62 kB / 422.5 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.5589, allocations: 10.25 kB / 422.5 MB, free: 5.543 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.0001883/0.5591, allocations: 162.5 kB / 422.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.5592, allocations: 31.78 kB / 422.7 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.5593, allocations: 34.73 kB / 422.7 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5593, allocations: 4 kB / 422.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.736e-06/0.5593, allocations: 0 / 422.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006502/0.56, allocations: 0.5664 MB / 423.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5612, allocations: 0.7076 MB / 424 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.473e-06/0.5612, allocations: 4 kB / 424 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.5614, allocations: 39.64 kB / 424 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/0.5618, allocations: 59.44 kB / 424.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.5618, allocations: 7.906 kB / 424.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.563, allocations: 1.399 MB / 425.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.348e-06/0.563, allocations: 3.75 kB / 425.5 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.5639, allocations: 468 kB / 426 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.564, allocations: 100.7 kB / 426.1 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.564, allocations: 11.92 kB / 426.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.5643, allocations: 19.64 kB / 426.1 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.5644, allocations: 19.62 kB / 426.1 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.5644, allocations: 12.31 kB / 426.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.5647, allocations: 187.5 kB / 426.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.5647, allocations: 0 / 426.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005477/0.5652, allocations: 88.38 kB / 426.4 MB, free: 1.91 MB / 314.7 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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.5654, allocations: 103.1 kB / 426.5 MB, free: 1.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007965/0.5662, allocations: 480.9 kB / 427 MB, free: 1.402 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.6e-06/0.5662, allocations: 7.844 kB / 427 MB, free: 1.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.5666, allocations: 232.6 kB / 427.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5676, allocations: 149.8 kB / 427.4 MB, free: 1.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.569, allocations: 0.8522 MB / 428.2 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.5694, allocations: 0.7723 MB / 429 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5696, allocations: 27.44 kB / 429 MB, free: 15.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.614e-06/0.5696, allocations: 0 / 429 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Templates: time 0.01077/0.5803, allocations: 5.729 MB / 434.7 MB, free: 9.777 MB / 330.7 MB