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.DryAir2.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.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 1.771/1.771, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003629, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08122/0.08161, allocations: 44.51 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.604/1.686, allocations: 0.6361 GB / 0.9373 GB, free: 55.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.686, allocations: 75.41 kB / 0.9373 GB, free: 55.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6097/2.296, allocations: 150.4 MB / 1.084 GB, free: 81.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.308e-06/2.296, allocations: 0 / 1.084 GB, free: 81.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/2.296, allocations: 8 kB / 1.084 GB, free: 81.6 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.001215/2.297, allocations: 0.6911 MB / 1.085 GB, free: 80.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/2.297, allocations: 12.02 kB / 1.085 GB, free: 80.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007007/2.298, allocations: 83.34 kB / 1.085 GB, free: 80.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/2.298, allocations: 339.3 kB / 1.085 GB, free: 80.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/2.298, allocations: 32.94 kB / 1.085 GB, free: 80.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/2.299, allocations: 39.94 kB / 1.085 GB, free: 80.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/2.299, allocations: 463.6 kB / 1.086 GB, free: 79.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/2.299, allocations: 11.84 kB / 1.086 GB, free: 79.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/2.299, allocations: 16 kB / 1.086 GB, free: 79.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/2.299, allocations: 8 kB / 1.086 GB, free: 79.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/2.3, allocations: 303.7 kB / 1.086 GB, free: 79.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/2.312, allocations: 6.288 MB / 1.092 GB, free: 72.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/2.312, allocations: 278.7 kB / 1.093 GB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009202/2.322, allocations: 3.442 MB / 1.096 GB, free: 68.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/2.322, allocations: 43.16 kB / 1.096 GB, free: 68.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.589e-06/2.322, allocations: 0 / 1.096 GB, free: 68.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01274/2.334, allocations: 2.394 MB / 1.098 GB, free: 66.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/2.334, allocations: 59.36 kB / 1.098 GB, free: 66.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/2.335, allocations: 270.4 kB / 1.099 GB, free: 65.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/2.335, allocations: 33.7 kB / 1.099 GB, free: 65.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/2.335, allocations: 278.4 kB / 1.099 GB, free: 65.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/2.335, allocations: 161.6 kB / 1.099 GB, free: 65.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/2.335, allocations: 8 kB / 1.099 GB, free: 65.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/2.335, allocations: 342.8 kB / 1.099 GB, free: 64.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/2.336, allocations: 145.1 kB / 1.1 GB, free: 64.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/2.336, allocations: 275.7 kB / 1.1 GB, free: 64.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/2.336, allocations: 192.8 kB / 1.1 GB, free: 64.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/2.336, allocations: 3.938 kB / 1.1 GB, free: 64.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001295/2.338, allocations: 0.5686 MB / 1.101 GB, free: 63.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/2.338, allocations: 13.23 kB / 1.101 GB, free: 63.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/2.338, allocations: 4 kB / 1.101 GB, free: 63.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008877/2.347, allocations: 0.8613 MB / 1.101 GB, free: 62.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/2.347, allocations: 111.8 kB / 1.102 GB, free: 62.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/2.349, allocations: 2.467 MB / 1.104 GB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/2.35, allocations: 43.91 kB / 1.104 GB, free: 60.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/2.35, allocations: 20 kB / 1.104 GB, free: 60.03 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.0002794/2.35, allocations: 173.7 kB / 1.104 GB, free: 59.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/2.35, allocations: 43.53 kB / 1.104 GB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/2.351, allocations: 0.8473 MB / 1.105 GB, free: 58.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/2.352, allocations: 15.98 kB / 1.105 GB, free: 58.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.504e-06/2.352, allocations: 4 kB / 1.105 GB, free: 58.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/2.353, allocations: 0.9574 MB / 1.106 GB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/2.355, allocations: 1.483 MB / 1.107 GB, free: 56.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.841e-06/2.355, allocations: 7.984 kB / 1.107 GB, free: 56.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/2.355, allocations: 83.89 kB / 1.108 GB, free: 56.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003472/2.359, allocations: 0.5946 MB / 1.108 GB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/2.359, allocations: 15.98 kB / 1.108 GB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008878/2.36, allocations: 1.277 MB / 1.109 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.461e-06/2.36, allocations: 3.953 kB / 1.109 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/2.362, allocations: 1.228 MB / 1.111 GB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/2.362, allocations: 128.5 kB / 1.111 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/2.362, allocations: 16 kB / 1.111 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/2.362, allocations: 23.89 kB / 1.111 GB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/2.362, allocations: 31.95 kB / 1.111 GB, free: 52.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/2.362, allocations: 15.98 kB / 1.111 GB, free: 52.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002636/2.363, allocations: 213.9 kB / 1.111 GB, free: 52.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.76e-07/2.363, allocations: 0 / 1.111 GB, free: 52.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001147/2.364, allocations: 247.8 kB / 1.111 GB, free: 52.36 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.001285/2.365, allocations: 442.6 kB / 1.112 GB, free: 51.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/2.367, allocations: 0.6866 MB / 1.112 GB, free: 51.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.241e-06/2.367, allocations: 0 / 1.112 GB, free: 51.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/2.368, allocations: 444.5 kB / 1.113 GB, free: 50.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/2.369, allocations: 236.7 kB / 1.113 GB, free: 50.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/2.371, allocations: 1.504 MB / 1.114 GB, free: 49.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/2.372, allocations: 0.8482 MB / 1.115 GB, free: 48.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/2.372, allocations: 43.42 kB / 1.115 GB, free: 48.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.622e-06/2.372, allocations: 0 / 1.115 GB, free: 48.15 MB / 410.7 MB Notification: Performance of Templates: time 0.01751/2.389, allocations: 13.17 MB / 1.128 GB, free: 34.97 MB / 410.7 MB