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.SimpleAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.962e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3113, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8615/1.173, allocations: 365.6 MB / 0.6695 GB, free: 102.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/1.173, allocations: 71.97 kB / 0.6696 GB, free: 102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0683/1.241, allocations: 21.04 MB / 0.6901 GB, free: 80.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.33e-06/1.241, allocations: 0 / 0.6901 GB, free: 80.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/1.242, allocations: 4 kB / 0.6901 GB, free: 80.83 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001048/1.243, allocations: 0.5611 MB / 0.6907 GB, free: 80.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.243, allocations: 8.031 kB / 0.6907 GB, free: 80.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/1.243, allocations: 27.8 kB / 0.6907 GB, free: 80.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/1.243, allocations: 234.6 kB / 0.6909 GB, free: 79.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/1.243, allocations: 119.4 kB / 0.691 GB, free: 79.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/1.243, allocations: 16 kB / 0.6911 GB, free: 79.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008718/1.244, allocations: 0.7152 MB / 0.6917 GB, free: 79.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/1.245, allocations: 281.7 kB / 0.692 GB, free: 78.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.245, allocations: 0 / 0.692 GB, free: 78.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/1.245, allocations: 4 kB / 0.692 GB, free: 78.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/1.245, allocations: 4 kB / 0.692 GB, free: 78.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/1.247, allocations: 3.202 MB / 0.6952 GB, free: 75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/1.248, allocations: 62.55 kB / 0.6952 GB, free: 74.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/1.248, allocations: 28.95 kB / 0.6952 GB, free: 74.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/1.248, allocations: 0.5266 MB / 0.6958 GB, free: 74.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.248, allocations: 38.55 kB / 0.6958 GB, free: 74.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 3.218e-06/1.249, allocations: 0 / 0.6958 GB, free: 74.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.000614/1.249, allocations: 148.9 kB / 0.6959 GB, free: 74.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/1.249, allocations: 55.41 kB / 0.696 GB, free: 74.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/1.249, allocations: 199.7 kB / 0.6962 GB, free: 73.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/1.249, allocations: 29.7 kB / 0.6962 GB, free: 73.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/1.25, allocations: 296.9 kB / 0.6965 GB, free: 73.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/1.25, allocations: 35.55 kB / 0.6965 GB, free: 73.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/1.25, allocations: 0 / 0.6965 GB, free: 73.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/1.25, allocations: 330.8 kB / 0.6968 GB, free: 73.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/1.25, allocations: 32.88 kB / 0.6969 GB, free: 73.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/1.25, allocations: 316.1 kB / 0.6972 GB, free: 72.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/1.25, allocations: 107.9 kB / 0.6973 GB, free: 72.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.573e-06/1.25, allocations: 7.875 kB / 0.6973 GB, free: 72.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007617/1.251, allocations: 325.8 kB / 0.6976 GB, free: 72.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.251, allocations: 10.34 kB / 0.6976 GB, free: 72.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.251, allocations: 12 kB / 0.6976 GB, free: 72.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/1.251, allocations: 12 kB / 0.6976 GB, free: 72.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/1.252, allocations: 111.8 kB / 0.6977 GB, free: 72.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/1.252, allocations: 19.89 kB / 0.6977 GB, free: 72.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/1.252, allocations: 15.94 kB / 0.6978 GB, free: 72.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/1.252, allocations: 32.2 kB / 0.6978 GB, free: 72.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001128/1.252, allocations: 128.7 kB / 0.6979 GB, free: 71.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/1.252, allocations: 19.81 kB / 0.6979 GB, free: 71.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/1.253, allocations: 83.5 kB / 0.698 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/1.253, allocations: 4 kB / 0.698 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-06/1.253, allocations: 0 / 0.698 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.354e-06/1.253, allocations: 3.953 kB / 0.698 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/1.253, allocations: 375.9 kB / 0.6984 GB, free: 71.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-06/1.253, allocations: 0 / 0.6984 GB, free: 71.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/1.253, allocations: 19.98 kB / 0.6984 GB, free: 71.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/1.253, allocations: 0 / 0.6984 GB, free: 71.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.253, allocations: 7.938 kB / 0.6984 GB, free: 71.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.804e-06/1.253, allocations: 3.938 kB / 0.6984 GB, free: 71.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.801e-06/1.253, allocations: 7.953 kB / 0.6984 GB, free: 71.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/1.254, allocations: 205.9 kB / 0.6986 GB, free: 71.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.266e-05/1.254, allocations: 112.8 kB / 0.6987 GB, free: 70.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/1.254, allocations: 3.984 kB / 0.6987 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/1.254, allocations: 8.141 kB / 0.6987 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/1.254, allocations: 7.984 kB / 0.6987 GB, free: 70.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/1.254, allocations: 11.92 kB / 0.6988 GB, free: 70.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001051/1.254, allocations: 136.5 kB / 0.6989 GB, free: 70.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.44e-07/1.254, allocations: 0 / 0.6989 GB, free: 70.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006876/1.255, allocations: 91.92 kB / 0.699 GB, free: 70.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002581/1.255, allocations: 171.2 kB / 0.6991 GB, free: 70.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/1.256, allocations: 149.9 kB / 0.6993 GB, free: 70.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.53e-06/1.256, allocations: 0 / 0.6993 GB, free: 70.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/1.256, allocations: 23.94 kB / 0.6993 GB, free: 70.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/1.256, allocations: 28.92 kB / 0.6993 GB, free: 70.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/1.257, allocations: 204.7 kB / 0.6995 GB, free: 70.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/1.257, allocations: 0.7325 MB / 0.7002 GB, free: 69.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/1.257, allocations: 35.42 kB / 0.7003 GB, free: 69.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.477e-06/1.257, allocations: 4 kB / 0.7003 GB, free: 69.29 MB / 426.7 MB Notification: Performance of Templates: time 0.006052/1.263, allocations: 3.327 MB / 0.7035 GB, free: 65.97 MB / 426.7 MB