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.Air.SimpleAir.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.Air.SimpleAir,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.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.601/1.601, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08029/0.08065, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4054/0.4861, allocations: 121.8 MB / 394.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.4893, allocations: 1.5 MB / 395.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.4896, allocations: 4 kB / 395.9 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007128/0.4903, allocations: 147.3 kB / 396 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.491, allocations: 223.3 kB / 396.3 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.4924, allocations: 328 kB / 396.6 MB, free: 2.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008352/0.4932, allocations: 486.9 kB / 397.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.4935, allocations: 80.11 kB / 397.1 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007591/0.4942, allocations: 303.1 kB / 397.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004801/0.4947, allocations: 219.3 kB / 397.6 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.4948, allocations: 16 kB / 397.7 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.4953, allocations: 87.88 kB / 397.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.4954, allocations: 75.77 kB / 397.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.4956, allocations: 97.52 kB / 397.9 MB, free: 1.066 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.4962, allocations: 382.6 kB / 398.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.4962, allocations: 0 / 398.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4962, allocations: 4 kB / 398.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.4962, allocations: 0 / 398.3 MB, free: 0.6914 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.0009822/0.4972, allocations: 0.53 MB / 398.8 MB, free: 116 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4973, allocations: 8.031 kB / 398.8 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.4977, allocations: 39.7 kB / 398.9 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.4982, allocations: 278.5 kB / 399.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.4982, allocations: 24.56 kB / 399.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.4983, allocations: 24 kB / 399.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.4991, allocations: 297.3 kB / 399.5 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4991, allocations: 4 kB / 399.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.4992, allocations: 12 kB / 399.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4992, allocations: 7.953 kB / 399.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.4997, allocations: 203 kB / 399.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.5023, allocations: 1.289 MB / 401 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.5029, allocations: 191.2 kB / 401.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.5031, allocations: 174.3 kB / 401.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.5032, allocations: 38.75 kB / 401.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.465e-06/0.5032, allocations: 0 / 401.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003956/0.5072, allocations: 1.038 MB / 402.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.5072, allocations: 55.41 kB / 402.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.5076, allocations: 258.6 kB / 402.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.5077, allocations: 33.64 kB / 402.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5079, allocations: 184.1 kB / 402.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.508, allocations: 86.66 kB / 403 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.508, allocations: 8 kB / 403 MB, free: 11.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5082, allocations: 338.8 kB / 403.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.5084, allocations: 75.97 kB / 403.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.5088, allocations: 187.5 kB / 403.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.5091, allocations: 112 kB / 403.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.5091, allocations: 7.938 kB / 403.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009936/0.5101, allocations: 439.8 kB / 404.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5102, allocations: 5.031 kB / 404.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.5102, allocations: 9.062 kB / 404.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.5104, allocations: 37.7 kB / 404.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.511, allocations: 75.91 kB / 404.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.5136, allocations: 2.58 MB / 406.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.514, allocations: 23.98 kB / 406.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.5141, allocations: 12 kB / 406.9 MB, free: 7.312 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.5144, allocations: 161.9 kB / 407.1 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.5145, allocations: 23.72 kB / 407.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008482/0.5153, allocations: 358.7 kB / 407.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007941/0.5161, allocations: 0.619 MB / 408.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.5162, allocations: 0 / 408.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5163, allocations: 112.8 kB / 408.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.5164, allocations: 8 kB / 408.2 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.5168, allocations: 7.984 kB / 408.2 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.5169, allocations: 19.98 kB / 408.2 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001158/0.518, allocations: 333.6 kB / 408.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000905/0.519, allocations: 486.3 kB / 409 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002289/0.5192, allocations: 100.5 kB / 409.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.5195, allocations: 178 kB / 409.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of Backend: time 6.51e-07/0.5195, allocations: 0 / 409.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.5207, allocations: 496.2 kB / 409.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of SimCode: time 0.002461/0.5232, allocations: 1.287 MB / 411.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of Templates: time 0.01567/0.5389, allocations: 5.228 MB / 416.3 MB, free: 13.68 MB / 346.7 MB