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.TestOnly.DryAirNasa.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.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004402, allocations: 16 kB / 314.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 54.87 MB / 369.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4615/0.739, allocations: 126.8 MB / 496 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.7425, allocations: 2.485 MB / 498.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.019e-05/0.7426, allocations: 0 / 498.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.7428, allocations: 39.84 kB / 498.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.7429, allocations: 25.77 kB / 498.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.744, allocations: 372.5 kB / 498.9 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.733e-05/0.7441, allocations: 55.19 kB / 499 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.7442, allocations: 4.844 kB / 499 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.7443, allocations: 33.16 kB / 499 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.7444, allocations: 24.84 kB / 499 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.7444, allocations: 6.719 kB / 499 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.7457, allocations: 0.4884 MB / 499.5 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.7457, allocations: 1.938 kB / 499.5 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.7458, allocations: 39.88 kB / 499.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.7462, allocations: 197.3 kB / 499.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.694e-06/0.7462, allocations: 0 / 499.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.958e-06/0.7462, allocations: 0 / 499.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.7463, allocations: 0 / 499.8 MB, free: 13.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006185/0.7469, allocations: 405.1 kB / 0.4884 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.7469, allocations: 8.625 kB / 0.4884 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.747, allocations: 7.812 kB / 0.4884 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.7471, allocations: 167.3 kB / 0.4886 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.7472, allocations: 5.984 kB / 0.4886 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.7472, allocations: 8.219 kB / 0.4886 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.7474, allocations: 68.67 kB / 0.4887 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.7474, allocations: 4.969 kB / 0.4887 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.7474, allocations: 8.906 kB / 0.4887 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.937e-06/0.7475, allocations: 5.062 kB / 0.4887 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.7476, allocations: 45.66 kB / 0.4887 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.7481, allocations: 382.1 kB / 0.4891 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.7482, allocations: 65.88 kB / 0.4892 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.7497, allocations: 1.006 MB / 0.4902 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.7498, allocations: 36.97 kB / 0.4902 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 5.527e-06/0.7498, allocations: 4 kB / 0.4902 GB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.007234/0.757, allocations: 0.6611 MB / 0.4908 GB, free: 11.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.7571, allocations: 58.03 kB / 0.4909 GB, free: 11.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7572, allocations: 100.8 kB / 0.491 GB, free: 11.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.7573, allocations: 29.64 kB / 0.491 GB, free: 11.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.7574, allocations: 167.6 kB / 0.4912 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.654e-05/0.7575, allocations: 44.47 kB / 0.4912 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.7575, allocations: 0 / 0.4912 GB, free: 10.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7577, allocations: 322.8 kB / 0.4915 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.758, allocations: 84.12 kB / 0.4916 GB, free: 10.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.7583, allocations: 104.3 kB / 0.4917 GB, free: 10.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.7586, allocations: 88.64 kB / 0.4918 GB, free: 10.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-06/0.7586, allocations: 0 / 0.4918 GB, free: 10.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007332/0.7593, allocations: 248.6 kB / 0.492 GB, free: 10.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.7594, allocations: 4.906 kB / 0.492 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.582e-06/0.7594, allocations: 3.953 kB / 0.492 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7594, allocations: 2.812 kB / 0.492 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.7601, allocations: 54.97 kB / 0.4921 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.7602, allocations: 7.391 kB / 0.4921 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.7607, allocations: 12.44 kB / 0.4921 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.7608, allocations: 17.28 kB / 0.4921 GB, free: 10.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001577/0.761, allocations: 121.1 kB / 0.4922 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.7611, allocations: 6.75 kB / 0.4923 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.7621, allocations: 350.1 kB / 0.4926 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.777e-06/0.7621, allocations: 9.031 kB / 0.4926 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7621, allocations: 0 / 0.4926 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.889e-06/0.7621, allocations: 6.578 kB / 0.4926 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.7636, allocations: 0.7604 MB / 0.4933 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.484e-06/0.7636, allocations: 1.906 kB / 0.4933 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.7643, allocations: 48.42 kB / 0.4934 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.7644, allocations: 3.312 kB / 0.4934 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.7644, allocations: 8.266 kB / 0.4934 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.913e-06/0.7644, allocations: 2.031 kB / 0.4934 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.359e-06/0.7644, allocations: 0 / 0.4934 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.7652, allocations: 359.4 kB / 0.4937 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.7654, allocations: 102.6 kB / 0.4938 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.7654, allocations: 5.219 kB / 0.4938 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.766, allocations: 11.22 kB / 0.4939 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.7661, allocations: 17.73 kB / 0.4939 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.7661, allocations: 10.66 kB / 0.4939 GB, free: 9.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.7662, allocations: 88 kB / 0.494 GB, free: 9.516 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.7662, allocations: 1.938 kB / 0.494 GB, free: 9.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005905/0.7668, allocations: 97.56 kB / 0.4941 GB, free: 9.504 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * 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.0005386/0.7674, allocations: 224 kB / 0.4943 GB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006536/0.768, allocations: 207.9 kB / 0.4945 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.071e-06/0.7681, allocations: 2.719 kB / 0.4945 GB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.7684, allocations: 119.9 kB / 0.4946 GB, free: 9.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.7688, allocations: 30.12 kB / 0.4946 GB, free: 9.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.7696, allocations: 332.5 kB / 0.4949 GB, free: 9.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.77, allocations: 0.7028 MB / 0.4956 GB, free: 8.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.7703, allocations: 39.28 kB / 0.4957 GB, free: 8.461 MB / 410.7 MB Notification: Performance of SimCode: time 1.436e-06/0.7703, allocations: 4 kB / 0.4957 GB, free: 8.457 MB / 410.7 MB Notification: Performance of Templates: time 0.008292/0.7786, allocations: 4.246 MB / 0.4998 GB, free: 6.418 MB / 410.7 MB