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.ReferenceMoistAir.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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.864/1.864, allocations: 209.3 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004417, allocations: 16 kB / 282.5 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2901, allocations: 48.7 MB / 331.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03464/0.3248, allocations: 22.39 MB / 353.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01871/0.3435, allocations: 10.46 MB / 364 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.3438, allocations: 0 / 364 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3441, allocations: 55.7 kB / 364.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02251/0.3667, allocations: 6.227 MB / 370.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007792/0.3675, allocations: 207.6 kB / 370.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006405/0.3681, allocations: 315.9 kB / 370.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.3682, allocations: 12.31 kB / 370.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.3686, allocations: 187.4 kB / 371 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02035/0.389, allocations: 11.07 MB / 382.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.3891, allocations: 8 kB / 382.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02714/0.4162, allocations: 11.19 MB / 393.3 MB, free: 340 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.4164, allocations: 75.83 kB / 393.4 MB, free: 264 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.4166, allocations: 77.58 kB / 393.4 MB, free: 180 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.4274, allocations: 4.058 MB / 397.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.172e-06/0.4275, allocations: 0 / 397.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.841e-06/0.4275, allocations: 0 / 397.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.039e-06/0.4275, allocations: 0 / 397.5 MB, free: 12.11 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004516/0.432, allocations: 1.455 MB / 399 MB, free: 10.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4321, allocations: 8.031 kB / 399 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.4323, allocations: 35.7 kB / 399 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.4327, allocations: 242.6 kB / 399.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.4327, allocations: 24.55 kB / 399.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/0.4328, allocations: 24 kB / 399.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4339, allocations: 0.4934 MB / 399.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.4339, allocations: 11.88 kB / 399.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.434, allocations: 8 kB / 399.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/0.4341, allocations: 28.55 kB / 399.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.4357, allocations: 0.8881 MB / 400.7 MB, free: 8.785 MB / 330.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.002876/0.4386, allocations: 1.863 MB / 402.6 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/0.4396, allocations: 341 kB / 402.9 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02091/0.4605, allocations: 13.22 MB / 416.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006198/0.4612, allocations: 237.2 kB / 416.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.478e-06/0.4612, allocations: 0 / 416.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.002976/0.4642, allocations: 0.7775 MB / 417.1 MB, free: 5.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.4644, allocations: 261 kB / 417.4 MB, free: 5.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.4647, allocations: 215.2 kB / 417.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.4647, allocations: 33.7 kB / 417.6 MB, free: 5.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.4649, allocations: 261.9 kB / 417.9 MB, free: 4.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4651, allocations: 126.2 kB / 418 MB, free: 4.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.4651, allocations: 8 kB / 418 MB, free: 4.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4653, allocations: 330.8 kB / 418.3 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.4656, allocations: 92.98 kB / 418.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.4662, allocations: 361.6 kB / 418.8 MB, free: 3.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/0.4667, allocations: 151.8 kB / 418.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.283e-06/0.4667, allocations: 0 / 418.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001719/0.4685, allocations: 492.9 kB / 419.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4685, allocations: 8 kB / 419.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4685, allocations: 8 kB / 419.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.4686, allocations: 16 kB / 419.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.4695, allocations: 176.4 kB / 419.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000942/0.4704, allocations: 1.191 MB / 420.8 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004381/0.4709, allocations: 31.94 kB / 420.8 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.471, allocations: 56.14 kB / 420.9 MB, free: 1.617 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (66): * Single equations (assignments): 64 * 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.0002604/0.4713, allocations: 169.5 kB / 421.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.4716, allocations: 27.72 kB / 421.1 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.4731, allocations: 486.3 kB / 421.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.4731, allocations: 8.031 kB / 421.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.344e-06/0.4731, allocations: 3.938 kB / 421.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.519e-06/0.4732, allocations: 3.984 kB / 421.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.4745, allocations: 0.6101 MB / 422.2 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4745, allocations: 7.938 kB / 422.2 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.4752, allocations: 91.98 kB / 422.3 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.493e-06/0.4752, allocations: 4.125 kB / 422.3 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.4752, allocations: 11.98 kB / 422.3 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008821/0.4761, allocations: 1.168 MB / 423.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.4762, allocations: 3.938 kB / 423.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000792/0.477, allocations: 320 kB / 423.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.4771, allocations: 128.7 kB / 423.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.4772, allocations: 8 kB / 423.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.4775, allocations: 19.98 kB / 423.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.4776, allocations: 23.92 kB / 424 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.4777, allocations: 11.98 kB / 424 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002316/0.4779, allocations: 164.5 kB / 424.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4779, allocations: 0 / 424.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004842/0.4828, allocations: 1.589 MB / 425.7 MB, free: 12.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.008501/0.4913, allocations: 2.034 MB / 427.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4928, allocations: 324.7 kB / 428.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.782e-06/0.4928, allocations: 0 / 428.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006036/0.4934, allocations: 127.2 kB / 428.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.494, allocations: 64.38 kB / 428.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4954, allocations: 0.6635 MB / 428.9 MB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.4959, allocations: 0.7605 MB / 429.7 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.4962, allocations: 63.39 kB / 429.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of SimCode: time 1.787e-06/0.4962, allocations: 0 / 429.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of Templates: time 0.07602/0.5722, allocations: 39.06 MB / 468.8 MB, free: 1.348 MB / 394.7 MB