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.IncompleteMedia.ReferenceAir_pT.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.IncompleteMedia.ReferenceAir_pT,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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004297, allocations: 11.98 kB / 314.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2822, allocations: 54.86 MB / 369.2 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.0117/0.2939, allocations: 7.453 MB / 376.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.315, allocations: 12.87 MB / 389.5 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.3153, allocations: 4 kB / 389.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.3156, allocations: 67.61 kB / 389.6 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009386/0.325, allocations: 2.59 MB / 392.2 MB, free: 3.527 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006114/0.3256, allocations: 135.8 kB / 392.3 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.3379, allocations: 7.134 MB / 399.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.676e-05/0.338, allocations: 20.39 kB / 399.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.3383, allocations: 143.5 kB / 399.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02297/0.3613, allocations: 13.81 MB / 413.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.3614, allocations: 8 kB / 413.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00702/0.3684, allocations: 2.408 MB / 415.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3686, allocations: 43.86 kB / 415.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.3687, allocations: 69.58 kB / 415.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.3719, allocations: 1.138 MB / 417.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.372, allocations: 0 / 417.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.372, allocations: 4 kB / 417.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.372, allocations: 4 kB / 417.1 MB, free: 10.59 MB / 346.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.002721/0.3748, allocations: 0.8968 MB / 418 MB, free: 9.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3748, allocations: 12.03 kB / 418 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007632/0.3756, allocations: 79.66 kB / 418.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.376, allocations: 250.7 kB / 418.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.376, allocations: 20.56 kB / 418.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.3761, allocations: 31.94 kB / 418.4 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.3774, allocations: 481.5 kB / 418.8 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3774, allocations: 3.938 kB / 418.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.3775, allocations: 15.94 kB / 418.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3775, allocations: 4 kB / 418.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.379, allocations: 0.6773 MB / 419.5 MB, free: 8.016 MB / 346.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.008292/0.3873, allocations: 3.147 MB / 422.7 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.3882, allocations: 216 kB / 422.9 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1006/0.4888, allocations: 31.46 MB / 454.4 MB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.4904, allocations: 337.9 kB / 454.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 4.441e-06/0.4904, allocations: 0 / 454.7 MB, free: 1.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003969/0.4944, allocations: 0.856 MB / 455.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000292/0.4948, allocations: 482.9 kB / 456 MB, free: 468 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.495, allocations: 154.3 kB / 456.2 MB, free: 304 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.495, allocations: 33.7 kB / 456.2 MB, free: 264 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.4952, allocations: 238.4 kB / 456.4 MB, free: 24 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4954, allocations: 126.1 kB / 456.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.4954, allocations: 8 kB / 456.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.4956, allocations: 334.8 kB / 456.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.4959, allocations: 65.08 kB / 457 MB, free: 15.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.4964, allocations: 305.9 kB / 457.3 MB, free: 15.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.4966, allocations: 123.7 kB / 457.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.079e-06/0.4967, allocations: 4 kB / 457.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009517/0.4976, allocations: 401.1 kB / 457.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4977, allocations: 8 kB / 457.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.4977, allocations: 8 kB / 457.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.4977, allocations: 16 kB / 457.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.5, allocations: 260.1 kB / 458.1 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.501, allocations: 1.18 MB / 459.2 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.5014, allocations: 23.91 kB / 459.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.5014, allocations: 36.17 kB / 459.3 MB, free: 12.98 MB / 394.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 (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.5017, allocations: 157.6 kB / 459.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.5018, allocations: 23.81 kB / 459.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.5039, allocations: 0.966 MB / 460.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.5039, allocations: 8 kB / 460.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.504, allocations: 4 kB / 460.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.504, allocations: 7.984 kB / 460.5 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.5062, allocations: 1.422 MB / 461.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5062, allocations: 4 kB / 461.9 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.5075, allocations: 151.9 kB / 462 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.5075, allocations: 7.938 kB / 462 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.5076, allocations: 11.98 kB / 462 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000507/0.5081, allocations: 0.586 MB / 462.6 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.46e-06/0.5081, allocations: 0 / 462.6 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.5091, allocations: 0.5162 MB / 463.1 MB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.5093, allocations: 224 kB / 463.4 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.5094, allocations: 8 kB / 463.4 MB, free: 8.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.5098, allocations: 19.98 kB / 463.4 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.5099, allocations: 27.92 kB / 463.4 MB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.5099, allocations: 12 kB / 463.4 MB, free: 8.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004357/0.5104, allocations: 271.1 kB / 463.7 MB, free: 8.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5104, allocations: 0 / 463.7 MB, free: 8.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001817/0.5122, allocations: 467.5 kB / 464.2 MB, free: 7.832 MB / 394.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002091/0.5144, allocations: 0.6937 MB / 464.8 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.5163, allocations: 398.7 kB / 465.2 MB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/0.5163, allocations: 8.125 kB / 465.2 MB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.5176, allocations: 215.7 kB / 465.5 MB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.5184, allocations: 96.58 kB / 465.6 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.5208, allocations: 1.314 MB / 466.9 MB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.5214, allocations: 0.8351 MB / 467.7 MB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5216, allocations: 43.42 kB / 467.7 MB, free: 4.152 MB / 394.7 MB Notification: Performance of SimCode: time 1.638e-06/0.5216, allocations: 4 kB / 467.7 MB, free: 4.148 MB / 394.7 MB Notification: Performance of Templates: time 0.2982/0.8198, allocations: 13.61 MB / 481.4 MB, free: 94.55 MB / 394.7 MB