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/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.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.006/2.006, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004417, allocations: 12 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9218/1.214, allocations: 366.3 MB / 0.6812 GB, free: 108.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/1.214, allocations: 69.28 kB / 0.6813 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06948/1.284, allocations: 21.24 MB / 0.702 GB, free: 87.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.634e-06/1.284, allocations: 0 / 0.702 GB, free: 87.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/1.284, allocations: 0 / 0.702 GB, free: 87.24 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.001154/1.285, allocations: 0.5736 MB / 0.7026 GB, free: 86.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.285, allocations: 8.031 kB / 0.7026 GB, free: 86.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/1.285, allocations: 27.72 kB / 0.7026 GB, free: 86.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/1.286, allocations: 230.8 kB / 0.7029 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/1.286, allocations: 131.3 kB / 0.703 GB, free: 86.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/1.286, allocations: 20 kB / 0.703 GB, free: 86.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/1.287, allocations: 322.8 kB / 0.7033 GB, free: 85.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.287, allocations: 4 kB / 0.7033 GB, free: 85.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/1.287, allocations: 4 kB / 0.7033 GB, free: 85.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/1.287, allocations: 11.94 kB / 0.7033 GB, free: 85.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/1.288, allocations: 0.7391 MB / 0.7041 GB, free: 85.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/1.289, allocations: 1.147 MB / 0.7052 GB, free: 83.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/1.289, allocations: 175.7 kB / 0.7053 GB, free: 83.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00226/1.292, allocations: 2.643 MB / 0.7079 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.292, allocations: 38.56 kB / 0.708 GB, free: 80.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.154e-06/1.292, allocations: 0 / 0.708 GB, free: 80.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008187/1.293, allocations: 234.8 kB / 0.7082 GB, free: 80.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/1.293, allocations: 55.36 kB / 0.7082 GB, free: 80.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/1.293, allocations: 193.9 kB / 0.7084 GB, free: 79.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/1.293, allocations: 25.7 kB / 0.7084 GB, free: 79.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/1.293, allocations: 277.2 kB / 0.7087 GB, free: 79.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/1.293, allocations: 63.19 kB / 0.7088 GB, free: 79.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/1.293, allocations: 8 kB / 0.7088 GB, free: 79.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/1.293, allocations: 326.8 kB / 0.7091 GB, free: 79.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/1.293, allocations: 48.84 kB / 0.7091 GB, free: 79.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/1.293, allocations: 317.1 kB / 0.7094 GB, free: 78.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/1.294, allocations: 103.8 kB / 0.7095 GB, free: 78.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.559e-06/1.294, allocations: 8 kB / 0.7095 GB, free: 78.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006567/1.294, allocations: 372.6 kB / 0.7099 GB, free: 78.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.294, allocations: 9 kB / 0.7099 GB, free: 78.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.294, allocations: 12 kB / 0.7099 GB, free: 78.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.294, allocations: 16 kB / 0.7099 GB, free: 78.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/1.295, allocations: 111.8 kB / 0.71 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/1.295, allocations: 15.94 kB / 0.7101 GB, free: 78.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/1.295, allocations: 23.95 kB / 0.7101 GB, free: 78.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/1.295, allocations: 27.98 kB / 0.7101 GB, free: 78.07 MB / 426.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.0001461/1.295, allocations: 145.7 kB / 0.7102 GB, free: 77.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/1.296, allocations: 15.81 kB / 0.7103 GB, free: 77.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/1.296, allocations: 193.5 kB / 0.7104 GB, free: 77.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/1.296, allocations: 4 kB / 0.7104 GB, free: 77.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.317e-06/1.296, allocations: 0 / 0.7104 GB, free: 77.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.776e-06/1.296, allocations: 12.02 kB / 0.7105 GB, free: 77.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/1.297, allocations: 448.9 kB / 0.7109 GB, free: 77.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.945e-06/1.297, allocations: 0 / 0.7109 GB, free: 77.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/1.297, allocations: 35.97 kB / 0.7109 GB, free: 77.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.297, allocations: 0 / 0.7109 GB, free: 77.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/1.297, allocations: 4.094 kB / 0.7109 GB, free: 77.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.398e-06/1.297, allocations: 11.89 kB / 0.7109 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.297, allocations: 0 / 0.7109 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/1.297, allocations: 258.9 kB / 0.7112 GB, free: 76.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/1.298, allocations: 112.9 kB / 0.7113 GB, free: 76.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/1.298, allocations: 4 kB / 0.7113 GB, free: 76.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/1.298, allocations: 11.98 kB / 0.7113 GB, free: 76.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/1.298, allocations: 15.92 kB / 0.7113 GB, free: 76.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/1.298, allocations: 4 kB / 0.7113 GB, free: 76.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001312/1.298, allocations: 152.5 kB / 0.7115 GB, free: 76.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.33e-07/1.298, allocations: 4 kB / 0.7115 GB, free: 76.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007109/1.299, allocations: 95.94 kB / 0.7116 GB, free: 76.43 MB / 426.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.0002888/1.299, allocations: 180.5 kB / 0.7117 GB, free: 76.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/1.3, allocations: 177.7 kB / 0.7119 GB, free: 76.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.721e-06/1.3, allocations: 320 / 0.7119 GB, free: 76.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/1.3, allocations: 39.92 kB / 0.7119 GB, free: 76.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/1.3, allocations: 40.98 kB / 0.712 GB, free: 76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.317, allocations: 6.057 MB / 0.7179 GB, free: 69.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/1.317, allocations: 0.7287 MB / 0.7186 GB, free: 69.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/1.317, allocations: 31.42 kB / 0.7186 GB, free: 69.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.735e-06/1.317, allocations: 0 / 0.7186 GB, free: 69.05 MB / 426.7 MB Notification: Performance of Templates: time 0.006323/1.324, allocations: 3.461 MB / 0.722 GB, free: 65.6 MB / 426.7 MB