Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003616, allocations: 11.98 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.899/2.003, allocations: 0.6361 GB / 0.9378 GB, free: 47.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/2.003, allocations: 83.33 kB / 0.9379 GB, free: 47.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.052/4.055, allocations: 473.6 MB / 1.4 GB, free: 85.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/4.055, allocations: 0 / 1.4 GB, free: 85.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.181e-05/4.055, allocations: 7.938 kB / 1.4 GB, free: 85.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001661/4.057, allocations: 0.7369 MB / 1.401 GB, free: 84.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/4.057, allocations: 8.031 kB / 1.401 GB, free: 84.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/4.058, allocations: 60.52 kB / 1.401 GB, free: 84.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/4.058, allocations: 290.3 kB / 1.402 GB, free: 83.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/4.058, allocations: 16.56 kB / 1.402 GB, free: 83.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/4.058, allocations: 28 kB / 1.402 GB, free: 83.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/4.059, allocations: 333.9 kB / 1.402 GB, free: 83.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/4.059, allocations: 0 / 1.402 GB, free: 83.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/4.059, allocations: 16 kB / 1.402 GB, free: 83.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/4.059, allocations: 8 kB / 1.402 GB, free: 83.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/4.06, allocations: 207.4 kB / 1.402 GB, free: 83.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/4.076, allocations: 5.475 MB / 1.407 GB, free: 78.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/4.076, allocations: 177.6 kB / 1.408 GB, free: 78.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01359/4.09, allocations: 3.442 MB / 1.411 GB, free: 75.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/4.09, allocations: 39.52 kB / 1.411 GB, free: 74.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.126e-06/4.09, allocations: 0 / 1.411 GB, free: 74.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.008092/4.098, allocations: 1.38 MB / 1.412 GB, free: 73.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/4.098, allocations: 55.41 kB / 1.412 GB, free: 73.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/4.099, allocations: 269.1 kB / 1.413 GB, free: 73.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/4.099, allocations: 33.7 kB / 1.413 GB, free: 73.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/4.099, allocations: 236 kB / 1.413 GB, free: 73.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/4.099, allocations: 105.4 kB / 1.413 GB, free: 73.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/4.099, allocations: 8 kB / 1.413 GB, free: 73.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.333e-05/4.099, allocations: 326.5 kB / 1.413 GB, free: 72.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/4.099, allocations: 94.59 kB / 1.413 GB, free: 72.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/4.1, allocations: 180.2 kB / 1.414 GB, free: 72.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/4.1, allocations: 122 kB / 1.414 GB, free: 72.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/4.1, allocations: 0 / 1.414 GB, free: 72.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009662/4.101, allocations: 371.4 kB / 1.414 GB, free: 71.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/4.101, allocations: 8.062 kB / 1.414 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/4.101, allocations: 4 kB / 1.414 GB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007524/4.108, allocations: 458.8 kB / 1.415 GB, free: 71.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/4.109, allocations: 68.19 kB / 1.415 GB, free: 71.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/4.111, allocations: 1.875 MB / 1.416 GB, free: 69.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/4.111, allocations: 20.09 kB / 1.416 GB, free: 69.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/4.111, allocations: 16 kB / 1.416 GB, free: 69.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002391/4.111, allocations: 156.7 kB / 1.417 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/4.112, allocations: 39.52 kB / 1.417 GB, free: 69.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000977/4.112, allocations: 491.2 kB / 1.417 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/4.113, allocations: 8 kB / 1.417 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/4.113, allocations: 0 / 1.417 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007848/4.113, allocations: 0.7197 MB / 1.418 GB, free: 68.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/4.115, allocations: 0.9597 MB / 1.419 GB, free: 67.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/4.115, allocations: 0 / 1.419 GB, free: 67.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/4.115, allocations: 49.56 kB / 1.419 GB, free: 67.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/4.118, allocations: 307.5 kB / 1.419 GB, free: 66.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/4.118, allocations: 8 kB / 1.419 GB, free: 66.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005989/4.119, allocations: 0.6433 MB / 1.42 GB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/4.119, allocations: 0 / 1.42 GB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/4.12, allocations: 0.7238 MB / 1.42 GB, free: 65.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/4.12, allocations: 96.86 kB / 1.421 GB, free: 65.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/4.12, allocations: 11.66 kB / 1.421 GB, free: 65.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/4.121, allocations: 27.86 kB / 1.421 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/4.121, allocations: 19.45 kB / 1.421 GB, free: 65.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/4.121, allocations: 8 kB / 1.421 GB, free: 65.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002586/4.121, allocations: 190 kB / 1.421 GB, free: 65.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/4.121, allocations: 0 / 1.421 GB, free: 65.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001286/4.122, allocations: 199.7 kB / 1.421 GB, free: 65.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/4.124, allocations: 479.8 kB / 1.421 GB, free: 64.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/4.125, allocations: 450.1 kB / 1.422 GB, free: 64.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/4.125, allocations: 0 / 1.422 GB, free: 64.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009004/4.126, allocations: 230.9 kB / 1.422 GB, free: 64.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/4.128, allocations: 163.8 kB / 1.422 GB, free: 63.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/4.13, allocations: 0.9901 MB / 1.423 GB, free: 62.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/4.13, allocations: 0.788 MB / 1.424 GB, free: 62.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/4.13, allocations: 31.44 kB / 1.424 GB, free: 62.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/4.13, allocations: 0 / 1.424 GB, free: 62.01 MB / 410.7 MB Notification: Performance of Templates: time 0.01765/4.148, allocations: 9.237 MB / 1.433 GB, free: 52.84 MB / 410.7 MB