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.901/1.901, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.14e-05, allocations: 4 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08648, allocations: 48.71 MB / 326.5 MB, free: 11.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.611/1.697, allocations: 0.5999 GB / 0.9187 GB, free: 43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.698, allocations: 73.83 kB / 0.9188 GB, free: 42.96 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.4656/2.163, allocations: 45.78 MB / 0.9635 GB, free: 123.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.544e-06/2.163, allocations: 2.188 kB / 0.9635 GB, free: 123.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.302e-06/2.163, allocations: 1.375 kB / 0.9635 GB, free: 123.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.0005847/2.164, allocations: 421.8 kB / 0.9639 GB, free: 123 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/2.164, allocations: 9.188 kB / 0.9639 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/2.164, allocations: 9.797 kB / 0.9639 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.555e-05/2.164, allocations: 171.4 kB / 0.9641 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/2.164, allocations: 5.234 kB / 0.9641 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/2.164, allocations: 9.062 kB / 0.9641 GB, free: 122.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/2.164, allocations: 75.2 kB / 0.9642 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/2.164, allocations: 3.719 kB / 0.9642 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/2.164, allocations: 9.031 kB / 0.9642 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/2.164, allocations: 1.25 kB / 0.9642 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/2.165, allocations: 46.38 kB / 0.9643 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/2.165, allocations: 385.9 kB / 0.9646 GB, free: 122.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/2.165, allocations: 62.14 kB / 0.9647 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/2.165, allocations: 19.3 kB / 0.9647 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/2.166, allocations: 1.005 MB / 0.9657 GB, free: 121.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/2.167, allocations: 38.83 kB / 0.9657 GB, free: 121.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.808e-06/2.167, allocations: 0 / 0.9657 GB, free: 121.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.006336/2.173, allocations: 0.6145 MB / 0.9663 GB, free: 121.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/2.173, allocations: 60.41 kB / 0.9664 GB, free: 121.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/2.173, allocations: 96.45 kB / 0.9665 GB, free: 121.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/2.173, allocations: 26.89 kB / 0.9665 GB, free: 121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/2.173, allocations: 165.6 kB / 0.9666 GB, free: 120.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.167e-05/2.173, allocations: 46.84 kB / 0.9667 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/2.173, allocations: 3.344 kB / 0.9667 GB, free: 120.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.353e-05/2.173, allocations: 319.4 kB / 0.967 GB, free: 120.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/2.174, allocations: 71 kB / 0.9671 GB, free: 120.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/2.174, allocations: 97.33 kB / 0.9672 GB, free: 120.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/2.174, allocations: 81.39 kB / 0.9672 GB, free: 120.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-06/2.174, allocations: 0 / 0.9672 GB, free: 120.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006912/2.175, allocations: 228.2 kB / 0.9675 GB, free: 120.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/2.175, allocations: 6.469 kB / 0.9675 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.318e-06/2.175, allocations: 3.078 kB / 0.9675 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/2.175, allocations: 1.5 kB / 0.9675 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/2.176, allocations: 56.23 kB / 0.9675 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/2.176, allocations: 1.219 kB / 0.9675 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/2.176, allocations: 22.12 kB / 0.9675 GB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/2.176, allocations: 13.34 kB / 0.9676 GB, free: 120.5 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 () * 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.0001011/2.176, allocations: 114.8 kB / 0.9677 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/2.176, allocations: 11.75 kB / 0.9677 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009844/2.177, allocations: 338.6 kB / 0.968 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/2.177, allocations: 6.484 kB / 0.968 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/2.177, allocations: 0.5625 kB / 0.968 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.597e-06/2.177, allocations: 0.7031 kB / 0.968 GB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/2.179, allocations: 0.7268 MB / 0.9687 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/2.179, allocations: 7.422 kB / 0.9687 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005384/2.179, allocations: 43.27 kB / 0.9688 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.494e-06/2.179, allocations: 0 / 0.9688 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/2.179, allocations: 9.078 kB / 0.9688 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.746e-06/2.179, allocations: 4.938 kB / 0.9688 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.83e-06/2.179, allocations: 0 / 0.9688 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007717/2.18, allocations: 333.2 kB / 0.9691 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/2.18, allocations: 108.6 kB / 0.9692 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/2.18, allocations: 6.703 kB / 0.9692 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/2.181, allocations: 16.38 kB / 0.9692 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/2.181, allocations: 11.41 kB / 0.9692 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/2.181, allocations: 12.95 kB / 0.9692 GB, free: 119.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.645e-05/2.181, allocations: 83.16 kB / 0.9693 GB, free: 119.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.25e-07/2.181, allocations: 3.281 kB / 0.9693 GB, free: 119.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008579/2.182, allocations: 144.2 kB / 0.9695 GB, free: 119.5 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 () * 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.001088/2.183, allocations: 0.633 MB / 0.9701 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005364/2.183, allocations: 190.6 kB / 0.9703 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/2.183, allocations: 0 / 0.9703 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/2.184, allocations: 107.5 kB / 0.9704 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/2.184, allocations: 26.61 kB / 0.9704 GB, free: 119.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/2.185, allocations: 189.8 kB / 0.9706 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/2.185, allocations: 0.703 MB / 0.9713 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/2.185, allocations: 32.16 kB / 0.9713 GB, free: 118.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.242e-06/2.185, allocations: 1.719 kB / 0.9713 GB, free: 118.6 MB / 426.7 MB Notification: Performance of Templates: time 0.01291/2.198, allocations: 6.921 MB / 0.9781 GB, free: 118.1 MB / 426.7 MB