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.137/2.137, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004584, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 54.86 MB / 369.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5069/0.7873, allocations: 126.1 MB / 495.3 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009026/0.7964, allocations: 6.817 MB / 0.4904 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.7967, allocations: 6.719 kB / 0.4904 GB, free: 13.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.7969, allocations: 45.39 kB / 0.4904 GB, free: 13.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.801, allocations: 1.157 MB / 0.4915 GB, free: 13.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.8015, allocations: 143.5 kB / 0.4917 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.8021, allocations: 265.5 kB / 0.4919 GB, free: 13.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.8022, allocations: 18.06 kB / 0.4919 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.8025, allocations: 167.7 kB / 0.4921 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.8029, allocations: 155.9 kB / 0.4923 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.8029, allocations: 4.875 kB / 0.4923 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.8061, allocations: 1.112 MB / 0.4933 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.8062, allocations: 43.17 kB / 0.4934 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.8064, allocations: 63.52 kB / 0.4934 GB, free: 13.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.808, allocations: 0.6351 MB / 0.4941 GB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.808, allocations: 0 / 0.4941 GB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.399e-06/0.808, allocations: 4 kB / 0.4941 GB, free: 12.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.022e-06/0.8081, allocations: 0 / 0.4941 GB, free: 12.98 MB / 410.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.001643/0.8097, allocations: 0.6581 MB / 0.4947 GB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.8098, allocations: 7.938 kB / 0.4947 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008344/0.8181, allocations: 0.5961 MB / 0.4953 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.8187, allocations: 253.8 kB / 0.4955 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.8189, allocations: 129 kB / 0.4957 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.8191, allocations: 25.88 kB / 0.4957 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.8206, allocations: 0.568 MB / 0.4962 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.8206, allocations: 0 / 0.4962 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.8207, allocations: 8.531 kB / 0.4963 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.8208, allocations: 5.938 kB / 0.4963 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.8226, allocations: 0.6311 MB / 0.4969 GB, free: 11.58 MB / 410.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.002639/0.8253, allocations: 1.625 MB / 0.4985 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.8257, allocations: 158.9 kB / 0.4986 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009815/0.8267, allocations: 0.6769 MB / 0.4993 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.8268, allocations: 32.81 kB / 0.4993 GB, free: 9.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 3.05e-06/0.8268, allocations: 0 / 0.4993 GB, free: 9.465 MB / 410.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.001307/0.8281, allocations: 330.9 kB / 0.4996 GB, free: 9.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.8282, allocations: 53.06 kB / 0.4997 GB, free: 9.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.8284, allocations: 193.1 kB / 0.4999 GB, free: 9.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.8285, allocations: 32.59 kB / 0.4999 GB, free: 9.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.8287, allocations: 247.3 kB / 0.5001 GB, free: 8.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.8288, allocations: 72.94 kB / 0.5002 GB, free: 8.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.8288, allocations: 7.062 kB / 0.5002 GB, free: 8.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.829, allocations: 325.5 kB / 0.5005 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.8292, allocations: 66.61 kB / 0.5006 GB, free: 8.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.8295, allocations: 264.2 kB / 0.5008 GB, free: 8.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.8298, allocations: 119.5 kB / 0.5009 GB, free: 8.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.625e-06/0.8298, allocations: 2.375 kB / 0.5009 GB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000814/0.8306, allocations: 359.2 kB / 0.5013 GB, free: 8.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.8307, allocations: 13.28 kB / 0.5013 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.8307, allocations: 7.656 kB / 0.5013 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.8308, allocations: 10.34 kB / 0.5013 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.8313, allocations: 123.7 kB / 0.5014 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005237/0.8318, allocations: 0.6089 MB / 0.502 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.8322, allocations: 45.12 kB / 0.5021 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.8323, allocations: 44.42 kB / 0.5021 GB, free: 7.461 MB / 410.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.0002179/0.8325, allocations: 144.4 kB / 0.5022 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.8326, allocations: 18.06 kB / 0.5023 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.8337, allocations: 300.6 kB / 0.5026 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.199e-06/0.8337, allocations: 2.125 kB / 0.5026 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.831e-06/0.8337, allocations: 0 / 0.5026 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8338, allocations: 0 / 0.5026 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009178/0.8347, allocations: 0.5239 MB / 0.5031 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.9e-06/0.8347, allocations: 4 kB / 0.5031 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.835, allocations: 62.16 kB / 0.5031 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-06/0.8351, allocations: 2.344 kB / 0.5031 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.8351, allocations: 12.2 kB / 0.5031 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004812/0.8356, allocations: 0.5907 MB / 0.5037 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.8356, allocations: 6.312 kB / 0.5037 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.8361, allocations: 268.7 kB / 0.504 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.8363, allocations: 110.5 kB / 0.5041 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/0.8363, allocations: 11.64 kB / 0.5041 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.8367, allocations: 9.328 kB / 0.5041 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.8367, allocations: 25.41 kB / 0.5041 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.8368, allocations: 15.72 kB / 0.5041 GB, free: 5.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.8369, allocations: 135.2 kB / 0.5043 GB, free: 5.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.837, allocations: 0 / 0.5043 GB, free: 5.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009121/0.8379, allocations: 189.6 kB / 0.5045 GB, free: 5.707 MB / 410.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.0008914/0.8388, allocations: 320.6 kB / 0.5048 GB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.8395, allocations: 224.7 kB / 0.505 GB, free: 5.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.226e-06/0.8395, allocations: 4.438 kB / 0.505 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.8398, allocations: 89.22 kB / 0.5051 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.8402, allocations: 44.64 kB / 0.5051 GB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.8414, allocations: 0.5656 MB / 0.5057 GB, free: 5.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.8418, allocations: 0.7369 MB / 0.5064 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.8422, allocations: 62.67 kB / 0.5064 GB, free: 4.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.915e-06/0.8422, allocations: 0 / 0.5064 GB, free: 4.301 MB / 410.7 MB Notification: Performance of Templates: time 0.01179/0.854, allocations: 5.854 MB / 0.5122 GB, free: 1.27 MB / 410.7 MB