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.IncompleteMedia.ReferenceAir_dT.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.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.3 MB / 224.8 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004786, allocations: 23.98 kB / 282.5 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2847, allocations: 48.7 MB / 331.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.008982/0.2937, allocations: 7.431 MB / 338.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01997/0.3137, allocations: 12.87 MB / 351.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.314, allocations: 1.562 kB / 351.5 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3143, allocations: 54.53 kB / 351.6 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.3246, allocations: 2.592 MB / 354.1 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.3252, allocations: 150.4 kB / 354.3 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.3375, allocations: 7.131 MB / 361.4 MB, free: 280 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.3376, allocations: 16.41 kB / 361.4 MB, free: 264 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3378, allocations: 147.5 kB / 361.6 MB, free: 116 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02311/0.361, allocations: 13.81 MB / 375.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.3611, allocations: 8 kB / 375.4 MB, free: 2.289 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/Air/ReferenceAir.mo:13:10-13:30:writable] Warning: 'each' used when modifying non-array element airConstants. Notification: Performance of NFFlatten.collectFunctions: time 0.006669/0.3678, allocations: 2.127 MB / 377.5 MB, free: 164 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3679, allocations: 39.86 kB / 377.6 MB, free: 124 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.3681, allocations: 73.58 kB / 377.6 MB, free: 44 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.3713, allocations: 1.017 MB / 378.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.762e-06/0.3714, allocations: 0 / 378.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3714, allocations: 0 / 378.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.607e-06/0.3714, allocations: 0 / 378.7 MB, free: 15.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002692/0.3741, allocations: 0.8656 MB / 379.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3742, allocations: 8.031 kB / 379.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.375, allocations: 87.61 kB / 379.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.3754, allocations: 238.7 kB / 379.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.3754, allocations: 20.56 kB / 379.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.3755, allocations: 24 kB / 379.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3768, allocations: 485.4 kB / 380.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3768, allocations: 3.938 kB / 380.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.3769, allocations: 16 kB / 380.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3769, allocations: 8 kB / 380.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.3784, allocations: 0.6851 MB / 381.1 MB, free: 12.48 MB / 314.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.008241/0.3867, allocations: 3.103 MB / 384.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.3876, allocations: 219.3 kB / 384.4 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09555/0.4832, allocations: 28.78 MB / 413.2 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000986/0.4842, allocations: 341.8 kB / 413.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 6.59e-06/0.4842, allocations: 0 / 413.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=37): time 0.004138/0.4884, allocations: 0.9701 MB / 414.5 MB, free: 8.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003031/0.4887, allocations: 486.8 kB / 415 MB, free: 7.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.4889, allocations: 154.3 kB / 415.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.489, allocations: 37.7 kB / 415.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4892, allocations: 226.4 kB / 415.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.4893, allocations: 130.1 kB / 415.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4894, allocations: 12 kB / 415.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4895, allocations: 334.8 kB / 415.8 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4897, allocations: 69.08 kB / 415.9 MB, free: 6.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.4901, allocations: 318.1 kB / 416.2 MB, free: 6.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.4904, allocations: 111.9 kB / 416.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.8e-06/0.4905, allocations: 0 / 416.3 MB, free: 6.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001068/0.4915, allocations: 442.7 kB / 416.8 MB, free: 6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4916, allocations: 8 kB / 416.8 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4916, allocations: 12 kB / 416.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.4941, allocations: 305.9 kB / 417.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.4946, allocations: 103.8 kB / 417.2 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.4956, allocations: 1.223 MB / 418.4 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.496, allocations: 19.91 kB / 418.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.4961, allocations: 32.08 kB / 418.4 MB, free: 4.254 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002583/0.4964, allocations: 165.5 kB / 418.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.4965, allocations: 31.8 kB / 418.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.4987, allocations: 1.072 MB / 419.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.4987, allocations: 11.98 kB / 419.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4988, allocations: 4 kB / 419.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.4988, allocations: 4 kB / 419.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.5011, allocations: 1.555 MB / 421.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.5012, allocations: 7.938 kB / 421.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.5014, allocations: 39.97 kB / 421.3 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00171/0.5032, allocations: 249.5 kB / 421.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.5032, allocations: 8 kB / 421.6 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.5043, allocations: 1.273 MB / 422.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.5043, allocations: 4 kB / 422.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.5053, allocations: 0.5913 MB / 423.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.5056, allocations: 224 kB / 423.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.5057, allocations: 12 kB / 423.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.5061, allocations: 15.98 kB / 423.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.5061, allocations: 31.86 kB / 423.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.5062, allocations: 12 kB / 423.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004224/0.5066, allocations: 271.1 kB / 424 MB, free: 14.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.5066, allocations: 0 / 424 MB, free: 14.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001657/0.5083, allocations: 447.6 kB / 424.4 MB, free: 13.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.5102, allocations: 0.6509 MB / 425.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000919/0.5111, allocations: 352.9 kB / 425.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.5111, allocations: 0 / 425.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.5116, allocations: 233.4 kB / 425.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.5124, allocations: 98.86 kB / 425.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.5152, allocations: 1.336 MB / 427.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.5158, allocations: 0.839 MB / 427.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.516, allocations: 47.41 kB / 428 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.851e-06/0.516, allocations: 0 / 428 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.02725/0.5432, allocations: 14.75 MB / 442.7 MB, free: 11.5 MB / 378.7 MB