Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.833e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.266, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.614, allocations: 0.5854 GB / 0.8979 GB, free: 17.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/1.614, allocations: 68.91 kB / 0.898 GB, free: 17.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4301/2.045, allocations: 60.2 MB / 0.9568 GB, free: 134.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.089e-06/2.045, allocations: 4 kB / 0.9568 GB, free: 134.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/2.045, allocations: 4 kB / 0.9568 GB, free: 134.1 MB / 426.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.0017/2.046, allocations: 0.7001 MB / 0.9575 GB, free: 133.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/2.046, allocations: 12.03 kB / 0.9575 GB, free: 133.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008041/2.054, allocations: 0.5892 MB / 0.9581 GB, free: 132.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/2.055, allocations: 254.7 kB / 0.9583 GB, free: 132.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/2.055, allocations: 123.3 kB / 0.9584 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/2.055, allocations: 12 kB / 0.9584 GB, free: 132.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/2.056, allocations: 0.5437 MB / 0.959 GB, free: 131.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/2.057, allocations: 312.2 kB / 0.9593 GB, free: 131.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/2.057, allocations: 0 / 0.9593 GB, free: 131.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/2.057, allocations: 4 kB / 0.9593 GB, free: 131.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.381e-05/2.057, allocations: 4 kB / 0.9593 GB, free: 131.4 MB / 426.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.002568/2.06, allocations: 1.921 MB / 0.9611 GB, free: 129.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/2.061, allocations: 122.5 kB / 0.9613 GB, free: 129.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/2.061, allocations: 40.92 kB / 0.9613 GB, free: 129.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.089e-05/2.061, allocations: 24.81 kB / 0.9613 GB, free: 129.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/2.061, allocations: 30.56 kB / 0.9614 GB, free: 129.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 3.458e-06/2.061, allocations: 0 / 0.9614 GB, free: 129.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.003533/2.065, allocations: 0.5064 MB / 0.9619 GB, free: 128.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/2.065, allocations: 55.41 kB / 0.9619 GB, free: 128.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/2.065, allocations: 185.8 kB / 0.9621 GB, free: 128.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/2.065, allocations: 25.7 kB / 0.9621 GB, free: 128.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/2.065, allocations: 285.1 kB / 0.9624 GB, free: 128 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/2.065, allocations: 39.45 kB / 0.9624 GB, free: 128 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/2.065, allocations: 0 / 0.9624 GB, free: 128 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/2.065, allocations: 326.8 kB / 0.9627 GB, free: 127.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/2.065, allocations: 60.86 kB / 0.9628 GB, free: 127.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/2.065, allocations: 258 kB / 0.963 GB, free: 127.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/2.066, allocations: 134.1 kB / 0.9632 GB, free: 127.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.69e-06/2.066, allocations: 0 / 0.9632 GB, free: 127.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009663/2.067, allocations: 369.6 kB / 0.9635 GB, free: 126.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/2.067, allocations: 8 kB / 0.9635 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/2.067, allocations: 8.094 kB / 0.9635 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/2.067, allocations: 12.28 kB / 0.9635 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/2.068, allocations: 183.7 kB / 0.9637 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003059/2.068, allocations: 0.5977 MB / 0.9643 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/2.069, allocations: 15.92 kB / 0.9643 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-05/2.069, allocations: 55.98 kB / 0.9644 GB, free: 125.8 MB / 426.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.0001283/2.069, allocations: 120.9 kB / 0.9645 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/2.069, allocations: 23.77 kB / 0.9645 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/2.07, allocations: 252.1 kB / 0.9647 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.597e-06/2.07, allocations: 4 kB / 0.9647 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.69e-06/2.07, allocations: 0 / 0.9647 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.045e-06/2.07, allocations: 0 / 0.9647 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/2.07, allocations: 452.3 kB / 0.9652 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.07, allocations: 0 / 0.9652 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/2.071, allocations: 71.95 kB / 0.9652 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.849e-06/2.071, allocations: 4.062 kB / 0.9653 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/2.071, allocations: 11.98 kB / 0.9653 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002558/2.071, allocations: 0.5899 MB / 0.9658 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.593e-06/2.071, allocations: 7.984 kB / 0.9658 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/2.072, allocations: 272.4 kB / 0.9661 GB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/2.072, allocations: 104.9 kB / 0.9662 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/2.072, allocations: 7.984 kB / 0.9662 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/2.072, allocations: 15.94 kB / 0.9662 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/2.072, allocations: 19.92 kB / 0.9662 GB, free: 123.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/2.072, allocations: 23.98 kB / 0.9663 GB, free: 123.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001249/2.072, allocations: 140.6 kB / 0.9664 GB, free: 123.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.47e-07/2.072, allocations: 0 / 0.9664 GB, free: 123.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001211/2.074, allocations: 255.8 kB / 0.9667 GB, free: 123.4 MB / 426.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.001583/2.075, allocations: 0.8342 MB / 0.9675 GB, free: 122.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006718/2.076, allocations: 207.4 kB / 0.9677 GB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.162e-06/2.076, allocations: 320 / 0.9677 GB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/2.076, allocations: 87.89 kB / 0.9677 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/2.077, allocations: 24.2 kB / 0.9678 GB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08775/2.164, allocations: 28.07 MB / 0.9952 GB, free: 94.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/2.165, allocations: 0.7365 MB / 0.9959 GB, free: 93.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/2.165, allocations: 91.39 kB / 0.996 GB, free: 93.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.73e-06/2.165, allocations: 0 / 0.996 GB, free: 93.39 MB / 426.7 MB Notification: Performance of Templates: time 0.01504/2.18, allocations: 9.631 MB / 1.005 GB, free: 83.75 MB / 426.7 MB