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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.206/2.206, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004403, allocations: 12 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2836, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9575/1.241, allocations: 372.7 MB / 0.7246 GB, free: 111.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.241, allocations: 83.83 kB / 0.7246 GB, free: 111.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06882/1.31, allocations: 21.24 MB / 0.7454 GB, free: 93.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.577e-06/1.31, allocations: 0 / 0.7454 GB, free: 93.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/1.31, allocations: 0 / 0.7454 GB, free: 93.8 MB / 490.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.001083/1.311, allocations: 0.5785 MB / 0.7459 GB, free: 93.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/1.312, allocations: 12.02 kB / 0.746 GB, free: 93.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/1.312, allocations: 27.72 kB / 0.746 GB, free: 93.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/1.312, allocations: 226.9 kB / 0.7462 GB, free: 92.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/1.312, allocations: 126.9 kB / 0.7463 GB, free: 92.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.466e-05/1.312, allocations: 23.69 kB / 0.7463 GB, free: 92.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/1.313, allocations: 318.6 kB / 0.7466 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.313, allocations: 4 kB / 0.7466 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/1.313, allocations: 10.95 kB / 0.7467 GB, free: 92.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/1.313, allocations: 11.98 kB / 0.7467 GB, free: 92.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/1.314, allocations: 0.7372 MB / 0.7474 GB, free: 91.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/1.315, allocations: 1.149 MB / 0.7485 GB, free: 90.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/1.316, allocations: 170.1 kB / 0.7487 GB, free: 90.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/1.318, allocations: 2.643 MB / 0.7513 GB, free: 87.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/1.318, allocations: 38.25 kB / 0.7513 GB, free: 87.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.823e-06/1.318, allocations: 0 / 0.7513 GB, free: 87.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008347/1.319, allocations: 229.5 kB / 0.7515 GB, free: 87.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/1.319, allocations: 55.41 kB / 0.7516 GB, free: 87.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/1.319, allocations: 195.7 kB / 0.7517 GB, free: 87.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/1.319, allocations: 25.7 kB / 0.7518 GB, free: 87.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/1.319, allocations: 279.6 kB / 0.752 GB, free: 86.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/1.319, allocations: 54.83 kB / 0.7521 GB, free: 86.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/1.319, allocations: 11.5 kB / 0.7521 GB, free: 86.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.996e-05/1.319, allocations: 326 kB / 0.7524 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/1.319, allocations: 56.33 kB / 0.7525 GB, free: 86.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/1.32, allocations: 315.8 kB / 0.7528 GB, free: 85.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/1.32, allocations: 106.3 kB / 0.7529 GB, free: 85.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.32, allocations: 0 / 0.7529 GB, free: 85.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006664/1.32, allocations: 378.6 kB / 0.7532 GB, free: 85.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.32, allocations: 8.188 kB / 0.7532 GB, free: 85.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.321, allocations: 15.98 kB / 0.7533 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.321, allocations: 19.94 kB / 0.7533 GB, free: 85.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/1.321, allocations: 103.6 kB / 0.7534 GB, free: 85.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.321, allocations: 23.92 kB / 0.7534 GB, free: 85.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/1.321, allocations: 11.62 kB / 0.7534 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/1.321, allocations: 31.88 kB / 0.7534 GB, free: 85.39 MB / 490.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.0001452/1.322, allocations: 153 kB / 0.7536 GB, free: 85.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/1.322, allocations: 23.77 kB / 0.7536 GB, free: 85.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/1.322, allocations: 184.9 kB / 0.7538 GB, free: 85.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.322, allocations: 0 / 0.7538 GB, free: 85.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.471e-06/1.322, allocations: 0 / 0.7538 GB, free: 85.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.322, allocations: 4 kB / 0.7538 GB, free: 85.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/1.323, allocations: 458.3 kB / 0.7542 GB, free: 84.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-06/1.323, allocations: 0 / 0.7542 GB, free: 84.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/1.323, allocations: 27.92 kB / 0.7542 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.599e-06/1.323, allocations: 8.094 kB / 0.7543 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.323, allocations: 4 kB / 0.7543 GB, free: 84.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/1.323, allocations: 7.984 kB / 0.7543 GB, free: 84.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.844e-06/1.323, allocations: 0 / 0.7543 GB, free: 84.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/1.324, allocations: 266.2 kB / 0.7545 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/1.324, allocations: 112.4 kB / 0.7546 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/1.324, allocations: 4 kB / 0.7546 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/1.324, allocations: 11.8 kB / 0.7546 GB, free: 84.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/1.324, allocations: 11.94 kB / 0.7547 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/1.324, allocations: 11.98 kB / 0.7547 GB, free: 84.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001375/1.324, allocations: 150.7 kB / 0.7548 GB, free: 83.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.09e-07/1.324, allocations: 0 / 0.7548 GB, free: 83.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007397/1.325, allocations: 99.11 kB / 0.7549 GB, free: 83.88 MB / 490.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.000282/1.325, allocations: 190.8 kB / 0.7551 GB, free: 83.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/1.326, allocations: 172.5 kB / 0.7553 GB, free: 83.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.93e-06/1.326, allocations: 0 / 0.7553 GB, free: 83.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/1.326, allocations: 43.7 kB / 0.7553 GB, free: 83.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/1.326, allocations: 35.97 kB / 0.7553 GB, free: 83.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.343, allocations: 6.036 MB / 0.7612 GB, free: 78.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/1.343, allocations: 0.729 MB / 0.7619 GB, free: 77.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/1.343, allocations: 42.92 kB / 0.762 GB, free: 77.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.638e-06/1.343, allocations: 0 / 0.762 GB, free: 77.75 MB / 490.7 MB Notification: Performance of Templates: time 0.006342/1.349, allocations: 3.462 MB / 0.7654 GB, free: 74.3 MB / 490.7 MB