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.348/2.348, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.875e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3263, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9528/1.279, allocations: 372.6 MB / 0.7199 GB, free: 147.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.279, allocations: 74.98 kB / 0.7199 GB, free: 147.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07058/1.35, allocations: 21.19 MB / 0.7406 GB, free: 145.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.856e-06/1.35, allocations: 0 / 0.7406 GB, free: 145.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/1.35, allocations: 3.906 kB / 0.7406 GB, free: 145.6 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.001125/1.351, allocations: 0.5692 MB / 0.7412 GB, free: 145.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.351, allocations: 7.812 kB / 0.7412 GB, free: 145.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/1.352, allocations: 26.58 kB / 0.7412 GB, free: 145.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/1.352, allocations: 230.6 kB / 0.7414 GB, free: 144.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.352, allocations: 129.7 kB / 0.7416 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/1.352, allocations: 22.56 kB / 0.7416 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/1.353, allocations: 309.5 kB / 0.7419 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.353, allocations: 7.766 kB / 0.7419 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/1.353, allocations: 14.34 kB / 0.7419 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/1.353, allocations: 3.906 kB / 0.7419 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/1.354, allocations: 0.7311 MB / 0.7426 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/1.355, allocations: 1.147 MB / 0.7437 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/1.355, allocations: 162 kB / 0.7439 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/1.356, allocations: 88.69 kB / 0.744 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/1.358, allocations: 2.858 MB / 0.7468 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/1.358, allocations: 36.02 kB / 0.7468 GB, free: 141.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.731e-06/1.358, allocations: 0 / 0.7468 GB, free: 141.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007507/1.359, allocations: 206.5 kB / 0.747 GB, free: 141 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/1.359, allocations: 55.31 kB / 0.7471 GB, free: 141 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/1.359, allocations: 183.1 kB / 0.7472 GB, free: 140.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/1.359, allocations: 37.45 kB / 0.7473 GB, free: 140.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/1.359, allocations: 273.9 kB / 0.7475 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/1.359, allocations: 61.14 kB / 0.7476 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/1.359, allocations: 7.844 kB / 0.7476 GB, free: 140.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.719e-05/1.359, allocations: 328.8 kB / 0.7479 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/1.36, allocations: 49.06 kB / 0.7479 GB, free: 140.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/1.36, allocations: 312.8 kB / 0.7482 GB, free: 139.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/1.36, allocations: 104.8 kB / 0.7483 GB, free: 139.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.469e-06/1.36, allocations: 0 / 0.7483 GB, free: 139.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006551/1.361, allocations: 369.9 kB / 0.7487 GB, free: 139.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.361, allocations: 13.69 kB / 0.7487 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.361, allocations: 7.812 kB / 0.7487 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/1.361, allocations: 15.66 kB / 0.7487 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/1.361, allocations: 107.1 kB / 0.7488 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/1.361, allocations: 19.09 kB / 0.7489 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/1.362, allocations: 18.78 kB / 0.7489 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/1.362, allocations: 29.92 kB / 0.7489 GB, free: 139.7 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 () * 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.0001037/1.362, allocations: 142.7 kB / 0.749 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/1.362, allocations: 27.45 kB / 0.7491 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/1.362, allocations: 182.9 kB / 0.7492 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.362, allocations: 0 / 0.7492 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.404e-06/1.362, allocations: 0 / 0.7492 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.658e-06/1.362, allocations: 3.906 kB / 0.7492 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/1.363, allocations: 452.2 kB / 0.7497 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-06/1.363, allocations: 3.875 kB / 0.7497 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.363, allocations: 31.02 kB / 0.7497 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.363, allocations: 3.875 kB / 0.7497 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/1.363, allocations: 3.797 kB / 0.7497 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.363e-06/1.363, allocations: 3.906 kB / 0.7497 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-06/1.363, allocations: 80 / 0.7497 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/1.364, allocations: 256.5 kB / 0.75 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/1.364, allocations: 115.8 kB / 0.7501 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/1.364, allocations: 7.891 kB / 0.7501 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/1.364, allocations: 15.36 kB / 0.7501 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/1.364, allocations: 19.28 kB / 0.7501 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/1.364, allocations: 7.781 kB / 0.7501 GB, free: 138.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001249/1.364, allocations: 142.9 kB / 0.7503 GB, free: 138.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.47e-07/1.364, allocations: 0 / 0.7503 GB, free: 138.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006922/1.365, allocations: 101.3 kB / 0.7504 GB, free: 138.8 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 () * 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.0002676/1.365, allocations: 187.2 kB / 0.7505 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/1.366, allocations: 176 kB / 0.7507 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.366, allocations: 0 / 0.7507 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/1.366, allocations: 34.8 kB / 0.7507 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/1.366, allocations: 48.23 kB / 0.7508 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/1.382, allocations: 5.703 MB / 0.7563 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/1.383, allocations: 0.7362 MB / 0.7571 GB, free: 136.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/1.383, allocations: 30.56 kB / 0.7571 GB, free: 136.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/1.383, allocations: 0 / 0.7571 GB, free: 136.5 MB / 490.7 MB Notification: Performance of Templates: time 0.005969/1.389, allocations: 3.47 MB / 0.7605 GB, free: 134.8 MB / 490.7 MB