Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 1.928/1.928, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 8 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3736, allocations: 48.71 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.564, allocations: 366.3 MB / 0.6817 GB, free: 120.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.565, allocations: 79.52 kB / 0.6818 GB, free: 120.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07652/1.641, allocations: 21.23 MB / 0.7026 GB, free: 102.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.641, allocations: 4 kB / 0.7026 GB, free: 102.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/1.641, allocations: 4 kB / 0.7026 GB, free: 102.9 MB / 442.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.001267/1.643, allocations: 0.5638 MB / 0.7031 GB, free: 102.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.643, allocations: 12.03 kB / 0.7031 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/1.643, allocations: 35.33 kB / 0.7032 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/1.643, allocations: 225.1 kB / 0.7034 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/1.643, allocations: 126.6 kB / 0.7035 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/1.643, allocations: 22.75 kB / 0.7035 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/1.644, allocations: 328.8 kB / 0.7038 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/1.644, allocations: 4 kB / 0.7038 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/1.644, allocations: 11.06 kB / 0.7038 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/1.644, allocations: 11.98 kB / 0.7039 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/1.645, allocations: 0.7361 MB / 0.7046 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/1.647, allocations: 1.149 MB / 0.7057 GB, free: 99.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/1.647, allocations: 164.5 kB / 0.7059 GB, free: 99.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/1.65, allocations: 2.652 MB / 0.7084 GB, free: 96.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.65, allocations: 38.56 kB / 0.7085 GB, free: 96.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 3.086e-06/1.65, allocations: 0 / 0.7085 GB, free: 96.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000891/1.651, allocations: 236.1 kB / 0.7087 GB, free: 96.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/1.651, allocations: 55.36 kB / 0.7088 GB, free: 96.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/1.651, allocations: 211.5 kB / 0.709 GB, free: 96.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/1.652, allocations: 25.7 kB / 0.709 GB, free: 96.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/1.652, allocations: 279.3 kB / 0.7092 GB, free: 95.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/1.652, allocations: 58.75 kB / 0.7093 GB, free: 95.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/1.652, allocations: 11.12 kB / 0.7093 GB, free: 95.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/1.652, allocations: 325.9 kB / 0.7096 GB, free: 95.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/1.652, allocations: 55.58 kB / 0.7097 GB, free: 95.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/1.652, allocations: 315.3 kB / 0.71 GB, free: 95.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/1.652, allocations: 97.98 kB / 0.7101 GB, free: 95.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.652, allocations: 0 / 0.7101 GB, free: 95.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007609/1.653, allocations: 371 kB / 0.7104 GB, free: 94.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.653, allocations: 8 kB / 0.7104 GB, free: 94.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.653, allocations: 8 kB / 0.7104 GB, free: 94.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.54e-05/1.653, allocations: 19.94 kB / 0.7105 GB, free: 94.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/1.654, allocations: 111.4 kB / 0.7106 GB, free: 94.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/1.654, allocations: 23.92 kB / 0.7106 GB, free: 94.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/1.654, allocations: 23.59 kB / 0.7106 GB, free: 94.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/1.654, allocations: 31.62 kB / 0.7106 GB, free: 94.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0001677/1.655, allocations: 147.9 kB / 0.7108 GB, free: 94.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/1.655, allocations: 15.81 kB / 0.7108 GB, free: 94.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/1.655, allocations: 198.2 kB / 0.711 GB, free: 94.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/1.655, allocations: 0 / 0.711 GB, free: 94.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.655, allocations: 0 / 0.711 GB, free: 94.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.655, allocations: 0 / 0.711 GB, free: 94.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/1.656, allocations: 460.6 kB / 0.7114 GB, free: 93.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.656, allocations: 4 kB / 0.7114 GB, free: 93.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/1.656, allocations: 23.98 kB / 0.7115 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/1.656, allocations: 4 kB / 0.7115 GB, free: 93.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/1.656, allocations: 7.625 kB / 0.7115 GB, free: 93.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.656, allocations: 7.953 kB / 0.7115 GB, free: 93.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.656, allocations: 0 / 0.7115 GB, free: 93.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/1.657, allocations: 227.8 kB / 0.7117 GB, free: 93.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.657, allocations: 112.1 kB / 0.7118 GB, free: 93.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/1.657, allocations: 4 kB / 0.7118 GB, free: 93.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/1.657, allocations: 11.72 kB / 0.7118 GB, free: 93.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/1.657, allocations: 15.92 kB / 0.7118 GB, free: 93.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/1.657, allocations: 15.98 kB / 0.7118 GB, free: 93.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001517/1.658, allocations: 147 kB / 0.712 GB, free: 93.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.658, allocations: 0 / 0.712 GB, free: 93.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007094/1.658, allocations: 102.9 kB / 0.7121 GB, free: 93.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0003243/1.659, allocations: 174.8 kB / 0.7122 GB, free: 92.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004269/1.659, allocations: 175.7 kB / 0.7124 GB, free: 92.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.659, allocations: 7.938 kB / 0.7124 GB, free: 92.72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/1.659, allocations: 31.11 kB / 0.7125 GB, free: 92.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/1.66, allocations: 43.14 kB / 0.7125 GB, free: 92.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/1.679, allocations: 6.048 MB / 0.7184 GB, free: 87.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/1.679, allocations: 0.7287 MB / 0.7191 GB, free: 86.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/1.679, allocations: 35.36 kB / 0.7191 GB, free: 86.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/1.679, allocations: 4 kB / 0.7191 GB, free: 86.92 MB / 442.7 MB Notification: Performance of Templates: time 0.007969/1.687, allocations: 3.466 MB / 0.7225 GB, free: 83.47 MB / 442.7 MB