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 1.913/1.913, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.724e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08849, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9021/0.9907, allocations: 366.2 MB / 0.6765 GB, free: 2.461 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.9909, allocations: 73.02 kB / 0.6766 GB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3344/1.325, allocations: 21.18 MB / 0.6973 GB, free: 154.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.196e-06/1.325, allocations: 0 / 0.6973 GB, free: 154.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/1.325, allocations: 3.875 kB / 0.6973 GB, free: 154.4 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.001075/1.326, allocations: 0.5689 MB / 0.6978 GB, free: 153.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.327, allocations: 11.84 kB / 0.6978 GB, free: 153.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/1.327, allocations: 23.41 kB / 0.6979 GB, free: 153.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/1.327, allocations: 234.3 kB / 0.6981 GB, free: 153.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/1.327, allocations: 123.2 kB / 0.6982 GB, free: 153.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/1.327, allocations: 23.78 kB / 0.6982 GB, free: 153.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/1.328, allocations: 312.3 kB / 0.6985 GB, free: 153.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.328, allocations: 0 / 0.6985 GB, free: 153.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/1.328, allocations: 15.84 kB / 0.6985 GB, free: 153.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/1.328, allocations: 7.875 kB / 0.6985 GB, free: 153.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/1.329, allocations: 0.732 MB / 0.6993 GB, free: 152.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/1.33, allocations: 1.155 MB / 0.7004 GB, free: 151.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/1.33, allocations: 159.9 kB / 0.7005 GB, free: 151.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/1.331, allocations: 87.81 kB / 0.7006 GB, free: 151.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/1.333, allocations: 2.86 MB / 0.7034 GB, free: 148.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.333, allocations: 33.97 kB / 0.7035 GB, free: 148.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.873e-06/1.333, allocations: 0 / 0.7035 GB, free: 148.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006793/1.334, allocations: 201 kB / 0.7036 GB, free: 148.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/1.334, allocations: 58.3 kB / 0.7037 GB, free: 148.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/1.334, allocations: 187.6 kB / 0.7039 GB, free: 148.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/1.334, allocations: 29.7 kB / 0.7039 GB, free: 148.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/1.334, allocations: 279.6 kB / 0.7042 GB, free: 148.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/1.334, allocations: 57.83 kB / 0.7042 GB, free: 148.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/1.334, allocations: 8 kB / 0.7042 GB, free: 148.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/1.334, allocations: 326.6 kB / 0.7045 GB, free: 147.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/1.334, allocations: 46.81 kB / 0.7046 GB, free: 147.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/1.335, allocations: 313 kB / 0.7049 GB, free: 147.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/1.335, allocations: 109.1 kB / 0.705 GB, free: 147.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.249e-06/1.335, allocations: 3.938 kB / 0.705 GB, free: 147.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006861/1.336, allocations: 374 kB / 0.7054 GB, free: 147.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.336, allocations: 7.938 kB / 0.7054 GB, free: 147.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.336, allocations: 11.66 kB / 0.7054 GB, free: 147.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/1.336, allocations: 13.88 kB / 0.7054 GB, free: 147.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/1.336, allocations: 103.8 kB / 0.7055 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.336, allocations: 19.94 kB / 0.7055 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/1.337, allocations: 19.95 kB / 0.7055 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/1.337, allocations: 35.92 kB / 0.7056 GB, free: 146.9 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 () * 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.056e-05/1.337, allocations: 137 kB / 0.7057 GB, free: 146.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/1.337, allocations: 19.81 kB / 0.7057 GB, free: 146.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/1.337, allocations: 185.4 kB / 0.7059 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.337, allocations: 0 / 0.7059 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.548e-06/1.337, allocations: 0 / 0.7059 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.637e-06/1.337, allocations: 7.969 kB / 0.7059 GB, free: 146.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/1.338, allocations: 460.7 kB / 0.7063 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.894e-06/1.338, allocations: 4.094 kB / 0.7063 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/1.338, allocations: 27.98 kB / 0.7064 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-06/1.338, allocations: 0 / 0.7064 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.338, allocations: 7.984 kB / 0.7064 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.761e-06/1.338, allocations: 7.891 kB / 0.7064 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-06/1.338, allocations: 0 / 0.7064 GB, free: 146 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/1.338, allocations: 255 kB / 0.7066 GB, free: 145.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/1.339, allocations: 112.8 kB / 0.7067 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/1.339, allocations: 7.984 kB / 0.7067 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/1.339, allocations: 8 kB / 0.7067 GB, free: 145.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/1.339, allocations: 19.92 kB / 0.7068 GB, free: 145.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/1.339, allocations: 7.984 kB / 0.7068 GB, free: 145.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001192/1.339, allocations: 145.4 kB / 0.7069 GB, free: 145.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.88e-07/1.339, allocations: 0 / 0.7069 GB, free: 145.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006626/1.34, allocations: 103.7 kB / 0.707 GB, free: 145.3 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 () * 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.0002755/1.34, allocations: 181.6 kB / 0.7072 GB, free: 145.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003365/1.34, allocations: 173.3 kB / 0.7073 GB, free: 145 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.665e-06/1.34, allocations: 3.938 kB / 0.7074 GB, free: 144.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.001e-05/1.341, allocations: 35.92 kB / 0.7074 GB, free: 144.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/1.341, allocations: 54.03 kB / 0.7074 GB, free: 144.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.357, allocations: 5.706 MB / 0.713 GB, free: 139.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/1.357, allocations: 0.7329 MB / 0.7137 GB, free: 138.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/1.358, allocations: 27.44 kB / 0.7138 GB, free: 138.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.772e-06/1.358, allocations: 0 / 0.7138 GB, free: 138.4 MB / 426.7 MB Notification: Performance of Templates: time 0.005992/1.364, allocations: 3.471 MB / 0.7171 GB, free: 135 MB / 426.7 MB