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.558/1.558, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.000355, allocations: 8 kB / 233.2 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06908/0.06946, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02284/0.09233, allocations: 16.26 MB / 288.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007784/0.1002, allocations: 4.763 MB / 292.9 MB, free: 7.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.1006, allocations: 4 kB / 292.9 MB, free: 7.113 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.1013, allocations: 171.2 kB / 293.1 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.1019, allocations: 227.4 kB / 293.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004395/0.1063, allocations: 1.204 MB / 294.5 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009488/0.1073, allocations: 0.5145 MB / 295.1 MB, free: 5 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1075, allocations: 76.12 kB / 295.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1906/0.2982, allocations: 7.209 MB / 302.3 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.2985, allocations: 171.3 kB / 302.5 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.2986, allocations: 15.22 kB / 302.5 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.3006, allocations: 0.725 MB / 303.2 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3008, allocations: 70.94 kB / 303.3 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3009, allocations: 94.72 kB / 303.4 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.3021, allocations: 0.6199 MB / 304 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3021, allocations: 0 / 304 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.3021, allocations: 1.094 kB / 304 MB, free: 13.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.403e-06/0.3021, allocations: 0 / 304 MB, free: 13.63 MB / 250.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.0008666/0.303, allocations: 0.5761 MB / 304.6 MB, free: 13.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3031, allocations: 14.47 kB / 304.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.3036, allocations: 57.25 kB / 304.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.304, allocations: 290.5 kB / 305 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3041, allocations: 21.34 kB / 305 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.3042, allocations: 24.84 kB / 305 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.3048, allocations: 333.1 kB / 305.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.3048, allocations: 6.359 kB / 305.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.3049, allocations: 14 kB / 305.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3049, allocations: 7.531 kB / 305.4 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.3054, allocations: 206.7 kB / 305.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.3198, allocations: 5.895 MB / 311.5 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.3202, allocations: 183.1 kB / 311.6 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/0.3328, allocations: 3.874 MB / 315.5 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.3329, allocations: 44.7 kB / 315.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.111e-06/0.3329, allocations: 0 / 315.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.007477/0.3404, allocations: 1.417 MB / 317 MB, free: 7.215 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.3405, allocations: 55.56 kB / 317 MB, free: 7.152 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.3408, allocations: 260.9 kB / 317.3 MB, free: 7.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3408, allocations: 31.98 kB / 317.3 MB, free: 6.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.341, allocations: 246.7 kB / 317.5 MB, free: 6.773 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.341, allocations: 92.86 kB / 317.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.3411, allocations: 6.094 kB / 317.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.3412, allocations: 330.8 kB / 318 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.3414, allocations: 85.88 kB / 318 MB, free: 6.379 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.3417, allocations: 191.1 kB / 318.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3419, allocations: 117.2 kB / 318.3 MB, free: 6.246 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.61e-06/0.342, allocations: 2.562 kB / 318.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008597/0.3428, allocations: 381.7 kB / 318.7 MB, free: 6.156 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3429, allocations: 10.2 kB / 318.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3429, allocations: 3.812 kB / 318.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.3466, allocations: 396.2 kB / 319.1 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.347, allocations: 70 kB / 319.2 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.3485, allocations: 1.885 MB / 321.1 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.349, allocations: 31.2 kB / 321.1 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.349, allocations: 15.91 kB / 321.1 MB, free: 4.188 MB / 250.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.000212/0.3492, allocations: 152.5 kB / 321.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.3493, allocations: 28.84 kB / 321.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008982/0.3502, allocations: 491.5 kB / 321.8 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.3503, allocations: 14.42 kB / 321.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-06/0.3503, allocations: 0 / 321.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006884/0.351, allocations: 0.7235 MB / 322.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.3526, allocations: 0.9535 MB / 323.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.301e-06/0.3527, allocations: 0 / 323.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3529, allocations: 40.44 kB / 323.5 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002143/0.3551, allocations: 330.7 kB / 323.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.3551, allocations: 6.5 kB / 323.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005214/0.3557, allocations: 0.6432 MB / 324.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.362e-06/0.3557, allocations: 3.156 kB / 324.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.3569, allocations: 0.7157 MB / 325.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.3571, allocations: 104 kB / 325.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.3572, allocations: 6.156 kB / 325.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.3575, allocations: 22.05 kB / 325.3 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.3576, allocations: 18.59 kB / 325.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.3576, allocations: 7.062 kB / 325.4 MB, free: 1.961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3579, allocations: 189.7 kB / 325.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.3579, allocations: 0 / 325.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000897/0.3588, allocations: 194.6 kB / 325.7 MB, free: 1.832 MB / 250.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.0006917/0.3595, allocations: 268.9 kB / 326 MB, free: 1.695 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009389/0.3604, allocations: 455.8 kB / 326.4 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.332e-06/0.3605, allocations: 0 / 326.4 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.3611, allocations: 227.5 kB / 326.7 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3622, allocations: 166.5 kB / 326.8 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3636, allocations: 0.9855 MB / 327.8 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.364, allocations: 0.7841 MB / 328.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3642, allocations: 38.55 kB / 328.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of SimCode: time 1.707e-06/0.3642, allocations: 0 / 328.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Templates: time 0.01612/0.3803, allocations: 8.42 MB / 337.1 MB, free: 7.211 MB / 266.7 MB