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.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.808e-05, allocations: 0 / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2791, allocations: 54.87 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.316, allocations: 371.9 MB / 0.7129 GB, free: 92.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/1.316, allocations: 72.23 kB / 0.7129 GB, free: 92.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06927/1.386, allocations: 21.05 MB / 0.7335 GB, free: 75 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.965e-06/1.386, allocations: 0 / 0.7335 GB, free: 75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/1.386, allocations: 0 / 0.7335 GB, free: 75 MB / 474.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.001032/1.387, allocations: 0.5723 MB / 0.734 GB, free: 74.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.387, allocations: 8.031 kB / 0.7341 GB, free: 74.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/1.387, allocations: 23.81 kB / 0.7341 GB, free: 74.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/1.387, allocations: 226.3 kB / 0.7343 GB, free: 74.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.388, allocations: 119.4 kB / 0.7344 GB, free: 73.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/1.388, allocations: 12 kB / 0.7344 GB, free: 73.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008475/1.388, allocations: 0.7149 MB / 0.7351 GB, free: 73.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/1.389, allocations: 285.8 kB / 0.7354 GB, free: 73.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/1.389, allocations: 7.891 kB / 0.7354 GB, free: 73.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/1.389, allocations: 0 / 0.7354 GB, free: 73.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/1.389, allocations: 8 kB / 0.7354 GB, free: 73.12 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/1.392, allocations: 3.196 MB / 0.7385 GB, free: 69.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/1.392, allocations: 57.12 kB / 0.7386 GB, free: 69.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/1.392, allocations: 27.94 kB / 0.7386 GB, free: 69.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006707/1.392, allocations: 0.5284 MB / 0.7391 GB, free: 68.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/1.392, allocations: 46.47 kB / 0.7392 GB, free: 68.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 3.043e-06/1.392, allocations: 0 / 0.7392 GB, free: 68.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005806/1.393, allocations: 144.1 kB / 0.7393 GB, free: 68.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/1.393, allocations: 55.34 kB / 0.7394 GB, free: 68.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/1.393, allocations: 203.1 kB / 0.7395 GB, free: 68.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/1.393, allocations: 25.7 kB / 0.7396 GB, free: 68.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/1.393, allocations: 290.8 kB / 0.7398 GB, free: 68.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/1.393, allocations: 38.72 kB / 0.7399 GB, free: 68.13 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/1.394, allocations: 8 kB / 0.7399 GB, free: 68.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/1.394, allocations: 326.1 kB / 0.7402 GB, free: 67.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/1.394, allocations: 35 kB / 0.7402 GB, free: 67.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/1.394, allocations: 313.3 kB / 0.7405 GB, free: 67.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/1.394, allocations: 101.5 kB / 0.7406 GB, free: 67.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.969e-06/1.394, allocations: 4 kB / 0.7406 GB, free: 67.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007587/1.395, allocations: 329.3 kB / 0.741 GB, free: 66.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.395, allocations: 13.09 kB / 0.741 GB, free: 66.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.395, allocations: 12.16 kB / 0.741 GB, free: 66.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.395, allocations: 19.98 kB / 0.741 GB, free: 66.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/1.396, allocations: 107.3 kB / 0.7411 GB, free: 66.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.396, allocations: 24.23 kB / 0.7411 GB, free: 66.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/1.396, allocations: 15.84 kB / 0.7411 GB, free: 66.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/1.396, allocations: 27.5 kB / 0.7412 GB, free: 66.75 MB / 474.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 9.57e-05/1.396, allocations: 124.5 kB / 0.7413 GB, free: 66.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/1.396, allocations: 19.86 kB / 0.7413 GB, free: 66.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/1.396, allocations: 97.88 kB / 0.7414 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/1.396, allocations: 0 / 0.7414 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.397, allocations: 0 / 0.7414 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-06/1.397, allocations: 4 kB / 0.7414 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/1.397, allocations: 379.7 kB / 0.7418 GB, free: 66.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.026e-06/1.397, allocations: 0 / 0.7418 GB, free: 66.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.397, allocations: 23.98 kB / 0.7418 GB, free: 66.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.392e-06/1.397, allocations: 4.031 kB / 0.7418 GB, free: 66.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.397, allocations: 3.984 kB / 0.7418 GB, free: 66.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-06/1.397, allocations: 0 / 0.7418 GB, free: 66.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.021e-06/1.397, allocations: 4 kB / 0.7418 GB, free: 66.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/1.398, allocations: 200.1 kB / 0.742 GB, free: 65.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/1.398, allocations: 112.2 kB / 0.7421 GB, free: 65.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/1.398, allocations: 8 kB / 0.7421 GB, free: 65.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/1.398, allocations: 7.984 kB / 0.7421 GB, free: 65.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/1.398, allocations: 7.938 kB / 0.7421 GB, free: 65.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/1.398, allocations: 11.55 kB / 0.7421 GB, free: 65.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001042/1.398, allocations: 135.1 kB / 0.7423 GB, free: 65.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.39e-07/1.398, allocations: 3.938 kB / 0.7423 GB, free: 65.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006722/1.399, allocations: 83.31 kB / 0.7423 GB, free: 65.53 MB / 474.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.0002593/1.399, allocations: 189.6 kB / 0.7425 GB, free: 65.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/1.399, allocations: 142.4 kB / 0.7427 GB, free: 65.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.399, allocations: 0 / 0.7427 GB, free: 65.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/1.4, allocations: 27.12 kB / 0.7427 GB, free: 65.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/1.4, allocations: 36.73 kB / 0.7427 GB, free: 65.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/1.4, allocations: 201.9 kB / 0.7429 GB, free: 64.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/1.4, allocations: 0.7287 MB / 0.7436 GB, free: 64.19 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/1.401, allocations: 27.44 kB / 0.7436 GB, free: 64.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.641e-06/1.401, allocations: 0 / 0.7436 GB, free: 64.16 MB / 474.7 MB Notification: Performance of Templates: time 0.006034/1.407, allocations: 3.333 MB / 0.7469 GB, free: 60.84 MB / 474.7 MB