Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,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.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005655/0.0005657, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.3271/0.4455, allocations: 38.96 MB / 311.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.4522, allocations: 3.803 MB / 315.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004962/0.4527, allocations: 6.5 kB / 315.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.4536, allocations: 183.5 kB / 315.6 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.4548, allocations: 254.8 kB / 315.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02338/0.4782, allocations: 4.652 MB / 320.5 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4796, allocations: 0.6207 MB / 321.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.4799, allocations: 110.6 kB / 321.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.4933, allocations: 5.956 MB / 327.2 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.4938, allocations: 270.9 kB / 327.4 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.4939, allocations: 25.81 kB / 327.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02053/0.5145, allocations: 8.228 MB / 335.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.5149, allocations: 179.6 kB / 335.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.5153, allocations: 129.5 kB / 336 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009477/0.5248, allocations: 3.413 MB / 339.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5248, allocations: 0 / 339.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5248, allocations: 0 / 339.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.5248, allocations: 0 / 339.4 MB, free: 10.41 MB / 266.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.004198/0.529, allocations: 1.228 MB / 340.6 MB, free: 9.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5291, allocations: 12.03 kB / 340.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004516/0.5296, allocations: 59.47 kB / 340.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.5303, allocations: 350.2 kB / 341 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.5304, allocations: 33 kB / 341.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5305, allocations: 43.98 kB / 341.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5324, allocations: 0.5256 MB / 341.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.5325, allocations: 0 / 341.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5326, allocations: 21.97 kB / 341.7 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.5326, allocations: 12 kB / 341.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.5348, allocations: 0.6519 MB / 342.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/0.5605, allocations: 12.04 MB / 354.4 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.5624, allocations: 0.649 MB / 355 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/0.5839, allocations: 10.76 MB / 365.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.584, allocations: 46.92 kB / 365.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 2.906e-06/0.584, allocations: 0 / 365.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.008611/0.5927, allocations: 2.04 MB / 367.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.5927, allocations: 59.97 kB / 367.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.5933, allocations: 322.8 kB / 368.2 MB, free: 9.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.233e-05/0.5934, allocations: 37.7 kB / 368.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.5936, allocations: 192.5 kB / 368.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.5938, allocations: 201.1 kB / 368.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.5939, allocations: 8 kB / 368.7 MB, free: 8.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5941, allocations: 354.8 kB / 369 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006168/0.5947, allocations: 213 kB / 369.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/0.5957, allocations: 318.5 kB / 369.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009626/0.5966, allocations: 272.7 kB / 369.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5967, allocations: 0 / 369.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002678/0.5993, allocations: 0.7084 MB / 370.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5994, allocations: 8.625 kB / 370.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.5994, allocations: 256 / 370.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000696/0.6001, allocations: 110.5 kB / 370.6 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009629/0.6011, allocations: 119.8 kB / 370.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.6045, allocations: 3.29 MB / 374 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.6053, allocations: 40.17 kB / 374.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/0.6054, allocations: 27.98 kB / 374.1 MB, free: 2.902 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003966/0.6058, allocations: 193.6 kB / 374.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.6062, allocations: 47.58 kB / 374.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.6085, allocations: 0.6968 MB / 375 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001787/0.6103, allocations: 0.7704 MB / 375.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.6103, allocations: 0 / 375.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.6106, allocations: 136.5 kB / 375.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6107, allocations: 12 kB / 375.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.6115, allocations: 35.88 kB / 376 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.6117, allocations: 32.52 kB / 376 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002344/0.614, allocations: 0.6675 MB / 376.7 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002693/0.6167, allocations: 0.9703 MB / 377.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007183/0.6175, allocations: 244.4 kB / 377.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004035/0.6179, allocations: 233.9 kB / 378.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of Backend: time 6.11e-07/0.6179, allocations: 0 / 378.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0104/0.6283, allocations: 2.177 MB / 380.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of SimCode: time 0.003531/0.6319, allocations: 1.7 MB / 382 MB, free: 10.78 MB / 314.7 MB Notification: Performance of Templates: time 0.1042/0.7361, allocations: 46.6 MB / 428.6 MB, free: 12.14 MB / 362.7 MB