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/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.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.166/2.166, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.705e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2774, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/1.878, allocations: 0.606 GB / 0.9556 GB, free: 26.08 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/1.878, allocations: 72.62 kB / 0.9557 GB, free: 26.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4113/2.289, allocations: 44.65 MB / 0.9993 GB, free: 158.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.116e-06/2.289, allocations: 0 / 0.9993 GB, free: 158.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.2e-06/2.289, allocations: 3.219 kB / 0.9993 GB, free: 158.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005568/2.29, allocations: 417.1 kB / 0.9997 GB, free: 158.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/2.29, allocations: 10.25 kB / 0.9997 GB, free: 158.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/2.29, allocations: 14.66 kB / 0.9997 GB, free: 158.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.51e-05/2.29, allocations: 168.7 kB / 0.9999 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/2.29, allocations: 0 / 0.9999 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/2.29, allocations: 5.938 kB / 0.9999 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001139/2.29, allocations: 47.48 kB / 0.9999 GB, free: 158.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/2.29, allocations: 62.69 kB / 1 GB, free: 158.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/2.29, allocations: 2.625 kB / 1 GB, free: 158.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-06/2.291, allocations: 3.094 kB / 1 GB, free: 158.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-06/2.291, allocations: 0 / 1 GB, free: 158.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/2.291, allocations: 356.8 kB / 1 GB, free: 157.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/2.291, allocations: 64.33 kB / 1 GB, free: 157.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/2.291, allocations: 20.23 kB / 1 GB, free: 157.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/2.292, allocations: 0.9964 MB / 1.001 GB, free: 156.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/2.292, allocations: 33.19 kB / 1.001 GB, free: 156.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 3.151e-06/2.292, allocations: 3.75 kB / 1.001 GB, free: 156.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.008281/2.301, allocations: 0.8698 MB / 1.002 GB, free: 156.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/2.301, allocations: 57.95 kB / 1.002 GB, free: 156.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/2.301, allocations: 94.05 kB / 1.002 GB, free: 156.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/2.301, allocations: 25.7 kB / 1.002 GB, free: 156.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/2.301, allocations: 170.4 kB / 1.003 GB, free: 156.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/2.301, allocations: 45.14 kB / 1.003 GB, free: 156.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/2.301, allocations: 0 / 1.003 GB, free: 156.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/2.301, allocations: 317.3 kB / 1.003 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/2.301, allocations: 74.88 kB / 1.003 GB, free: 156.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/2.301, allocations: 87.23 kB / 1.003 GB, free: 156 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/2.303, allocations: 214.3 kB / 1.003 GB, free: 156 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/2.303, allocations: 1.969 kB / 1.003 GB, free: 156 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001818/2.305, allocations: 361.3 kB / 1.004 GB, free: 156 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/2.305, allocations: 7.781 kB / 1.004 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/2.305, allocations: 3.531 kB / 1.004 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/2.305, allocations: 2.562 kB / 1.004 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/2.306, allocations: 54.09 kB / 1.004 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.188e-06/2.306, allocations: 3.75 kB / 1.004 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/2.306, allocations: 20.39 kB / 1.004 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/2.306, allocations: 9.797 kB / 1.004 GB, free: 156 MB / 474.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 () * 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.0001089/2.306, allocations: 109.9 kB / 1.004 GB, free: 155.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/2.306, allocations: 7.562 kB / 1.004 GB, free: 155.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/2.309, allocations: 464.7 kB / 1.004 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.945e-06/2.309, allocations: 2.969 kB / 1.004 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/2.309, allocations: 0 / 1.004 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.885e-06/2.309, allocations: 3.844 kB / 1.004 GB, free: 155.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/2.312, allocations: 0.833 MB / 1.005 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.615e-06/2.312, allocations: 0 / 1.005 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/2.312, allocations: 43.81 kB / 1.005 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-06/2.312, allocations: 3.781 kB / 1.005 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/2.312, allocations: 9.266 kB / 1.005 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/2.312, allocations: 3.969 kB / 1.005 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-06/2.312, allocations: 0 / 1.005 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/2.314, allocations: 462.9 kB / 1.006 GB, free: 155.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/2.314, allocations: 106.1 kB / 1.006 GB, free: 155.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/2.314, allocations: 2.766 kB / 1.006 GB, free: 155.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/2.315, allocations: 6.438 kB / 1.006 GB, free: 155.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/2.315, allocations: 13.38 kB / 1.006 GB, free: 155.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/2.315, allocations: 14.95 kB / 1.006 GB, free: 155.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.676e-05/2.315, allocations: 81.66 kB / 1.006 GB, free: 155.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.33e-07/2.315, allocations: 0 / 1.006 GB, free: 155.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007452/2.316, allocations: 131.8 kB / 1.006 GB, free: 155 MB / 474.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 () * 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.001073/2.317, allocations: 0.713 MB / 1.007 GB, free: 154.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004606/2.317, allocations: 186.2 kB / 1.007 GB, free: 154.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.555e-06/2.317, allocations: 0 / 1.007 GB, free: 154.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/2.318, allocations: 103.8 kB / 1.007 GB, free: 154.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/2.318, allocations: 28.52 kB / 1.007 GB, free: 154.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/2.319, allocations: 193.9 kB / 1.007 GB, free: 154.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/2.319, allocations: 0.7004 MB / 1.008 GB, free: 154.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/2.319, allocations: 32.36 kB / 1.008 GB, free: 154.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.597e-06/2.319, allocations: 0 / 1.008 GB, free: 154.1 MB / 474.7 MB Notification: Performance of Templates: time 0.01202/2.331, allocations: 6.879 MB / 1.015 GB, free: 153.4 MB / 474.7 MB