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 2.017/2.017, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004377, allocations: 12 kB / 282.5 MB, free: 9.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08902, allocations: 48.7 MB / 331.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5033/0.5924, allocations: 126.1 MB / 457.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.6035, allocations: 6.824 MB / 464.1 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.6037, allocations: 0 / 464.1 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.604, allocations: 35.8 kB / 464.1 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004/0.608, allocations: 1.177 MB / 465.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.6085, allocations: 131.8 kB / 465.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.609, allocations: 273.1 kB / 465.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.761e-05/0.6091, allocations: 13.67 kB / 465.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.6095, allocations: 155.5 kB / 465.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.6098, allocations: 155.6 kB / 466 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.6099, allocations: 8 kB / 466 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.6127, allocations: 1.116 MB / 467.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.6129, allocations: 43.88 kB / 467.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.6129, allocations: 61.58 kB / 467.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.6143, allocations: 0.6391 MB / 467.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.64e-06/0.6143, allocations: 0 / 467.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.286e-06/0.6143, allocations: 0 / 467.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.159e-06/0.6143, allocations: 0 / 467.9 MB, free: 12.76 MB / 394.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.001585/0.6159, allocations: 0.6554 MB / 468.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.616, allocations: 8.031 kB / 468.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008516/0.6245, allocations: 0.597 MB / 469.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.625, allocations: 254.7 kB / 469.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.6252, allocations: 123.4 kB / 469.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6254, allocations: 24 kB / 469.6 MB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.627, allocations: 0.5634 MB / 470.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.627, allocations: 0 / 470.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.6271, allocations: 12 kB / 470.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.6271, allocations: 11.95 kB / 470.1 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.6291, allocations: 0.6299 MB / 470.8 MB, free: 9.734 MB / 394.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.002611/0.6318, allocations: 1.622 MB / 472.4 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.6322, allocations: 154.5 kB / 472.5 MB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009577/0.6332, allocations: 0.6696 MB / 473.2 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.6333, allocations: 35.44 kB / 473.2 MB, free: 7.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 2.628e-06/0.6333, allocations: 0 / 473.2 MB, free: 7.031 MB / 394.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.001362/0.6347, allocations: 337.2 kB / 473.6 MB, free: 6.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.6347, allocations: 51.41 kB / 473.6 MB, free: 6.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.635, allocations: 191.5 kB / 473.8 MB, free: 6.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.635, allocations: 25.7 kB / 473.8 MB, free: 6.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.6352, allocations: 253.7 kB / 474.1 MB, free: 6.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.6353, allocations: 63.09 kB / 474.1 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6353, allocations: 15.94 kB / 474.2 MB, free: 6.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6355, allocations: 322.8 kB / 474.5 MB, free: 5.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.6357, allocations: 64.7 kB / 474.5 MB, free: 5.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.6361, allocations: 260 kB / 474.8 MB, free: 5.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.6364, allocations: 113.8 kB / 474.9 MB, free: 5.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.385e-06/0.6364, allocations: 0 / 474.9 MB, free: 5.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008558/0.6373, allocations: 364.7 kB / 475.3 MB, free: 4.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6373, allocations: 8.906 kB / 475.3 MB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.6374, allocations: 8 kB / 475.3 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.6374, allocations: 8 kB / 475.3 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.638, allocations: 127.8 kB / 475.4 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005054/0.6385, allocations: 0.6094 MB / 476 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.6389, allocations: 43.53 kB / 476.1 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.639, allocations: 45.98 kB / 476.1 MB, free: 4.008 MB / 394.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.0001935/0.6392, allocations: 149 kB / 476.3 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.6393, allocations: 15.81 kB / 476.3 MB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.6404, allocations: 300.9 kB / 476.6 MB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-06/0.6404, allocations: 3.953 kB / 476.6 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.125e-06/0.6404, allocations: 4 kB / 476.6 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.745e-06/0.6404, allocations: 0 / 476.6 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009233/0.6414, allocations: 0.5172 MB / 477.1 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.6414, allocations: 0 / 477.1 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.6417, allocations: 59.84 kB / 477.1 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-06/0.6417, allocations: 0 / 477.1 MB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.6418, allocations: 11.98 kB / 477.2 MB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004516/0.6422, allocations: 0.5899 MB / 477.7 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.038e-06/0.6422, allocations: 4.031 kB / 477.8 MB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.6427, allocations: 271.1 kB / 478 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.6429, allocations: 116.8 kB / 478.1 MB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.643, allocations: 0 / 478.1 MB, free: 1.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.6433, allocations: 23.97 kB / 478.2 MB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.6434, allocations: 19.91 kB / 478.2 MB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.6434, allocations: 19.95 kB / 478.2 MB, free: 1.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.6436, allocations: 135 kB / 478.3 MB, free: 1.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.6436, allocations: 0 / 478.3 MB, free: 1.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008634/0.6445, allocations: 187.9 kB / 478.5 MB, free: 1.453 MB / 394.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 (15): * Single equations (assignments): 14 * 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.0008946/0.6454, allocations: 322.7 kB / 478.8 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.6461, allocations: 233.2 kB / 479.1 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.76e-06/0.6461, allocations: 0 / 479.1 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.6464, allocations: 79.89 kB / 479.1 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.6468, allocations: 55.98 kB / 479.2 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.648, allocations: 0.5664 MB / 479.7 MB, free: 164 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.6485, allocations: 0.7328 MB / 480.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.6488, allocations: 63.41 kB / 480.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of SimCode: time 4.799e-06/0.6488, allocations: 0 / 480.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of Templates: time 0.01195/0.6608, allocations: 5.849 MB / 486.4 MB, free: 9.488 MB / 410.7 MB