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.DryAir2.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.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.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.2 MB / 184.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.547e-05, allocations: 3.984 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2099, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.421/1.631, allocations: 0.6307 GB / 0.892 GB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/1.631, allocations: 72.34 kB / 0.8921 GB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5882/2.219, allocations: 149.5 MB / 1.038 GB, free: 19.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/2.219, allocations: 4 kB / 1.038 GB, free: 19.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.691e-05/2.219, allocations: 8 kB / 1.038 GB, free: 19.71 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001164/2.22, allocations: 0.6556 MB / 1.039 GB, free: 19.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/2.22, allocations: 12.03 kB / 1.039 GB, free: 19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007152/2.221, allocations: 75.41 kB / 1.039 GB, free: 18.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/2.222, allocations: 334.2 kB / 1.039 GB, free: 18.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/2.222, allocations: 36.72 kB / 1.039 GB, free: 18.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/2.222, allocations: 36 kB / 1.039 GB, free: 18.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/2.222, allocations: 464.2 kB / 1.04 GB, free: 17.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/2.223, allocations: 3.906 kB / 1.04 GB, free: 17.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/2.223, allocations: 16 kB / 1.04 GB, free: 17.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/2.223, allocations: 12 kB / 1.04 GB, free: 17.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/2.223, allocations: 298.9 kB / 1.04 GB, free: 17.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/2.236, allocations: 6.347 MB / 1.046 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/2.236, allocations: 264.8 kB / 1.046 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/2.236, allocations: 155.5 kB / 1.047 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009815/2.246, allocations: 3.491 MB / 1.05 GB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/2.246, allocations: 39.16 kB / 1.05 GB, free: 6.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 4.23e-06/2.246, allocations: 0 / 1.05 GB, free: 6.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01277/2.259, allocations: 2.27 MB / 1.052 GB, free: 4.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/2.259, allocations: 59.34 kB / 1.052 GB, free: 4.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/2.26, allocations: 271.3 kB / 1.053 GB, free: 3.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/2.26, allocations: 33.7 kB / 1.053 GB, free: 3.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/2.26, allocations: 282.5 kB / 1.053 GB, free: 3.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/2.26, allocations: 157.7 kB / 1.053 GB, free: 3.324 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/2.26, allocations: 12 kB / 1.053 GB, free: 3.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/2.26, allocations: 338.8 kB / 1.053 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/2.26, allocations: 141.1 kB / 1.053 GB, free: 2.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/2.261, allocations: 275.6 kB / 1.054 GB, free: 2.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/2.261, allocations: 185.6 kB / 1.054 GB, free: 2.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/2.261, allocations: 4 kB / 1.054 GB, free: 2.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001316/2.263, allocations: 0.561 MB / 1.054 GB, free: 1.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/2.263, allocations: 8.062 kB / 1.054 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.263, allocations: 4 kB / 1.054 GB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009001/2.272, allocations: 0.8765 MB / 1.055 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/2.272, allocations: 115.8 kB / 1.055 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2012/2.473, allocations: 2.444 MB / 1.058 GB, free: 73.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/2.474, allocations: 39.39 kB / 1.058 GB, free: 73.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/2.474, allocations: 24.08 kB / 1.058 GB, free: 73.5 MB / 362.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 () * 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.0001601/2.474, allocations: 132.7 kB / 1.058 GB, free: 73.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/2.474, allocations: 39.83 kB / 1.058 GB, free: 73.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/2.476, allocations: 0.8498 MB / 1.059 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/2.476, allocations: 10.64 kB / 1.059 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-06/2.476, allocations: 0 / 1.059 GB, free: 73.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/2.478, allocations: 0.9553 MB / 1.06 GB, free: 72.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/2.48, allocations: 1.476 MB / 1.061 GB, free: 72.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.644e-06/2.48, allocations: 6.844 kB / 1.061 GB, free: 72.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/2.481, allocations: 76.02 kB / 1.061 GB, free: 72.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003587/2.484, allocations: 0.5777 MB / 1.062 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/2.484, allocations: 13.06 kB / 1.062 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009225/2.485, allocations: 1.29 MB / 1.063 GB, free: 71.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.41e-06/2.485, allocations: 0 / 1.063 GB, free: 71.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/2.487, allocations: 1.222 MB / 1.064 GB, free: 71.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/2.488, allocations: 118.1 kB / 1.064 GB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/2.488, allocations: 12.34 kB / 1.064 GB, free: 71.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/2.488, allocations: 31.38 kB / 1.065 GB, free: 71.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/2.488, allocations: 28.62 kB / 1.065 GB, free: 71.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/2.488, allocations: 21.61 kB / 1.065 GB, free: 71.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002569/2.489, allocations: 206.5 kB / 1.065 GB, free: 71.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.46e-07/2.489, allocations: 0 / 1.065 GB, free: 71.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001158/2.49, allocations: 248.6 kB / 1.065 GB, free: 71.14 MB / 362.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 () * 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.001421/2.491, allocations: 454.1 kB / 1.065 GB, free: 71.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/2.493, allocations: 0.6682 MB / 1.066 GB, free: 70.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.4e-06/2.493, allocations: 5.75 kB / 1.066 GB, free: 70.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/2.494, allocations: 435.1 kB / 1.067 GB, free: 70.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/2.495, allocations: 220.7 kB / 1.067 GB, free: 70.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/2.497, allocations: 1.01 MB / 1.068 GB, free: 70.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/2.497, allocations: 0.8477 MB / 1.069 GB, free: 69.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/2.497, allocations: 42.11 kB / 1.069 GB, free: 69.97 MB / 362.7 MB Notification: Performance of SimCode: time 1.782e-06/2.497, allocations: 0 / 1.069 GB, free: 69.97 MB / 362.7 MB Notification: Performance of Templates: time 0.01829/2.516, allocations: 13.14 MB / 1.081 GB, free: 69.35 MB / 362.7 MB