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.TestOnly.DryAirNasa.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.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.1_cpp_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadModel(ModelicaTest): time 1.829/1.829, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004299, allocations: 8 kB / 282.6 MB, free: 9.727 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08926, allocations: 48.7 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.547/1.636, allocations: 0.5999 GB / 0.9235 GB, free: 37.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/1.637, allocations: 72.09 kB / 0.9235 GB, free: 37.36 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.4784/2.115, allocations: 45.97 MB / 0.9684 GB, free: 125.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/2.115, allocations: 0 / 0.9684 GB, free: 125.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/2.115, allocations: 0 / 0.9684 GB, free: 125.3 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005889/2.116, allocations: 430.9 kB / 0.9688 GB, free: 124.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/2.116, allocations: 8.438 kB / 0.9688 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/2.116, allocations: 12.98 kB / 0.9688 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.334e-05/2.116, allocations: 170.7 kB / 0.969 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/2.116, allocations: 1.219 kB / 0.969 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/2.116, allocations: 9.531 kB / 0.969 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/2.116, allocations: 74.3 kB / 0.9691 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/2.116, allocations: 6.031 kB / 0.9691 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/2.116, allocations: 0 / 0.9691 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-06/2.116, allocations: 5.344 kB / 0.9691 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/2.116, allocations: 49.53 kB / 0.9692 GB, free: 124.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/2.117, allocations: 379.8 kB / 0.9695 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/2.117, allocations: 63.52 kB / 0.9696 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/2.118, allocations: 1.007 MB / 0.9706 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/2.118, allocations: 37.97 kB / 0.9706 GB, free: 123.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.581e-06/2.118, allocations: 0 / 0.9706 GB, free: 123.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.006138/2.124, allocations: 0.652 MB / 0.9712 GB, free: 123.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/2.124, allocations: 52.94 kB / 0.9713 GB, free: 123.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.398e-05/2.124, allocations: 101.1 kB / 0.9714 GB, free: 123 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/2.124, allocations: 25.7 kB / 0.9714 GB, free: 123 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/2.124, allocations: 165.6 kB / 0.9716 GB, free: 122.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/2.124, allocations: 47.23 kB / 0.9716 GB, free: 122.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/2.125, allocations: 3.5 kB / 0.9716 GB, free: 122.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/2.125, allocations: 322.5 kB / 0.9719 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/2.125, allocations: 77.34 kB / 0.972 GB, free: 122.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/2.125, allocations: 103.8 kB / 0.9721 GB, free: 122.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/2.125, allocations: 83.83 kB / 0.9722 GB, free: 122.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-06/2.125, allocations: 0 / 0.9722 GB, free: 122.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007728/2.126, allocations: 246.8 kB / 0.9724 GB, free: 122.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/2.126, allocations: 7.234 kB / 0.9724 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.908e-06/2.126, allocations: 7.094 kB / 0.9724 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/2.126, allocations: 2.312 kB / 0.9724 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/2.127, allocations: 50.3 kB / 0.9725 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/2.127, allocations: 1.891 kB / 0.9725 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/2.128, allocations: 21.72 kB / 0.9725 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/2.128, allocations: 11.86 kB / 0.9725 GB, free: 122.4 MB / 426.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.0001227/2.128, allocations: 126.1 kB / 0.9726 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/2.128, allocations: 3.625 kB / 0.9726 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/2.129, allocations: 355.7 kB / 0.973 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/2.129, allocations: 2.219 kB / 0.973 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/2.129, allocations: 3.328 kB / 0.973 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-06/2.129, allocations: 0.5156 kB / 0.973 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/2.13, allocations: 0.7447 MB / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-06/2.13, allocations: 0 / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/2.131, allocations: 43.67 kB / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.095e-06/2.131, allocations: 1.062 kB / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/2.131, allocations: 4.562 kB / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.683e-06/2.131, allocations: 3.344 kB / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-06/2.131, allocations: 0 / 0.9737 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/2.132, allocations: 353.3 kB / 0.9741 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/2.132, allocations: 106.4 kB / 0.9742 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/2.132, allocations: 5.031 kB / 0.9742 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/2.132, allocations: 6.906 kB / 0.9742 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/2.132, allocations: 20.67 kB / 0.9742 GB, free: 121.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/2.133, allocations: 8.047 kB / 0.9742 GB, free: 121.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.721e-05/2.133, allocations: 89.25 kB / 0.9743 GB, free: 121.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.133, allocations: 0 / 0.9743 GB, free: 121.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007702/2.133, allocations: 149 kB / 0.9745 GB, free: 121.4 MB / 426.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.001103/2.135, allocations: 0.6323 MB / 0.9751 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006876/2.135, allocations: 212.6 kB / 0.9753 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/2.135, allocations: 0 / 0.9753 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003308/2.136, allocations: 115.5 kB / 0.9754 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/2.136, allocations: 27.05 kB / 0.9754 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/2.137, allocations: 326.8 kB / 0.9757 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/2.137, allocations: 0.7049 MB / 0.9764 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/2.137, allocations: 35.95 kB / 0.9764 GB, free: 120.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.396e-06/2.137, allocations: 0 / 0.9764 GB, free: 120.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01199/2.149, allocations: 6.92 MB / 0.9832 GB, free: 119.8 MB / 426.7 MB