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_ph.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_ph,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_ph") Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007614/0.0007617, allocations: 12 kB / 314.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2871, allocations: 54.87 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01112/0.2983, allocations: 7.453 MB / 376.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.3187, allocations: 12.87 MB / 389.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.319, allocations: 0 / 389.5 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.3193, allocations: 71.61 kB / 389.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009171/0.3285, allocations: 2.59 MB / 392.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.3291, allocations: 135.8 kB / 392.3 MB, free: 3.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.3414, allocations: 7.134 MB / 399.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.882e-05/0.3415, allocations: 16.39 kB / 399.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.3418, allocations: 143.5 kB / 399.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02328/0.365, allocations: 13.82 MB / 413.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.3651, allocations: 8 kB / 413.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006261/0.3714, allocations: 2.146 MB / 415.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3716, allocations: 39.88 kB / 415.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.3717, allocations: 69.58 kB / 415.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.3745, allocations: 1.017 MB / 416.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.109e-06/0.3745, allocations: 0 / 416.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3746, allocations: 0 / 416.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.88e-06/0.3746, allocations: 0 / 416.7 MB, free: 11.13 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.002509/0.3771, allocations: 0.8656 MB / 417.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3771, allocations: 8.031 kB / 417.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007347/0.3779, allocations: 79.66 kB / 417.6 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3783, allocations: 242.7 kB / 417.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.3783, allocations: 20.56 kB / 417.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.3784, allocations: 31.95 kB / 417.9 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.3796, allocations: 477.5 kB / 418.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3796, allocations: 0 / 418.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.3797, allocations: 23.94 kB / 418.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3797, allocations: 8 kB / 418.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.3812, allocations: 0.6774 MB / 419.1 MB, free: 8.59 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.009069/0.3903, allocations: 4.315 MB / 423.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.3911, allocations: 167.1 kB / 423.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02902/0.4201, allocations: 14.36 MB / 437.9 MB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008944/0.421, allocations: 318 kB / 438.3 MB, free: 2.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.186e-06/0.4211, allocations: 4 kB / 438.3 MB, free: 2.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001805/0.4229, allocations: 438.3 kB / 438.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002938/0.4232, allocations: 490.8 kB / 439.2 MB, free: 1.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.4235, allocations: 186.2 kB / 439.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.4235, allocations: 33.7 kB / 439.4 MB, free: 1.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.4237, allocations: 254 kB / 439.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.4238, allocations: 98.58 kB / 439.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.4239, allocations: 8 kB / 439.7 MB, free: 1.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.424, allocations: 330.8 kB / 440.1 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.4242, allocations: 64.83 kB / 440.1 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.4246, allocations: 306.8 kB / 440.4 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.4249, allocations: 124.2 kB / 440.5 MB, free: 404 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.649e-06/0.4249, allocations: 3.938 kB / 440.5 MB, free: 400 kB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008962/0.4258, allocations: 393.2 kB / 440.9 MB, free: 0 / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.4258, allocations: 8.047 kB / 440.9 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4259, allocations: 8 kB / 440.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.4259, allocations: 12 kB / 441 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.4263, allocations: 107.8 kB / 441.1 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.4264, allocations: 15.94 kB / 441.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.4267, allocations: 52 kB / 441.1 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.4268, allocations: 31.98 kB / 441.2 MB, free: 15.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.427, allocations: 157.5 kB / 441.3 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.4272, allocations: 35.7 kB / 441.3 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.4288, allocations: 0.7938 MB / 442.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.4288, allocations: 12.2 kB / 442.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-06/0.4288, allocations: 7.938 kB / 442.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.432e-06/0.4288, allocations: 3.984 kB / 442.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.4305, allocations: 1.211 MB / 443.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4305, allocations: 0 / 443.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.4307, allocations: 31.92 kB / 443.4 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.4307, allocations: 12.05 kB / 443.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.4308, allocations: 12 kB / 443.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.239e-06/0.4308, allocations: 7.984 kB / 443.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.4308, allocations: 7.938 kB / 443.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.4313, allocations: 372.5 kB / 443.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.4316, allocations: 220.1 kB / 444 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.4317, allocations: 8 kB / 444 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.4321, allocations: 20.08 kB / 444.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.4321, allocations: 15.92 kB / 444.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.4322, allocations: 15.95 kB / 444.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004396/0.4326, allocations: 290.9 kB / 444.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.4326, allocations: 0 / 444.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00157/0.4342, allocations: 415.6 kB / 444.8 MB, free: 11.9 MB / 378.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/0.4359, allocations: 0.6363 MB / 445.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.4365, allocations: 228.7 kB / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.296e-06/0.4365, allocations: 0 / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.4366, allocations: 81.48 kB / 445.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.4373, allocations: 85.95 kB / 445.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.4393, allocations: 1.17 MB / 447 MB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.4399, allocations: 0.8187 MB / 447.8 MB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.44, allocations: 43.42 kB / 447.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of SimCode: time 4.061e-06/0.44, allocations: 0 / 447.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of Templates: time 0.02188/0.4619, allocations: 11.22 MB / 459.1 MB, free: 13.52 MB / 394.7 MB