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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.201/2.201, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.944e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3627, allocations: 54.86 MB / 358 MB, free: 14.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.479/1.842, allocations: 0.5922 GB / 0.9418 GB, free: 55.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/1.842, allocations: 75.95 kB / 0.9419 GB, free: 55.46 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4603/2.302, allocations: 60.26 MB / 1.001 GB, free: 145.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.837e-06/2.302, allocations: 3.938 kB / 1.001 GB, free: 145.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/2.303, allocations: 4.75 kB / 1.001 GB, free: 145.9 MB / 474.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.00177/2.304, allocations: 0.7057 MB / 1.001 GB, free: 145.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/2.304, allocations: 8.25 kB / 1.001 GB, free: 145.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008245/2.313, allocations: 0.5957 MB / 1.002 GB, free: 145.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/2.313, allocations: 254.9 kB / 1.002 GB, free: 145.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/2.313, allocations: 121.5 kB / 1.002 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/2.313, allocations: 14.42 kB / 1.002 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001403/2.315, allocations: 0.5426 MB / 1.003 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/2.315, allocations: 313.5 kB / 1.003 GB, free: 145.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/2.315, allocations: 0 / 1.003 GB, free: 145.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/2.316, allocations: 5.875 kB / 1.003 GB, free: 145.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/2.316, allocations: 3.781 kB / 1.003 GB, free: 145.1 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002679/2.318, allocations: 1.914 MB / 1.005 GB, free: 143.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/2.32, allocations: 121 kB / 1.005 GB, free: 143.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/2.32, allocations: 37.73 kB / 1.005 GB, free: 143.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.309e-05/2.32, allocations: 22.72 kB / 1.005 GB, free: 143.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/2.32, allocations: 35.44 kB / 1.005 GB, free: 143.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 3.284e-06/2.32, allocations: 0 / 1.005 GB, free: 143.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.003958/2.324, allocations: 0.5087 MB / 1.006 GB, free: 143.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/2.324, allocations: 55.38 kB / 1.006 GB, free: 143.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/2.324, allocations: 185 kB / 1.006 GB, free: 143.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/2.324, allocations: 29.67 kB / 1.006 GB, free: 143.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/2.324, allocations: 279.5 kB / 1.006 GB, free: 142.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.979e-05/2.324, allocations: 41.31 kB / 1.006 GB, free: 142.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/2.324, allocations: 0 / 1.006 GB, free: 142.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/2.324, allocations: 333.5 kB / 1.007 GB, free: 142.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/2.325, allocations: 61.25 kB / 1.007 GB, free: 142.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/2.325, allocations: 248.9 kB / 1.007 GB, free: 142.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/2.325, allocations: 139.6 kB / 1.007 GB, free: 142.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.715e-06/2.325, allocations: 7.344 kB / 1.007 GB, free: 142.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001039/2.326, allocations: 366.7 kB / 1.007 GB, free: 142.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/2.326, allocations: 9.906 kB / 1.007 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/2.326, allocations: 8.438 kB / 1.007 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/2.326, allocations: 14.84 kB / 1.007 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006894/2.327, allocations: 166.9 kB / 1.008 GB, free: 142.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003044/2.327, allocations: 0.61 MB / 1.008 GB, free: 141.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/2.328, allocations: 11.39 kB / 1.008 GB, free: 141.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.584e-05/2.328, allocations: 58.25 kB / 1.008 GB, free: 141.7 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001311/2.328, allocations: 117.1 kB / 1.008 GB, free: 141.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/2.328, allocations: 20.31 kB / 1.008 GB, free: 141.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000828/2.329, allocations: 238 kB / 1.009 GB, free: 141.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-06/2.329, allocations: 3.938 kB / 1.009 GB, free: 141.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.965e-06/2.329, allocations: 5.938 kB / 1.009 GB, free: 141.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/2.329, allocations: 6.578 kB / 1.009 GB, free: 141.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/2.33, allocations: 448 kB / 1.009 GB, free: 141.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/2.33, allocations: 5.188 kB / 1.009 GB, free: 141.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/2.33, allocations: 67.22 kB / 1.009 GB, free: 141.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.646e-06/2.33, allocations: 8.922 kB / 1.009 GB, free: 141.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/2.33, allocations: 10.41 kB / 1.009 GB, free: 141.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002803/2.331, allocations: 0.5922 MB / 1.01 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.761e-06/2.331, allocations: 7.812 kB / 1.01 GB, free: 140.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/2.331, allocations: 271.4 kB / 1.01 GB, free: 140.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/2.331, allocations: 108.5 kB / 1.01 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/2.331, allocations: 7.062 kB / 1.01 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/2.332, allocations: 11.41 kB / 1.01 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/2.332, allocations: 18.66 kB / 1.01 GB, free: 140.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/2.332, allocations: 24.84 kB / 1.01 GB, free: 140.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000124/2.332, allocations: 143.8 kB / 1.01 GB, free: 140.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.59e-07/2.332, allocations: 0 / 1.01 GB, free: 140.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001175/2.333, allocations: 258.2 kB / 1.011 GB, free: 140.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.001628/2.335, allocations: 0.849 MB / 1.011 GB, free: 140.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006865/2.335, allocations: 204.1 kB / 1.012 GB, free: 140.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.59e-06/2.335, allocations: 2.25 kB / 1.012 GB, free: 140.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/2.336, allocations: 77.41 kB / 1.012 GB, free: 140.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/2.336, allocations: 28.14 kB / 1.012 GB, free: 140.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09248/2.429, allocations: 28.08 MB / 1.039 GB, free: 137.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/2.429, allocations: 0.7276 MB / 1.04 GB, free: 136.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/2.429, allocations: 92.14 kB / 1.04 GB, free: 136.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.53e-06/2.429, allocations: 0 / 1.04 GB, free: 136.5 MB / 474.7 MB Notification: Performance of Templates: time 0.01609/2.445, allocations: 9.642 MB / 1.049 GB, free: 130.5 MB / 474.7 MB