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_dT.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_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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.000447, allocations: 15.98 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2797, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01114/0.2909, allocations: 7.445 MB / 376.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.3112, allocations: 12.87 MB / 389.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.3115, allocations: 0 / 389.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.3118, allocations: 63.67 kB / 389.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009317/0.3211, allocations: 2.597 MB / 392.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.3217, allocations: 135.8 kB / 392.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.3339, allocations: 7.13 MB / 399.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.334, allocations: 16.39 kB / 399.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.3343, allocations: 147.5 kB / 399.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02303/0.3573, allocations: 13.81 MB / 413.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.3574, allocations: 15.88 kB / 413.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006073/0.3635, allocations: 2.123 MB / 415.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3636, allocations: 39.88 kB / 415.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3638, allocations: 73.58 kB / 415.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002769/0.3666, allocations: 1.017 MB / 416.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.893e-06/0.3666, allocations: 0 / 416.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.507e-06/0.3666, allocations: 0 / 416.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.15e-06/0.3666, allocations: 0 / 416.7 MB, free: 11.26 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.002534/0.3692, allocations: 0.8631 MB / 417.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3692, allocations: 12.02 kB / 417.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000724/0.37, allocations: 79.66 kB / 417.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.3703, allocations: 242.7 kB / 417.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.3704, allocations: 24.56 kB / 417.9 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.3705, allocations: 27.95 kB / 417.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.3717, allocations: 477.5 kB / 418.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3717, allocations: 0 / 418.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.3718, allocations: 20 kB / 418.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3718, allocations: 8 kB / 418.4 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.3733, allocations: 0.6773 MB / 419.1 MB, free: 8.723 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.007954/0.3813, allocations: 3.111 MB / 422.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.3822, allocations: 220.1 kB / 422.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.096/0.4782, allocations: 28.79 MB / 451.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009763/0.4792, allocations: 341.8 kB / 451.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 7.696e-06/0.4792, allocations: 3.984 kB / 451.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.004003/0.4832, allocations: 0.9701 MB / 452.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003001/0.4836, allocations: 487.2 kB / 453 MB, free: 4.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.4838, allocations: 154.3 kB / 453.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.4839, allocations: 37.7 kB / 453.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.484, allocations: 226.4 kB / 453.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.4842, allocations: 130.1 kB / 453.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.4842, allocations: 12 kB / 453.5 MB, free: 3.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4844, allocations: 326.8 kB / 453.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.4846, allocations: 69.08 kB / 453.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.485, allocations: 325.8 kB / 454.2 MB, free: 2.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.4853, allocations: 119.8 kB / 454.3 MB, free: 2.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.113e-06/0.4853, allocations: 0 / 454.3 MB, free: 2.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001072/0.4864, allocations: 439.1 kB / 454.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4865, allocations: 8 kB / 454.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.4865, allocations: 8 kB / 454.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.4889, allocations: 309.7 kB / 455.1 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.4894, allocations: 107.8 kB / 455.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009978/0.4904, allocations: 1.219 MB / 456.4 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.4908, allocations: 20.09 kB / 456.4 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.4908, allocations: 31.98 kB / 456.5 MB, free: 0.4922 MB / 378.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.0002356/0.4911, allocations: 165.5 kB / 456.6 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/0.4912, allocations: 27.81 kB / 456.7 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.4934, allocations: 1.072 MB / 457.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.4934, allocations: 15.92 kB / 457.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.169e-06/0.4935, allocations: 0 / 457.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4935, allocations: 4 kB / 457.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.4957, allocations: 1.548 MB / 459.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.034e-06/0.4958, allocations: 0 / 459.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.496, allocations: 43.92 kB / 459.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.4976, allocations: 257.3 kB / 459.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.4977, allocations: 11.95 kB / 459.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.4987, allocations: 1.266 MB / 460.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.438e-06/0.4988, allocations: 4 kB / 460.9 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009655/0.4997, allocations: 0.5989 MB / 461.5 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.5, allocations: 228 kB / 461.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.5001, allocations: 8 kB / 461.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.5005, allocations: 19.98 kB / 461.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.5005, allocations: 23.88 kB / 461.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.5006, allocations: 15.98 kB / 461.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004245/0.501, allocations: 271.1 kB / 462 MB, free: 10.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.501, allocations: 4 kB / 462 MB, free: 10.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001595/0.5026, allocations: 443.6 kB / 462.5 MB, free: 10.16 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 (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.001705/0.5044, allocations: 0.6504 MB / 463.1 MB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008568/0.5052, allocations: 360.1 kB / 463.5 MB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.774e-06/0.5053, allocations: 0.6875 kB / 463.5 MB, free: 9.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.5057, allocations: 233.5 kB / 463.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.5064, allocations: 90.47 kB / 463.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.5088, allocations: 1.34 MB / 465.1 MB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.5094, allocations: 0.839 MB / 466 MB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.5095, allocations: 39.42 kB / 466 MB, free: 6.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.508e-06/0.5096, allocations: 0 / 466 MB, free: 6.52 MB / 394.7 MB Notification: Performance of Templates: time 0.2748/0.7844, allocations: 14.75 MB / 480.8 MB, free: 94.72 MB / 394.7 MB