Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.62/1.62, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003648, allocations: 8 kB / 233.1 MB, free: 3.078 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06903/0.06943, allocations: 38.78 MB / 271.9 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2612/0.3307, allocations: 38.95 MB / 310.9 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005849/0.3366, allocations: 3.81 MB / 314.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005403/0.3372, allocations: 5.75 kB / 314.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.3379, allocations: 181.6 kB / 314.9 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006785/0.3386, allocations: 259.8 kB / 315.1 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01623/0.3549, allocations: 4.662 MB / 319.8 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.3569, allocations: 0.6097 MB / 320.4 MB, free: 7.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.3573, allocations: 112.5 kB / 320.5 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/0.3733, allocations: 5.965 MB / 326.5 MB, free: 6.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006847/0.374, allocations: 275.9 kB / 326.7 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.3742, allocations: 27.03 kB / 326.8 MB, free: 5.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02974/0.4039, allocations: 8.224 MB / 335 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005307/0.4045, allocations: 171.6 kB / 335.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004049/0.405, allocations: 141.4 kB / 335.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.4181, allocations: 3.413 MB / 338.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.485e-06/0.4182, allocations: 0 / 338.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.368e-06/0.4182, allocations: 0 / 338.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4182, allocations: 0 / 338.7 MB, free: 10.71 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.004774/0.423, allocations: 1.23 MB / 339.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4231, allocations: 8.031 kB / 339.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.4235, allocations: 51.53 kB / 340 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.4242, allocations: 362 kB / 340.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.4243, allocations: 33 kB / 340.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4244, allocations: 40 kB / 340.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.4261, allocations: 0.5296 MB / 341 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.4262, allocations: 0 / 341 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.4263, allocations: 20 kB / 341 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.4263, allocations: 12 kB / 341 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.4282, allocations: 0.6441 MB / 341.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.449, allocations: 12.05 MB / 353.7 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.4506, allocations: 0.6473 MB / 354.3 MB, free: 8.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01716/0.4678, allocations: 10.76 MB / 365.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.316e-05/0.4679, allocations: 46.94 kB / 365.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.597e-06/0.4679, allocations: 0 / 365.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.007595/0.4756, allocations: 2.048 MB / 367.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4756, allocations: 55.97 kB / 367.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.4762, allocations: 320.9 kB / 367.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.3e-05/0.4762, allocations: 37.7 kB / 367.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.4765, allocations: 254.9 kB / 367.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.4767, allocations: 193.1 kB / 368 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.4768, allocations: 11.94 kB / 368 MB, free: 8.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.477, allocations: 346.8 kB / 368.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.4775, allocations: 217 kB / 368.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008739/0.4784, allocations: 314.5 kB / 368.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008717/0.4793, allocations: 264.8 kB / 369.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.875e-06/0.4793, allocations: 0 / 369.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00258/0.4819, allocations: 0.7012 MB / 369.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.482, allocations: 4 kB / 369.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.482, allocations: 4 kB / 369.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.4826, allocations: 102.5 kB / 370 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.4833, allocations: 119.8 kB / 370.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/0.4869, allocations: 3.291 MB / 373.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.4875, allocations: 36.05 kB / 373.4 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.4876, allocations: 27.98 kB / 373.4 MB, free: 3.191 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.0003843/0.488, allocations: 201.6 kB / 373.6 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.4884, allocations: 43.53 kB / 373.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.4904, allocations: 0.7006 MB / 374.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4904, allocations: 10.25 kB / 374.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.236e-06/0.4905, allocations: 0 / 374.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00166/0.4921, allocations: 0.7704 MB / 375.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.4955, allocations: 1.389 MB / 376.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.4956, allocations: 0 / 376.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.4962, allocations: 107.8 kB / 376.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.4975, allocations: 156.6 kB / 376.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.6e-05/0.4976, allocations: 19.98 kB / 376.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006144/0.4982, allocations: 0.6368 MB / 377.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.897e-06/0.4983, allocations: 7.984 kB / 377.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.5008, allocations: 0.954 MB / 378.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.501, allocations: 120.7 kB / 378.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.5011, allocations: 12 kB / 378.5 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.5017, allocations: 39.91 kB / 378.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.5018, allocations: 40.47 kB / 378.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.5019, allocations: 35.97 kB / 378.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003785/0.5023, allocations: 237.9 kB / 378.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5023, allocations: 4 kB / 378.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00405/0.5064, allocations: 1.269 MB / 380.2 MB, free: 12.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.006562/0.513, allocations: 1.551 MB / 381.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.5152, allocations: 0.7859 MB / 382.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.001e-06/0.5152, allocations: 0.5 kB / 382.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.5161, allocations: 307.9 kB / 382.8 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.5178, allocations: 281.8 kB / 383.1 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.5207, allocations: 1.391 MB / 384.5 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/0.5214, allocations: 0.8493 MB / 385.3 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/0.5217, allocations: 67.41 kB / 385.4 MB, free: 6.875 MB / 314.7 MB Notification: Performance of SimCode: time 1.542e-06/0.5217, allocations: 0 / 385.4 MB, free: 6.875 MB / 314.7 MB Notification: Performance of Templates: time 0.07048/0.5922, allocations: 37.59 MB / 423 MB, free: 1.25 MB / 346.7 MB