Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004305/0.0004307, allocations: 8 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3178, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.721, allocations: 0.5929 GB / 0.9535 GB, free: 71.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/1.721, allocations: 77.14 kB / 0.9536 GB, free: 71.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2051/1.926, allocations: 61.12 MB / 1.013 GB, free: 16.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.291e-06/1.926, allocations: 0 / 1.013 GB, free: 16.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/1.926, allocations: 4 kB / 1.013 GB, free: 16.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001789/1.928, allocations: 0.7216 MB / 1.014 GB, free: 15.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.928, allocations: 8.031 kB / 1.014 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008049/1.936, allocations: 0.5927 MB / 1.015 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/1.937, allocations: 254.7 kB / 1.015 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.937, allocations: 123.4 kB / 1.015 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/1.937, allocations: 27.95 kB / 1.015 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/1.938, allocations: 0.5634 MB / 1.016 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.938, allocations: 0 / 1.016 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.938, allocations: 12 kB / 1.016 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/1.938, allocations: 8 kB / 1.016 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/1.94, allocations: 0.6026 MB / 1.016 GB, free: 13.61 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/1.942, allocations: 1.635 MB / 1.018 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/1.943, allocations: 154.5 kB / 1.018 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007432/1.943, allocations: 0.6738 MB / 1.019 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/1.943, allocations: 38.55 kB / 1.019 GB, free: 10.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.833e-06/1.943, allocations: 0 / 1.019 GB, free: 10.88 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001252/1.945, allocations: 331.5 kB / 1.019 GB, free: 10.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.945, allocations: 55.41 kB / 1.019 GB, free: 10.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.945, allocations: 170.5 kB / 1.019 GB, free: 10.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/1.945, allocations: 37.64 kB / 1.019 GB, free: 10.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/1.945, allocations: 253.6 kB / 1.019 GB, free: 10.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/1.945, allocations: 67.09 kB / 1.019 GB, free: 9.945 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/1.945, allocations: 4 kB / 1.019 GB, free: 9.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/1.945, allocations: 330.8 kB / 1.02 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/1.945, allocations: 68.7 kB / 1.02 GB, free: 9.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/1.946, allocations: 251.8 kB / 1.02 GB, free: 9.199 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/1.946, allocations: 107.8 kB / 1.02 GB, free: 9.094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.894e-06/1.946, allocations: 4 kB / 1.02 GB, free: 9.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007449/1.947, allocations: 361.5 kB / 1.021 GB, free: 8.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.947, allocations: 10.19 kB / 1.021 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.947, allocations: 8 kB / 1.021 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/1.947, allocations: 15.95 kB / 1.021 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/1.947, allocations: 123.8 kB / 1.021 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003095/1.948, allocations: 0.6057 MB / 1.021 GB, free: 7.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/1.948, allocations: 51.64 kB / 1.021 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/1.948, allocations: 36 kB / 1.021 GB, free: 7.863 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/1.948, allocations: 153.6 kB / 1.021 GB, free: 7.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/1.948, allocations: 19.77 kB / 1.021 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.949, allocations: 289.5 kB / 1.022 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.598e-06/1.949, allocations: 4 kB / 1.022 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-06/1.949, allocations: 0 / 1.022 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.949, allocations: 3.984 kB / 1.022 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008096/1.95, allocations: 0.5366 MB / 1.022 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-06/1.95, allocations: 0 / 1.022 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.951, allocations: 59.95 kB / 1.022 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/1.951, allocations: 0 / 1.022 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.951, allocations: 16 kB / 1.022 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002718/1.951, allocations: 0.6017 MB / 1.023 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.891e-06/1.951, allocations: 0 / 1.023 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/1.951, allocations: 326.4 kB / 1.023 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.952, allocations: 116.8 kB / 1.023 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/1.952, allocations: 4 kB / 1.023 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/1.952, allocations: 11.98 kB / 1.023 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/1.952, allocations: 19.98 kB / 1.023 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.952, allocations: 23.98 kB / 1.023 GB, free: 5.512 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001165/1.952, allocations: 138.9 kB / 1.024 GB, free: 5.375 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.952, allocations: 0 / 1.024 GB, free: 5.375 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001072/1.953, allocations: 247.8 kB / 1.024 GB, free: 5.133 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/1.955, allocations: 0.7469 MB / 1.025 GB, free: 4.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006431/1.955, allocations: 213 kB / 1.025 GB, free: 4.176 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.936e-06/1.955, allocations: 4 kB / 1.025 GB, free: 4.172 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/1.955, allocations: 75.84 kB / 1.025 GB, free: 4.098 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/1.956, allocations: 56.81 kB / 1.025 GB, free: 4.039 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3594/2.315, allocations: 32.71 MB / 1.057 GB, free: 149.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/2.316, allocations: 0.7365 MB / 1.058 GB, free: 148.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/2.316, allocations: 66.16 kB / 1.058 GB, free: 148.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.625e-06/2.316, allocations: 0 / 1.058 GB, free: 148.9 MB / 490.7 MB Notification: Performance of Templates: time 0.01324/2.329, allocations: 8.471 MB / 1.066 GB, free: 148.1 MB / 490.7 MB