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.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 8 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09882, allocations: 44.5 MB / 309 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.974/2.073, allocations: 0.6361 GB / 0.9378 GB, free: 47.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/2.073, allocations: 79.52 kB / 0.9379 GB, free: 47.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7687/2.842, allocations: 150.4 MB / 1.085 GB, free: 73.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.842, allocations: 0 / 1.085 GB, free: 73.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.657e-05/2.842, allocations: 8 kB / 1.085 GB, free: 73.83 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001628/2.844, allocations: 0.6913 MB / 1.085 GB, free: 73.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/2.844, allocations: 8.031 kB / 1.085 GB, free: 73.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/2.844, allocations: 83.41 kB / 1.086 GB, free: 73.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/2.845, allocations: 338 kB / 1.086 GB, free: 72.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/2.845, allocations: 29 kB / 1.086 GB, free: 72.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/2.845, allocations: 40 kB / 1.086 GB, free: 72.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/2.846, allocations: 467.5 kB / 1.086 GB, free: 72.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/2.846, allocations: 3.906 kB / 1.086 GB, free: 72.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/2.846, allocations: 20 kB / 1.086 GB, free: 72.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/2.846, allocations: 8 kB / 1.086 GB, free: 72.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/2.847, allocations: 303.7 kB / 1.087 GB, free: 71.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/2.864, allocations: 6.293 MB / 1.093 GB, free: 64.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006339/2.865, allocations: 278.7 kB / 1.093 GB, free: 64.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/2.879, allocations: 3.448 MB / 1.096 GB, free: 60.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/2.879, allocations: 31.16 kB / 1.096 GB, free: 60.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 4.969e-06/2.879, allocations: 0 / 1.096 GB, free: 60.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01581/2.895, allocations: 2.395 MB / 1.099 GB, free: 58.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/2.895, allocations: 67.28 kB / 1.099 GB, free: 58.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/2.895, allocations: 299.2 kB / 1.099 GB, free: 58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/2.895, allocations: 33.7 kB / 1.099 GB, free: 57.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/2.896, allocations: 270.5 kB / 1.099 GB, free: 57.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/2.896, allocations: 169.5 kB / 1.1 GB, free: 57.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/2.896, allocations: 16 kB / 1.1 GB, free: 57.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/2.896, allocations: 330.8 kB / 1.1 GB, free: 57.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/2.896, allocations: 149.1 kB / 1.1 GB, free: 57.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/2.897, allocations: 271.7 kB / 1.1 GB, free: 56.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/2.897, allocations: 196.7 kB / 1.101 GB, free: 56.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/2.897, allocations: 4 kB / 1.101 GB, free: 56.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001551/2.899, allocations: 0.5685 MB / 1.101 GB, free: 55.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/2.899, allocations: 10.03 kB / 1.101 GB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/2.899, allocations: 4 kB / 1.101 GB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01466/2.913, allocations: 0.8652 MB / 1.102 GB, free: 55.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/2.914, allocations: 111.8 kB / 1.102 GB, free: 54.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/2.916, allocations: 2.463 MB / 1.104 GB, free: 52.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/2.917, allocations: 47.89 kB / 1.105 GB, free: 52.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/2.917, allocations: 20 kB / 1.105 GB, free: 52.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * 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): 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 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000317/2.917, allocations: 173.7 kB / 1.105 GB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/2.918, allocations: 39.53 kB / 1.105 GB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/2.919, allocations: 0.8551 MB / 1.106 GB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/2.919, allocations: 19.92 kB / 1.106 GB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/2.919, allocations: 0 / 1.106 GB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/2.921, allocations: 0.9535 MB / 1.107 GB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/2.923, allocations: 1.492 MB / 1.108 GB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/2.923, allocations: 7.984 kB / 1.108 GB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/2.924, allocations: 75.89 kB / 1.108 GB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/2.929, allocations: 0.5946 MB / 1.109 GB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-05/2.929, allocations: 12 kB / 1.109 GB, free: 47.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/2.93, allocations: 1.284 MB / 1.11 GB, free: 46.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.93, allocations: 0 / 1.11 GB, free: 46.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/2.933, allocations: 1.219 MB / 1.111 GB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/2.933, allocations: 124.5 kB / 1.111 GB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/2.933, allocations: 8 kB / 1.111 GB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/2.933, allocations: 31.78 kB / 1.111 GB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/2.934, allocations: 31.95 kB / 1.111 GB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/2.934, allocations: 15.98 kB / 1.111 GB, free: 45.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002951/2.934, allocations: 210 kB / 1.112 GB, free: 44.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.934, allocations: 0 / 1.112 GB, free: 44.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001311/2.935, allocations: 247.8 kB / 1.112 GB, free: 44.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001954/2.937, allocations: 458.6 kB / 1.112 GB, free: 44.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/2.939, allocations: 0.6827 MB / 1.113 GB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/2.939, allocations: 0 / 1.113 GB, free: 43.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/2.941, allocations: 444.5 kB / 1.113 GB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/2.943, allocations: 228.8 kB / 1.113 GB, free: 42.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/2.946, allocations: 1.494 MB / 1.115 GB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/2.946, allocations: 0.8443 MB / 1.116 GB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/2.946, allocations: 47.42 kB / 1.116 GB, free: 40.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/2.946, allocations: 3.938 kB / 1.116 GB, free: 40.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02281/2.969, allocations: 13.17 MB / 1.129 GB, free: 27.17 MB / 410.7 MB