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.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.616/1.616, allocations: 171.2 MB / 186.7 MB, free: 1.008 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003786, allocations: 8 kB / 233.2 MB, free: 3 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07053/0.07093, allocations: 38.77 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.694/1.764, allocations: 0.6308 GB / 0.8965 GB, free: 90.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.765, allocations: 78.8 kB / 0.8965 GB, free: 90.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552/3.317, allocations: 473.6 MB / 1.359 GB, free: 76.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.571e-06/3.317, allocations: 0 / 1.359 GB, free: 76.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/3.317, allocations: 4 kB / 1.359 GB, free: 76.3 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001286/3.318, allocations: 0.7259 MB / 1.36 GB, free: 75.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/3.318, allocations: 16.03 kB / 1.36 GB, free: 75.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/3.318, allocations: 57.67 kB / 1.36 GB, free: 75.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/3.319, allocations: 290.2 kB / 1.36 GB, free: 75.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/3.319, allocations: 20.56 kB / 1.36 GB, free: 75.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/3.319, allocations: 27.95 kB / 1.36 GB, free: 75.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/3.319, allocations: 336.5 kB / 1.36 GB, free: 74.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/3.32, allocations: 0 / 1.36 GB, free: 74.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/3.32, allocations: 12 kB / 1.361 GB, free: 74.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/3.32, allocations: 11.56 kB / 1.361 GB, free: 74.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/3.32, allocations: 210.8 kB / 1.361 GB, free: 74.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/3.331, allocations: 5.468 MB / 1.366 GB, free: 69.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/3.331, allocations: 176.3 kB / 1.366 GB, free: 69.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009077/3.341, allocations: 3.456 MB / 1.37 GB, free: 66.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/3.341, allocations: 34.75 kB / 1.37 GB, free: 66.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.384e-06/3.341, allocations: 4 kB / 1.37 GB, free: 66.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.006854/3.348, allocations: 1.374 MB / 1.371 GB, free: 64.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/3.348, allocations: 51.41 kB / 1.371 GB, free: 64.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/3.348, allocations: 237.6 kB / 1.371 GB, free: 64.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/3.348, allocations: 29.7 kB / 1.371 GB, free: 64.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/3.348, allocations: 238.6 kB / 1.372 GB, free: 64.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/3.348, allocations: 98.64 kB / 1.372 GB, free: 64.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/3.348, allocations: 4 kB / 1.372 GB, free: 64.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.107e-05/3.348, allocations: 328 kB / 1.372 GB, free: 63.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/3.348, allocations: 87.97 kB / 1.372 GB, free: 63.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/3.349, allocations: 178.9 kB / 1.372 GB, free: 63.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/3.349, allocations: 127.9 kB / 1.372 GB, free: 63.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-06/3.349, allocations: 0 / 1.372 GB, free: 63.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000887/3.35, allocations: 382.8 kB / 1.373 GB, free: 62.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/3.35, allocations: 5.406 kB / 1.373 GB, free: 62.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/3.35, allocations: 4.375 kB / 1.373 GB, free: 62.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004463/3.354, allocations: 461.2 kB / 1.373 GB, free: 62.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/3.355, allocations: 67.91 kB / 1.373 GB, free: 62.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/3.356, allocations: 1.886 MB / 1.375 GB, free: 60.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/3.357, allocations: 24.23 kB / 1.375 GB, free: 60.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/3.357, allocations: 12 kB / 1.375 GB, free: 60.28 MB / 362.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.0002057/3.357, allocations: 161.7 kB / 1.375 GB, free: 60.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/3.357, allocations: 23.72 kB / 1.375 GB, free: 60.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008227/3.358, allocations: 0.4915 MB / 1.376 GB, free: 59.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/3.358, allocations: 3.953 kB / 1.376 GB, free: 59.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.034e-06/3.358, allocations: 0 / 1.376 GB, free: 59.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006525/3.359, allocations: 0.7171 MB / 1.376 GB, free: 58.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/3.36, allocations: 0.9415 MB / 1.377 GB, free: 57.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.411e-06/3.36, allocations: 4.031 kB / 1.377 GB, free: 57.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/3.36, allocations: 43.92 kB / 1.377 GB, free: 57.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/3.362, allocations: 312.2 kB / 1.378 GB, free: 57.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/3.362, allocations: 8 kB / 1.378 GB, free: 57.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000462/3.363, allocations: 0.6421 MB / 1.378 GB, free: 56.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.59e-06/3.363, allocations: 3.562 kB / 1.378 GB, free: 56.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/3.364, allocations: 0.7298 MB / 1.379 GB, free: 55.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/3.364, allocations: 100.8 kB / 1.379 GB, free: 55.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/3.364, allocations: 8 kB / 1.379 GB, free: 55.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/3.364, allocations: 23.98 kB / 1.379 GB, free: 55.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/3.364, allocations: 23.86 kB / 1.379 GB, free: 55.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/3.364, allocations: 8 kB / 1.379 GB, free: 55.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002097/3.364, allocations: 189.9 kB / 1.379 GB, free: 55.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.33e-07/3.364, allocations: 0 / 1.379 GB, free: 55.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001028/3.365, allocations: 207.9 kB / 1.38 GB, free: 55.41 MB / 362.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.001292/3.367, allocations: 482.2 kB / 1.38 GB, free: 54.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008977/3.368, allocations: 450.7 kB / 1.38 GB, free: 54.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.855e-06/3.368, allocations: 0 / 1.38 GB, free: 54.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/3.368, allocations: 239.7 kB / 1.381 GB, free: 54.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/3.369, allocations: 161.2 kB / 1.381 GB, free: 54.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/3.371, allocations: 0.9821 MB / 1.382 GB, free: 53.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/3.371, allocations: 0.788 MB / 1.383 GB, free: 52.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/3.371, allocations: 31.44 kB / 1.383 GB, free: 52.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.4e-06/3.371, allocations: 0 / 1.383 GB, free: 52.25 MB / 362.7 MB Notification: Performance of Templates: time 0.01302/3.384, allocations: 9.238 MB / 1.392 GB, free: 43.09 MB / 362.7 MB