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.543/1.543, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8 kB / 233.2 MB, free: 3.023 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07107/0.07145, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/1.671, allocations: 0.6308 GB / 0.8964 GB, free: 90.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.672, allocations: 78.14 kB / 0.8965 GB, free: 90.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.586/2.258, allocations: 150.4 MB / 1.043 GB, free: 81.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.883e-06/2.258, allocations: 0 / 1.043 GB, free: 81.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.823e-05/2.258, allocations: 11.5 kB / 1.043 GB, free: 81.66 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.001266/2.259, allocations: 0.6934 MB / 1.044 GB, free: 81.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/2.259, allocations: 10.62 kB / 1.044 GB, free: 81.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007203/2.26, allocations: 75.34 kB / 1.044 GB, free: 81.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/2.26, allocations: 342.7 kB / 1.044 GB, free: 80.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/2.26, allocations: 32.75 kB / 1.044 GB, free: 80.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/2.26, allocations: 42.61 kB / 1.045 GB, free: 80.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/2.261, allocations: 458.8 kB / 1.045 GB, free: 80.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/2.261, allocations: 0 / 1.045 GB, free: 80.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/2.261, allocations: 23.41 kB / 1.045 GB, free: 80.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/2.261, allocations: 7.906 kB / 1.045 GB, free: 80.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005959/2.262, allocations: 306.1 kB / 1.045 GB, free: 80.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/2.276, allocations: 6.293 MB / 1.051 GB, free: 76.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/2.276, allocations: 274.7 kB / 1.052 GB, free: 75.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/2.288, allocations: 3.449 MB / 1.055 GB, free: 74.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/2.288, allocations: 42.34 kB / 1.055 GB, free: 74.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.36e-06/2.288, allocations: 0 / 1.055 GB, free: 74.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.01456/2.302, allocations: 2.391 MB / 1.057 GB, free: 73.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/2.302, allocations: 59.28 kB / 1.058 GB, free: 73.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/2.303, allocations: 270 kB / 1.058 GB, free: 73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/2.303, allocations: 29.7 kB / 1.058 GB, free: 72.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/2.303, allocations: 283.2 kB / 1.058 GB, free: 72.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/2.303, allocations: 156.9 kB / 1.058 GB, free: 72.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/2.303, allocations: 11.19 kB / 1.058 GB, free: 72.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/2.303, allocations: 338.1 kB / 1.059 GB, free: 72.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/2.303, allocations: 151.8 kB / 1.059 GB, free: 72.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/2.304, allocations: 269.3 kB / 1.059 GB, free: 72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/2.304, allocations: 194.6 kB / 1.059 GB, free: 71.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.681e-06/2.304, allocations: 7.688 kB / 1.059 GB, free: 71.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00143/2.306, allocations: 0.5704 MB / 1.06 GB, free: 71.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/2.306, allocations: 7.812 kB / 1.06 GB, free: 71.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/2.306, allocations: 7.406 kB / 1.06 GB, free: 71.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009413/2.315, allocations: 0.8602 MB / 1.061 GB, free: 71.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/2.316, allocations: 105.9 kB / 1.061 GB, free: 71.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/2.318, allocations: 2.469 MB / 1.063 GB, free: 69.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/2.318, allocations: 39.17 kB / 1.063 GB, free: 69.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/2.318, allocations: 23.25 kB / 1.063 GB, free: 69.05 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 () * 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.0002933/2.319, allocations: 183.6 kB / 1.063 GB, free: 68.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/2.319, allocations: 36.88 kB / 1.063 GB, free: 68.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/2.32, allocations: 0.8583 MB / 1.064 GB, free: 68.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/2.32, allocations: 7.688 kB / 1.064 GB, free: 68.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.651e-06/2.32, allocations: 0 / 1.064 GB, free: 68.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/2.321, allocations: 0.9628 MB / 1.065 GB, free: 67.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/2.324, allocations: 1.489 MB / 1.067 GB, free: 66.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.565e-06/2.324, allocations: 0 / 1.067 GB, free: 66.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/2.325, allocations: 78.41 kB / 1.067 GB, free: 66.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004138/2.329, allocations: 0.5973 MB / 1.067 GB, free: 66.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/2.329, allocations: 7.969 kB / 1.067 GB, free: 66.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009745/2.33, allocations: 1.293 MB / 1.068 GB, free: 65.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-06/2.33, allocations: 0 / 1.068 GB, free: 65.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/2.332, allocations: 1.232 MB / 1.07 GB, free: 65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/2.332, allocations: 124.1 kB / 1.07 GB, free: 64.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/2.332, allocations: 7.531 kB / 1.07 GB, free: 64.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/2.333, allocations: 26.89 kB / 1.07 GB, free: 64.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/2.333, allocations: 27.3 kB / 1.07 GB, free: 64.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/2.333, allocations: 19.34 kB / 1.07 GB, free: 64.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002697/2.333, allocations: 207.9 kB / 1.07 GB, free: 64.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.592e-06/2.333, allocations: 7.875 kB / 1.07 GB, free: 64.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001135/2.334, allocations: 250.7 kB / 1.07 GB, free: 64.67 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 () * 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.001302/2.335, allocations: 453.4 kB / 1.071 GB, free: 64.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/2.337, allocations: 0.6871 MB / 1.071 GB, free: 64.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.455e-06/2.337, allocations: 0 / 1.071 GB, free: 64.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/2.338, allocations: 436.6 kB / 1.072 GB, free: 64.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/2.34, allocations: 222.1 kB / 1.072 GB, free: 63.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/2.342, allocations: 1.509 MB / 1.074 GB, free: 63.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/2.342, allocations: 0.8532 MB / 1.074 GB, free: 62.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/2.342, allocations: 38.88 kB / 1.074 GB, free: 62.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.515e-06/2.342, allocations: 0 / 1.074 GB, free: 62.34 MB / 362.7 MB Notification: Performance of Templates: time 0.01743/2.36, allocations: 13.18 MB / 1.087 GB, free: 51.09 MB / 362.7 MB