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/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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.795/1.795, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004376, allocations: 12 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08619, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.642/1.728, allocations: 0.5862 GB / 0.9097 GB, free: 51.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/1.729, allocations: 78.02 kB / 0.9097 GB, free: 51.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4249/2.153, allocations: 61.05 MB / 0.9694 GB, free: 115.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.641e-06/2.154, allocations: 0 / 0.9694 GB, free: 115.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/2.154, allocations: 6.281 kB / 0.9694 GB, free: 115.5 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.001749/2.155, allocations: 0.7135 MB / 0.9701 GB, free: 115 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/2.155, allocations: 9.125 kB / 0.9701 GB, free: 115 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008164/2.164, allocations: 0.5886 MB / 0.9706 GB, free: 115 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/2.164, allocations: 263.6 kB / 0.9709 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/2.164, allocations: 125.2 kB / 0.971 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/2.164, allocations: 21.66 kB / 0.971 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/2.166, allocations: 0.5645 MB / 0.9716 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/2.166, allocations: 3.781 kB / 0.9716 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/2.166, allocations: 14.44 kB / 0.9716 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/2.166, allocations: 7.125 kB / 0.9716 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/2.168, allocations: 0.6076 MB / 0.9722 GB, free: 114.6 MB / 426.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.002125/2.17, allocations: 1.618 MB / 0.9738 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/2.17, allocations: 159.3 kB / 0.9739 GB, free: 113.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/2.171, allocations: 0.6744 MB / 0.9746 GB, free: 112.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/2.171, allocations: 35.88 kB / 0.9746 GB, free: 112.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.844e-06/2.171, allocations: 2.594 kB / 0.9746 GB, free: 112.7 MB / 426.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.001322/2.173, allocations: 327.2 kB / 0.9749 GB, free: 112.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/2.173, allocations: 56 kB / 0.975 GB, free: 112.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/2.173, allocations: 163.6 kB / 0.9752 GB, free: 112.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/2.173, allocations: 31.23 kB / 0.9752 GB, free: 112.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/2.173, allocations: 259 kB / 0.9754 GB, free: 112.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/2.173, allocations: 61.08 kB / 0.9755 GB, free: 112.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/2.173, allocations: 6.906 kB / 0.9755 GB, free: 112.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/2.173, allocations: 328 kB / 0.9758 GB, free: 112 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/2.173, allocations: 65.84 kB / 0.9759 GB, free: 112 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/2.174, allocations: 262.1 kB / 0.9761 GB, free: 111.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/2.174, allocations: 98.89 kB / 0.9762 GB, free: 111.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/2.174, allocations: 2.688 kB / 0.9762 GB, free: 111.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008015/2.175, allocations: 371.2 kB / 0.9766 GB, free: 111.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/2.175, allocations: 11.38 kB / 0.9766 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/2.175, allocations: 10.28 kB / 0.9766 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/2.175, allocations: 10.56 kB / 0.9766 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/2.175, allocations: 123.2 kB / 0.9767 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003046/2.176, allocations: 0.6088 MB / 0.9773 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/2.176, allocations: 40.09 kB / 0.9774 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/2.176, allocations: 46.42 kB / 0.9774 GB, free: 111.1 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 () * 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.0001686/2.176, allocations: 152 kB / 0.9775 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/2.176, allocations: 25 kB / 0.9776 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/2.178, allocations: 285 kB / 0.9778 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-06/2.178, allocations: 2.344 kB / 0.9778 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-06/2.178, allocations: 0 / 0.9778 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.165e-06/2.178, allocations: 4.781 kB / 0.9778 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008767/2.179, allocations: 0.5409 MB / 0.9784 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-06/2.179, allocations: 3.688 kB / 0.9784 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/2.179, allocations: 55.91 kB / 0.9784 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.464e-06/2.179, allocations: 2.25 kB / 0.9784 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/2.179, allocations: 12.81 kB / 0.9784 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002738/2.179, allocations: 0.5993 MB / 0.979 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.094e-06/2.179, allocations: 1.344 kB / 0.979 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/2.18, allocations: 325.8 kB / 0.9793 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/2.18, allocations: 114.8 kB / 0.9795 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/2.18, allocations: 9.969 kB / 0.9795 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/2.18, allocations: 16.09 kB / 0.9795 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/2.18, allocations: 20.55 kB / 0.9795 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/2.18, allocations: 20.56 kB / 0.9795 GB, free: 109.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001356/2.181, allocations: 135.6 kB / 0.9796 GB, free: 109.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.181, allocations: 1.25 kB / 0.9796 GB, free: 109.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001206/2.182, allocations: 251.2 kB / 0.9799 GB, free: 109.5 MB / 426.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.001456/2.183, allocations: 0.7331 MB / 0.9806 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000693/2.184, allocations: 213.2 kB / 0.9808 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.281e-06/2.184, allocations: 0 / 0.9808 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/2.184, allocations: 78.67 kB / 0.9809 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/2.185, allocations: 53.3 kB / 0.9809 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/2.291, allocations: 32.72 MB / 1.013 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/2.291, allocations: 0.7317 MB / 1.014 GB, free: 105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/2.291, allocations: 65.38 kB / 1.014 GB, free: 105 MB / 426.7 MB Notification: Performance of SimCode: time 1.595e-06/2.291, allocations: 0 / 1.014 GB, free: 105 MB / 426.7 MB Notification: Performance of Templates: time 0.01367/2.305, allocations: 8.464 MB / 1.022 GB, free: 103 MB / 426.7 MB