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.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09091, allocations: 44.51 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05134/0.1423, allocations: 30.48 MB / 339.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1453, allocations: 1.491 MB / 341 MB, free: 292 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.1455, allocations: 4 kB / 341.1 MB, free: 288 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.1462, allocations: 139.3 kB / 341.2 MB, free: 148 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005949/0.1468, allocations: 211.4 kB / 341.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009305/0.1478, allocations: 219.6 kB / 341.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007826/0.1486, allocations: 471 kB / 342.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.1488, allocations: 74.86 kB / 342.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4218/0.5707, allocations: 71.68 MB / 413.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.5712, allocations: 167.3 kB / 414 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.5713, allocations: 12 kB / 414 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.5714, allocations: 27.8 kB / 414 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.5716, allocations: 69.36 kB / 414.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.5717, allocations: 89.67 kB / 414.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.5721, allocations: 335.8 kB / 414.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5721, allocations: 4 kB / 414.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5721, allocations: 0 / 414.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.5722, allocations: 0 / 414.5 MB, free: 12.96 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.0009802/0.5731, allocations: 0.5282 MB / 415 MB, free: 12.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5732, allocations: 8.031 kB / 415.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.5735, allocations: 49.33 kB / 415.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.5739, allocations: 268.4 kB / 415.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.574, allocations: 18.19 kB / 415.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/0.5741, allocations: 28.73 kB / 415.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006076/0.5747, allocations: 297.7 kB / 415.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5747, allocations: 4 kB / 415.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.5748, allocations: 13.25 kB / 415.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5748, allocations: 4 kB / 415.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.5753, allocations: 199.3 kB / 415.9 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.5772, allocations: 1.429 MB / 417.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.5777, allocations: 176.5 kB / 417.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.5777, allocations: 5.125 kB / 417.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.5778, allocations: 38.08 kB / 417.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.086e-06/0.5778, allocations: 0 / 417.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.00364/0.5814, allocations: 1.015 MB / 418.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.5815, allocations: 55.41 kB / 418.6 MB, free: 9.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.5818, allocations: 261.4 kB / 418.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.5819, allocations: 33.64 kB / 418.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.582, allocations: 175.3 kB / 419.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.5821, allocations: 94.11 kB / 419.2 MB, free: 8.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.5821, allocations: 5.812 kB / 419.2 MB, free: 8.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.5822, allocations: 347 kB / 419.5 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.5824, allocations: 84.03 kB / 419.6 MB, free: 8.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.5827, allocations: 168.8 kB / 419.8 MB, free: 8.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.583, allocations: 111.2 kB / 419.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.583, allocations: 7.844 kB / 419.9 MB, free: 8.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001019/0.584, allocations: 385.3 kB / 420.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5841, allocations: 8 kB / 420.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5841, allocations: 4.375 kB / 420.3 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.5845, allocations: 64.3 kB / 420.3 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.585, allocations: 69.53 kB / 420.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.5874, allocations: 2.686 MB / 423.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.5879, allocations: 15.19 kB / 423.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.5879, allocations: 15.75 kB / 423.1 MB, free: 4.934 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.0002005/0.5882, allocations: 161.1 kB / 423.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.5882, allocations: 27.72 kB / 423.3 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.903e-05/0.5883, allocations: 35.36 kB / 423.3 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007585/0.5891, allocations: 0.5581 MB / 423.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5891, allocations: 0 / 423.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.5892, allocations: 108.7 kB / 424 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.5893, allocations: 7.25 kB / 424 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.5897, allocations: 15.19 kB / 424 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.5897, allocations: 19.22 kB / 424 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00111/0.5909, allocations: 351.9 kB / 424.4 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000764/0.5916, allocations: 0.5005 MB / 424.9 MB, free: 3.352 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002021/0.5919, allocations: 100.2 kB / 425 MB, free: 3.293 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.5921, allocations: 183.5 kB / 425.2 MB, free: 3.145 MB / 314.7 MB Notification: Performance of Backend: time 6.01e-07/0.5921, allocations: 4 kB / 425.2 MB, free: 3.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.5932, allocations: 477 kB / 425.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of SimCode: time 0.002002/0.5952, allocations: 1.285 MB / 426.9 MB, free: 1.449 MB / 314.7 MB Notification: Performance of Templates: time 0.01441/0.6097, allocations: 4.849 MB / 431.8 MB, free: 12.66 MB / 330.7 MB