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_pT.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_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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 16 kB / 282.5 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2822, allocations: 48.7 MB / 331.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.009038/0.2913, allocations: 7.433 MB / 338.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.3111, allocations: 12.87 MB / 351.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.3114, allocations: 1.062 kB / 351.5 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.3117, allocations: 54.95 kB / 351.6 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.3219, allocations: 2.599 MB / 354.2 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.3225, allocations: 138.7 kB / 354.3 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01224/0.3347, allocations: 7.144 MB / 361.4 MB, free: 256 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.3348, allocations: 20.39 kB / 361.5 MB, free: 236 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.3351, allocations: 131.6 kB / 361.6 MB, free: 104 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0232/0.3583, allocations: 13.82 MB / 375.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.3584, allocations: 8 kB / 375.4 MB, free: 2.266 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.007643/0.3661, allocations: 2.408 MB / 377.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3662, allocations: 43.81 kB / 377.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.3664, allocations: 73.58 kB / 377.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003301/0.3697, allocations: 1.142 MB / 379.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.081e-06/0.3697, allocations: 0 / 379.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.671e-06/0.3698, allocations: 3.938 kB / 379.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.537e-06/0.3698, allocations: 0 / 379.1 MB, free: 14.59 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.002673/0.3724, allocations: 0.9047 MB / 380 MB, free: 13.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3725, allocations: 8.031 kB / 380 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007482/0.3733, allocations: 79.61 kB / 380.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.3736, allocations: 246.7 kB / 380.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.3737, allocations: 20.56 kB / 380.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.3738, allocations: 24 kB / 380.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3751, allocations: 485.4 kB / 380.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3751, allocations: 0 / 380.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.3752, allocations: 12 kB / 380.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.3752, allocations: 8 kB / 380.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.3768, allocations: 0.6851 MB / 381.5 MB, free: 12.01 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.008179/0.385, allocations: 3.14 MB / 384.7 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008507/0.3858, allocations: 211.3 kB / 384.9 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09879/0.4846, allocations: 31.47 MB / 416.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/0.4856, allocations: 341.8 kB / 416.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.333e-06/0.4857, allocations: 0 / 416.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.003387/0.489, allocations: 0.8644 MB / 417.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002886/0.4894, allocations: 474.6 kB / 418 MB, free: 4.441 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.4896, allocations: 158.8 kB / 418.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.4896, allocations: 41.69 kB / 418.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.4898, allocations: 230.4 kB / 418.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.49, allocations: 126.1 kB / 418.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.49, allocations: 8 kB / 418.6 MB, free: 3.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4902, allocations: 326.8 kB / 418.9 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.4904, allocations: 65.08 kB / 418.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.4908, allocations: 306.2 kB / 419.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.491, allocations: 119.8 kB / 419.4 MB, free: 2.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.754e-06/0.4911, allocations: 0 / 419.4 MB, free: 2.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009527/0.492, allocations: 397.5 kB / 419.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4921, allocations: 12 kB / 419.8 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.4921, allocations: 8.094 kB / 419.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.4921, allocations: 19.95 kB / 419.8 MB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.4943, allocations: 259.7 kB / 420 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009189/0.4952, allocations: 1.195 MB / 421.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.4956, allocations: 12 kB / 421.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.4957, allocations: 31.98 kB / 421.3 MB, free: 0.9727 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 (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.000243/0.4959, allocations: 164.8 kB / 421.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/0.496, allocations: 27.72 kB / 421.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.498, allocations: 0.9661 MB / 422.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.4981, allocations: 8 kB / 422.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.608e-06/0.4981, allocations: 8.219 kB / 422.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4981, allocations: 3.984 kB / 422.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.5002, allocations: 1.414 MB / 423.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5002, allocations: 4 kB / 423.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.5015, allocations: 151.8 kB / 424 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.5016, allocations: 4 kB / 424 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.5016, allocations: 15.92 kB / 424 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004505/0.5021, allocations: 0.5899 MB / 424.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.424e-06/0.5021, allocations: 4 kB / 424.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.5029, allocations: 0.5084 MB / 425.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.5032, allocations: 227.9 kB / 425.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.5033, allocations: 15.94 kB / 425.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.5037, allocations: 23.92 kB / 425.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.5037, allocations: 23.91 kB / 425.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.5038, allocations: 20 kB / 425.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004255/0.5042, allocations: 267.1 kB / 425.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.5042, allocations: 0 / 425.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001762/0.506, allocations: 471.6 kB / 426.2 MB, free: 11.81 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 (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.001992/0.508, allocations: 0.6859 MB / 426.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.51, allocations: 393.8 kB / 427.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.951e-06/0.51, allocations: 0 / 427.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.511, allocations: 221.5 kB / 427.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007405/0.5118, allocations: 94.05 kB / 427.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.5142, allocations: 1.307 MB / 428.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.5148, allocations: 0.8351 MB / 429.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.515, allocations: 43.42 kB / 429.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of SimCode: time 1.681e-06/0.515, allocations: 4 kB / 429.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of Templates: time 0.02572/0.5407, allocations: 13.61 MB / 443.3 MB, free: 10.51 MB / 378.7 MB