Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.745/1.745, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08105, allocations: 44.5 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.555/1.636, allocations: 0.6361 GB / 0.9373 GB, free: 71.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.636, allocations: 79.95 kB / 0.9374 GB, free: 71.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517/3.153, allocations: 473.6 MB / 1.4 GB, free: 92.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.954e-06/3.153, allocations: 0 / 1.4 GB, free: 92.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/3.153, allocations: 8.969 kB / 1.4 GB, free: 92.27 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.001355/3.154, allocations: 0.7388 MB / 1.401 GB, free: 91.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/3.154, allocations: 7.531 kB / 1.401 GB, free: 91.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005404/3.155, allocations: 57.64 kB / 1.401 GB, free: 91.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/3.155, allocations: 287.8 kB / 1.401 GB, free: 91.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/3.155, allocations: 22.88 kB / 1.401 GB, free: 91.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/3.155, allocations: 22.31 kB / 1.401 GB, free: 91.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/3.156, allocations: 338 kB / 1.401 GB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/3.156, allocations: 0.6562 kB / 1.401 GB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/3.156, allocations: 15 kB / 1.401 GB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/3.156, allocations: 6.688 kB / 1.401 GB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/3.156, allocations: 209.9 kB / 1.402 GB, free: 91.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/3.169, allocations: 5.471 MB / 1.407 GB, free: 88.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/3.169, allocations: 177.2 kB / 1.407 GB, free: 88.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009661/3.179, allocations: 3.445 MB / 1.41 GB, free: 85.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/3.179, allocations: 38.62 kB / 1.41 GB, free: 85.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.407e-06/3.179, allocations: 0 / 1.41 GB, free: 85.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.006831/3.186, allocations: 1.374 MB / 1.412 GB, free: 84.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/3.186, allocations: 55.41 kB / 1.412 GB, free: 84.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/3.186, allocations: 231.4 kB / 1.412 GB, free: 84.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/3.186, allocations: 33.58 kB / 1.412 GB, free: 84.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/3.186, allocations: 242.1 kB / 1.412 GB, free: 84.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/3.186, allocations: 95.94 kB / 1.412 GB, free: 84.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/3.186, allocations: 10.05 kB / 1.412 GB, free: 84.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.047e-05/3.186, allocations: 325 kB / 1.413 GB, free: 83.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/3.186, allocations: 95.89 kB / 1.413 GB, free: 83.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/3.187, allocations: 185.4 kB / 1.413 GB, free: 83.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/3.187, allocations: 117 kB / 1.413 GB, free: 83.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/3.187, allocations: 4 kB / 1.413 GB, free: 83.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008598/3.188, allocations: 374.5 kB / 1.414 GB, free: 83.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/3.188, allocations: 8.938 kB / 1.414 GB, free: 83.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.871e-06/3.188, allocations: 4 kB / 1.414 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004542/3.192, allocations: 450.6 kB / 1.414 GB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/3.193, allocations: 69 kB / 1.414 GB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/3.194, allocations: 1.881 MB / 1.416 GB, free: 80.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/3.195, allocations: 21.44 kB / 1.416 GB, free: 80.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/3.195, allocations: 18.33 kB / 1.416 GB, free: 80.89 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.0002108/3.195, allocations: 149.3 kB / 1.416 GB, free: 80.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/3.195, allocations: 35.64 kB / 1.416 GB, free: 80.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/3.196, allocations: 0.4926 MB / 1.417 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.465e-06/3.196, allocations: 4.938 kB / 1.417 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.352e-06/3.196, allocations: 0 / 1.417 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000705/3.197, allocations: 0.7172 MB / 1.417 GB, free: 79.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/3.198, allocations: 0.9605 MB / 1.418 GB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/3.198, allocations: 0 / 1.418 GB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/3.199, allocations: 45.62 kB / 1.418 GB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/3.2, allocations: 301.9 kB / 1.419 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/3.2, allocations: 7.703 kB / 1.419 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004598/3.201, allocations: 0.6399 MB / 1.419 GB, free: 78.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.805e-06/3.201, allocations: 3.953 kB / 1.419 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/3.202, allocations: 0.7443 MB / 1.42 GB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/3.202, allocations: 104.2 kB / 1.42 GB, free: 77.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/3.202, allocations: 7.953 kB / 1.42 GB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/3.203, allocations: 15.91 kB / 1.42 GB, free: 77.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/3.203, allocations: 19.08 kB / 1.42 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/3.203, allocations: 11.66 kB / 1.42 GB, free: 77.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002078/3.203, allocations: 186.2 kB / 1.42 GB, free: 77.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.57e-07/3.203, allocations: 4 kB / 1.42 GB, free: 77.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009904/3.204, allocations: 207 kB / 1.42 GB, free: 76.84 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.001285/3.205, allocations: 486.5 kB / 1.421 GB, free: 76.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009051/3.206, allocations: 440.2 kB / 1.421 GB, free: 76.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.233e-06/3.206, allocations: 4 kB / 1.421 GB, free: 76.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006363/3.207, allocations: 235.5 kB / 1.422 GB, free: 75.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/3.208, allocations: 169 kB / 1.422 GB, free: 75.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/3.209, allocations: 0.9776 MB / 1.423 GB, free: 74.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/3.209, allocations: 0.7871 MB / 1.423 GB, free: 74.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/3.21, allocations: 35.14 kB / 1.423 GB, free: 74.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.578e-06/3.21, allocations: 0 / 1.423 GB, free: 74.02 MB / 410.7 MB Notification: Performance of Templates: time 0.0133/3.223, allocations: 9.235 MB / 1.432 GB, free: 68.79 MB / 410.7 MB