Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.045/2.045, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004666, allocations: 15.98 kB / 283.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3706, allocations: 48.69 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.847/2.218, allocations: 0.5999 GB / 0.924 GB, free: 49.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/2.218, allocations: 84.64 kB / 0.924 GB, free: 49.56 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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.1528/2.371, allocations: 45.98 MB / 0.9689 GB, free: 8.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.414e-06/2.371, allocations: 0 / 0.9689 GB, free: 8.555 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/2.371, allocations: 4 kB / 0.9689 GB, free: 8.551 MB / 442.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.000681/2.372, allocations: 430.9 kB / 0.9694 GB, free: 8.082 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/2.372, allocations: 8.031 kB / 0.9694 GB, free: 8.074 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/2.372, allocations: 4 kB / 0.9694 GB, free: 8.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.105e-05/2.372, allocations: 178.9 kB / 0.9695 GB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/2.372, allocations: 4 kB / 0.9695 GB, free: 7.852 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/2.372, allocations: 11.91 kB / 0.9696 GB, free: 7.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/2.372, allocations: 69.67 kB / 0.9696 GB, free: 7.766 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/2.372, allocations: 4 kB / 0.9696 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/2.372, allocations: 0 / 0.9696 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/2.372, allocations: 4 kB / 0.9696 GB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/2.373, allocations: 51.95 kB / 0.9697 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/2.373, allocations: 385.7 kB / 0.97 GB, free: 7.262 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/2.373, allocations: 62.48 kB / 0.9701 GB, free: 7.191 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/2.375, allocations: 1.005 MB / 0.9711 GB, free: 5.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/2.375, allocations: 38.55 kB / 0.9711 GB, free: 5.934 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 2.534e-06/2.375, allocations: 0 / 0.9711 GB, free: 5.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.009536/2.384, allocations: 0.6459 MB / 0.9718 GB, free: 5.281 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/2.384, allocations: 51.41 kB / 0.9718 GB, free: 5.219 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/2.385, allocations: 101.9 kB / 0.9719 GB, free: 5.109 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/2.385, allocations: 29.7 kB / 0.9719 GB, free: 5.074 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/2.385, allocations: 158.7 kB / 0.9721 GB, free: 4.914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/2.385, allocations: 51.39 kB / 0.9721 GB, free: 4.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/2.385, allocations: 7.938 kB / 0.9721 GB, free: 4.855 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/2.385, allocations: 314.8 kB / 0.9724 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/2.385, allocations: 79.94 kB / 0.9725 GB, free: 4.461 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/2.386, allocations: 103.2 kB / 0.9726 GB, free: 4.352 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/2.386, allocations: 87.91 kB / 0.9727 GB, free: 4.266 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/2.386, allocations: 3.953 kB / 0.9727 GB, free: 4.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008997/2.387, allocations: 253.7 kB / 0.9729 GB, free: 4.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/2.387, allocations: 4 kB / 0.9729 GB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/2.387, allocations: 4 kB / 0.973 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/2.387, allocations: 0 / 0.973 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009521/2.388, allocations: 51.94 kB / 0.973 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/2.388, allocations: 0 / 0.973 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/2.389, allocations: 19.98 kB / 0.973 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/2.389, allocations: 15.98 kB / 0.973 GB, free: 3.914 MB / 442.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.0001504/2.389, allocations: 117.8 kB / 0.9731 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/2.389, allocations: 11.86 kB / 0.9732 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/2.39, allocations: 345.2 kB / 0.9735 GB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/2.39, allocations: 4.25 kB / 0.9735 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/2.39, allocations: 0 / 0.9735 GB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/2.39, allocations: 7.938 kB / 0.9735 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/2.392, allocations: 0.755 MB / 0.9742 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/2.392, allocations: 0 / 0.9742 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/2.393, allocations: 43.91 kB / 0.9743 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/2.393, allocations: 0 / 0.9743 GB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/2.393, allocations: 7.984 kB / 0.9743 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/2.393, allocations: 4 kB / 0.9743 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/2.393, allocations: 0 / 0.9743 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/2.394, allocations: 347.3 kB / 0.9746 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/2.394, allocations: 104.9 kB / 0.9747 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/2.394, allocations: 8 kB / 0.9747 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/2.395, allocations: 11.98 kB / 0.9747 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/2.395, allocations: 11.98 kB / 0.9748 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/2.395, allocations: 7.984 kB / 0.9748 GB, free: 2.012 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.894e-05/2.395, allocations: 87.22 kB / 0.9748 GB, free: 1.926 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.395, allocations: 0 / 0.9748 GB, free: 1.926 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007894/2.396, allocations: 143.8 kB / 0.975 GB, free: 1.785 MB / 442.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.00118/2.397, allocations: 0.6369 MB / 0.9756 GB, free: 1.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008284/2.398, allocations: 203.8 kB / 0.9758 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/2.398, allocations: 4.125 kB / 0.9758 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003734/2.398, allocations: 115.9 kB / 0.9759 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/2.399, allocations: 28.59 kB / 0.9759 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/2.399, allocations: 328.9 kB / 0.9763 GB, free: 456 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2776/2.677, allocations: 0.698 MB / 0.9769 GB, free: 139.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/2.678, allocations: 32.8 kB / 0.977 GB, free: 139.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/2.678, allocations: 0 / 0.977 GB, free: 139.9 MB / 442.7 MB Notification: Performance of Templates: time 0.01801/2.696, allocations: 6.914 MB / 0.9837 GB, free: 139.6 MB / 442.7 MB