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.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.0005532, allocations: 12 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1006, allocations: 38.78 MB / 272.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5029/0.6035, allocations: 148.5 MB / 421.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.6104, allocations: 3.237 MB / 424.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.6109, allocations: 7.938 kB / 424.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.6119, allocations: 195.1 kB / 424.6 MB, free: 6.691 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008802/0.6128, allocations: 251.3 kB / 424.8 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006251/0.619, allocations: 1.493 MB / 426.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.6205, allocations: 0.621 MB / 426.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.6209, allocations: 109.4 kB / 427 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.6244, allocations: 0.9633 MB / 428 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007363/0.6252, allocations: 283.1 kB / 428.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.6253, allocations: 28 kB / 428.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2938/0.9191, allocations: 2.983 MB / 431.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.9197, allocations: 181 kB / 431.5 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.92, allocations: 132.2 kB / 431.6 MB, free: 3.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.925, allocations: 1.557 MB / 433.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.925, allocations: 0 / 433.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.925, allocations: 0 / 433.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.9251, allocations: 0 / 433.1 MB, free: 3.703 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003642/0.9287, allocations: 0.9227 MB / 434.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.9288, allocations: 9.406 kB / 434.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005957/0.9294, allocations: 61.5 kB / 434.1 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/0.9303, allocations: 353.9 kB / 434.5 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.9303, allocations: 34.89 kB / 434.5 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.9305, allocations: 43.69 kB / 434.6 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.932, allocations: 0.4924 MB / 435 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.9321, allocations: 7.812 kB / 435.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.9322, allocations: 15.78 kB / 435.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.9322, allocations: 13.44 kB / 435.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.9339, allocations: 0.5969 MB / 435.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.9394, allocations: 1.994 MB / 437.7 MB, free: 17.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.9416, allocations: 0.5654 MB / 438.2 MB, free: 17.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008577/0.9425, allocations: 0.6902 MB / 438.9 MB, free: 17.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.9425, allocations: 42.16 kB / 439 MB, free: 16.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 4.408e-06/0.9425, allocations: 0 / 439 MB, free: 16.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02636/0.9689, allocations: 3.808 MB / 442.8 MB, free: 16.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.969, allocations: 60.5 kB / 442.8 MB, free: 16.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.9695, allocations: 293.9 kB / 443.1 MB, free: 16.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.9698, allocations: 33.58 kB / 443.2 MB, free: 16.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.9699, allocations: 199.9 kB / 443.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.9702, allocations: 226.8 kB / 443.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.9703, allocations: 12.19 kB / 443.6 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.9704, allocations: 347.1 kB / 443.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.9717, allocations: 322.5 kB / 444.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.9729, allocations: 383.5 kB / 444.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.9743, allocations: 357.4 kB / 445 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.9743, allocations: 0 / 445 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003725/0.9781, allocations: 0.9745 MB / 445.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.9781, allocations: 6.25 kB / 445.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.9781, allocations: 2.938 kB / 445.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.9811, allocations: 348.2 kB / 446.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.9823, allocations: 124.9 kB / 446.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/0.9878, allocations: 3.542 MB / 450 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.9891, allocations: 64.55 kB / 450 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.9893, allocations: 26.48 kB / 450 MB, free: 12.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004985/0.9898, allocations: 195.3 kB / 450.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.99, allocations: 42.66 kB / 450.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/0.9941, allocations: 1.038 MB / 451.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003576/0.9977, allocations: 1.082 MB / 452.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.9978, allocations: 6.891 kB / 452.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.9981, allocations: 124.6 kB / 452.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.9984, allocations: 25.73 kB / 452.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.9996, allocations: 56.66 kB / 452.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.9998, allocations: 38.44 kB / 452.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006747/1.007, allocations: 1.243 MB / 453.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003892/1.01, allocations: 1.334 MB / 455.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001094/1.012, allocations: 368.7 kB / 455.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003779/1.012, allocations: 221.6 kB / 455.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of Backend: time 7.21e-07/1.012, allocations: 0 / 455.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006414/1.018, allocations: 1.395 MB / 457.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of SimCode: time 0.003802/1.022, allocations: 1.791 MB / 459 MB, free: 9.398 MB / 362.7 MB Notification: Performance of Templates: time 0.05571/1.078, allocations: 23.04 MB / 482 MB, free: 12.23 MB / 378.7 MB