Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003603, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08186/0.08225, allocations: 44.5 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.206, allocations: 447.1 MB / 0.7379 GB, free: 113.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/1.206, allocations: 72.8 kB / 0.7379 GB, free: 113.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08742/1.294, allocations: 29.86 MB / 0.7671 GB, free: 83.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.819e-06/1.294, allocations: 0 / 0.7671 GB, free: 83.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/1.294, allocations: 4 kB / 0.7671 GB, free: 83.85 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004123/1.294, allocations: 391.6 kB / 0.7675 GB, free: 83.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.294, allocations: 12.03 kB / 0.7675 GB, free: 83.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/1.296, allocations: 183.6 kB / 0.7677 GB, free: 83.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/1.296, allocations: 195 kB / 0.7678 GB, free: 83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/1.296, allocations: 12 kB / 0.7679 GB, free: 82.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/1.296, allocations: 11.91 kB / 0.7679 GB, free: 82.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/1.297, allocations: 224 kB / 0.7681 GB, free: 82.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.297, allocations: 4 kB / 0.7681 GB, free: 82.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/1.297, allocations: 0 / 0.7681 GB, free: 82.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-06/1.297, allocations: 0 / 0.7681 GB, free: 82.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/1.298, allocations: 167.9 kB / 0.7682 GB, free: 82.57 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/1.299, allocations: 0.5883 MB / 0.7688 GB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/1.299, allocations: 138.5 kB / 0.769 GB, free: 81.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/1.299, allocations: 3.984 kB / 0.769 GB, free: 81.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/1.299, allocations: 38.56 kB / 0.769 GB, free: 81.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.323e-06/1.299, allocations: 4 kB / 0.769 GB, free: 81.73 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005814/1.305, allocations: 1.314 MB / 0.7703 GB, free: 80.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/1.305, allocations: 55.41 kB / 0.7703 GB, free: 80.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/1.305, allocations: 101 kB / 0.7704 GB, free: 80.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.305, allocations: 29.7 kB / 0.7705 GB, free: 80.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/1.305, allocations: 162.5 kB / 0.7706 GB, free: 79.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/1.305, allocations: 74.98 kB / 0.7707 GB, free: 79.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/1.305, allocations: 0 / 0.7707 GB, free: 79.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.427e-05/1.305, allocations: 322.8 kB / 0.771 GB, free: 79.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.306, allocations: 71.91 kB / 0.7711 GB, free: 79.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/1.306, allocations: 95.58 kB / 0.7712 GB, free: 79.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/1.306, allocations: 86.98 kB / 0.7712 GB, free: 79.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-06/1.306, allocations: 0 / 0.7712 GB, free: 79.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006194/1.307, allocations: 260.6 kB / 0.7715 GB, free: 79.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.307, allocations: 8 kB / 0.7715 GB, free: 79.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.455e-06/1.307, allocations: 0 / 0.7715 GB, free: 79.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/1.307, allocations: 52.78 kB / 0.7715 GB, free: 78.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/1.307, allocations: 59.98 kB / 0.7716 GB, free: 78.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003697/1.308, allocations: 0.5563 MB / 0.7721 GB, free: 78.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/1.308, allocations: 19.95 kB / 0.7722 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/1.308, allocations: 24 kB / 0.7722 GB, free: 78.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.308, allocations: 121.8 kB / 0.7723 GB, free: 78.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/1.308, allocations: 19.86 kB / 0.7723 GB, free: 78.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/1.309, allocations: 346.2 kB / 0.7727 GB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.577e-06/1.309, allocations: 4 kB / 0.7727 GB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.048e-06/1.309, allocations: 0 / 0.7727 GB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.265e-06/1.309, allocations: 0 / 0.7727 GB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/1.311, allocations: 0.6035 MB / 0.7732 GB, free: 77.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.311, allocations: 4.094 kB / 0.7732 GB, free: 77.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/1.311, allocations: 63.89 kB / 0.7733 GB, free: 77.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/1.311, allocations: 20.84 kB / 0.7733 GB, free: 77.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/1.311, allocations: 15.98 kB / 0.7733 GB, free: 77.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007806/1.312, allocations: 1.272 MB / 0.7746 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.312, allocations: 3.953 kB / 0.7746 GB, free: 75.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/1.313, allocations: 463.9 kB / 0.775 GB, free: 75.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/1.313, allocations: 92.94 kB / 0.7751 GB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/1.313, allocations: 8 kB / 0.7751 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/1.313, allocations: 7.938 kB / 0.7751 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/1.313, allocations: 31.98 kB / 0.7752 GB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/1.313, allocations: 27.98 kB / 0.7752 GB, free: 74.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.597e-05/1.313, allocations: 87.22 kB / 0.7753 GB, free: 74.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.27e-07/1.313, allocations: 3.938 kB / 0.7753 GB, free: 74.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006357/1.314, allocations: 115.9 kB / 0.7754 GB, free: 74.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008298/1.315, allocations: 0.5389 MB / 0.7759 GB, free: 74.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006012/1.316, allocations: 199.8 kB / 0.7761 GB, free: 73.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.331e-06/1.316, allocations: 4.188 kB / 0.7761 GB, free: 73.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/1.316, allocations: 215.5 kB / 0.7763 GB, free: 73.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/1.316, allocations: 47.84 kB / 0.7764 GB, free: 73.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009227/1.317, allocations: 0.5872 MB / 0.7769 GB, free: 73.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/1.317, allocations: 0.7088 MB / 0.7776 GB, free: 72.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.318, allocations: 59.39 kB / 0.7777 GB, free: 72.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.508e-06/1.318, allocations: 3.938 kB / 0.7777 GB, free: 72.28 MB / 410.7 MB Notification: Performance of Templates: time 0.01002/1.328, allocations: 6.461 MB / 0.784 GB, free: 65.81 MB / 410.7 MB