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.Air.MoistAir.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.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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 15.98 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08934, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5338/0.6232, allocations: 148.6 MB / 457.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006642/0.6298, allocations: 3.261 MB / 460.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.6303, allocations: 7.938 kB / 460.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.6312, allocations: 187.2 kB / 461.1 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007299/0.632, allocations: 263.2 kB / 461.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005968/0.638, allocations: 1.492 MB / 462.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.6393, allocations: 0.621 MB / 463.5 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.6396, allocations: 103.8 kB / 463.6 MB, free: 316 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.643, allocations: 0.9633 MB / 464.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.6437, allocations: 291.1 kB / 464.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.6438, allocations: 24 kB / 464.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007917/0.6518, allocations: 3.015 MB / 467.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.6523, allocations: 179.6 kB / 468 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.6525, allocations: 133.5 kB / 468.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.6568, allocations: 1.555 MB / 469.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6568, allocations: 0 / 469.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6568, allocations: 0 / 469.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.6569, allocations: 4 kB / 469.7 MB, free: 10.14 MB / 362.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.002785/0.6597, allocations: 0.9201 MB / 470.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6597, allocations: 8.031 kB / 470.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000449/0.6602, allocations: 63.42 kB / 470.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.6609, allocations: 354.1 kB / 471 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.661, allocations: 32.94 kB / 471.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.6611, allocations: 44 kB / 471.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6625, allocations: 0.4983 MB / 471.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6626, allocations: 0 / 471.6 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.6627, allocations: 24 kB / 471.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.6627, allocations: 12 kB / 471.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.6643, allocations: 0.5973 MB / 472.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.6693, allocations: 2.171 MB / 474.4 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.6713, allocations: 0.5593 MB / 475 MB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.672, allocations: 0.6931 MB / 475.7 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.6721, allocations: 47 kB / 475.7 MB, free: 3.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.476e-06/0.6721, allocations: 4 kB / 475.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02584/0.698, allocations: 3.79 MB / 479.5 MB, free: 15.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.698, allocations: 67.91 kB / 479.6 MB, free: 15.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.6986, allocations: 294.7 kB / 479.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.6987, allocations: 37.7 kB / 479.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.6989, allocations: 201.1 kB / 480.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.6992, allocations: 220.8 kB / 480.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.6993, allocations: 12 kB / 480.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6994, allocations: 346.8 kB / 480.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.7007, allocations: 321.1 kB / 481 MB, free: 14.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.702, allocations: 384.2 kB / 481.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.7034, allocations: 355.1 kB / 481.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7034, allocations: 0 / 481.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00378/0.7072, allocations: 0.9717 MB / 482.7 MB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.7073, allocations: 7.984 kB / 482.7 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.7073, allocations: 4 kB / 482.7 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/0.7102, allocations: 354.3 kB / 483 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.7114, allocations: 119.8 kB / 483.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.717, allocations: 3.541 MB / 486.7 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.7182, allocations: 63.89 kB / 486.8 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.7183, allocations: 31.98 kB / 486.8 MB, free: 8.105 MB / 378.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.0004315/0.7188, allocations: 197.7 kB / 487 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.719, allocations: 39.53 kB / 487 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.7233, allocations: 1.044 MB / 488.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003633/0.727, allocations: 1.079 MB / 489.1 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.727, allocations: 0 / 489.1 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.7272, allocations: 120.6 kB / 489.3 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.7274, allocations: 27.89 kB / 489.3 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.7286, allocations: 63.86 kB / 489.3 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7288, allocations: 40.5 kB / 489.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007273/0.7361, allocations: 1.237 MB / 490.6 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004088/0.7402, allocations: 1.33 MB / 492 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001233/0.7415, allocations: 372.3 kB / 492.3 MB, free: 2.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004006/0.7419, allocations: 221.9 kB / 492.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of Backend: time 5.51e-07/0.7419, allocations: 0 / 492.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00595/0.7479, allocations: 1.393 MB / 493.9 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of SimCode: time 0.003823/0.7517, allocations: 1.789 MB / 495.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of Templates: time 0.05666/0.8084, allocations: 23.06 MB / 0.5066 GB, free: 7.891 MB / 410.7 MB