Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(Modelica): time 1.826/1.826, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 12 kB / 233.9 MB, free: 2.363 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08422, allocations: 38.76 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.141/2.225, allocations: 0.6955 GB / 0.9617 GB, free: 25.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/2.226, allocations: 92.69 kB / 0.9618 GB, free: 25.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.059/5.285, allocations: 0.5514 GB / 1.513 GB, free: 30.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.405e-06/5.285, allocations: 0 / 1.513 GB, free: 30.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.409e-05/5.285, allocations: 20 kB / 1.513 GB, free: 30.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003297/5.289, allocations: 0.9999 MB / 1.514 GB, free: 29.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/5.289, allocations: 11.97 kB / 1.514 GB, free: 29.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/5.29, allocations: 151 kB / 1.514 GB, free: 29.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/5.291, allocations: 489.2 kB / 1.515 GB, free: 28.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/5.291, allocations: 50 kB / 1.515 GB, free: 28.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/5.292, allocations: 75.91 kB / 1.515 GB, free: 28.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/5.294, allocations: 0.9281 MB / 1.516 GB, free: 27.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/5.294, allocations: 7.984 kB / 1.516 GB, free: 27.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/5.294, allocations: 32 kB / 1.516 GB, free: 27.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/5.294, allocations: 16 kB / 1.516 GB, free: 27.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/5.297, allocations: 0.8433 MB / 1.517 GB, free: 26.77 MB / 362.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.007778/5.304, allocations: 3.046 MB / 1.52 GB, free: 23.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/5.306, allocations: 0.6389 MB / 1.52 GB, free: 22.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.828e-05/5.306, allocations: 16.53 kB / 1.52 GB, free: 22.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/5.306, allocations: 47.06 kB / 1.52 GB, free: 22.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.637e-06/5.306, allocations: 4 kB / 1.52 GB, free: 22.8 MB / 362.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: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02426/5.33, allocations: 6.126 MB / 1.526 GB, free: 16.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/5.33, allocations: 56.06 kB / 1.526 GB, free: 16.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/5.331, allocations: 0.5409 MB / 1.527 GB, free: 15.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002114/5.331, allocations: 41.7 kB / 1.527 GB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/5.332, allocations: 276.5 kB / 1.527 GB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/5.332, allocations: 256.3 kB / 1.527 GB, free: 15.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/5.332, allocations: 16 kB / 1.527 GB, free: 15.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/5.332, allocations: 374.8 kB / 1.528 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009995/5.333, allocations: 437.7 kB / 1.528 GB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/5.334, allocations: 0.5038 MB / 1.529 GB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/5.335, allocations: 0.4988 MB / 1.529 GB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/5.335, allocations: 0 / 1.529 GB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003037/5.338, allocations: 1.331 MB / 1.531 GB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/5.338, allocations: 8 kB / 1.531 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/5.339, allocations: 8.109 kB / 1.531 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009339/5.339, allocations: 330.5 kB / 1.531 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/5.341, allocations: 183.8 kB / 1.531 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008789/5.35, allocations: 10.28 MB / 1.541 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/5.351, allocations: 79.91 kB / 1.541 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/5.352, allocations: 43.97 kB / 1.541 GB, free: 16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007781/5.352, allocations: 273.6 kB / 1.541 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/5.353, allocations: 63.33 kB / 1.542 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/5.357, allocations: 1.275 MB / 1.543 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/5.357, allocations: 8 kB / 1.543 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/5.357, allocations: 0 / 1.543 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003212/5.36, allocations: 1.606 MB / 1.544 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006302/5.366, allocations: 2.26 MB / 1.547 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/5.366, allocations: 0 / 1.547 GB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/5.369, allocations: 227.7 kB / 1.547 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/5.369, allocations: 68.8 kB / 1.547 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/5.369, allocations: 39.97 kB / 1.547 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/5.371, allocations: 1.451 MB / 1.548 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/5.371, allocations: 0 / 1.548 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/5.376, allocations: 1.598 MB / 1.55 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/5.376, allocations: 148.4 kB / 1.55 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/5.376, allocations: 28 kB / 1.55 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/5.378, allocations: 71.78 kB / 1.55 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/5.378, allocations: 60.53 kB / 1.55 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/5.378, allocations: 63.94 kB / 1.55 GB, free: 6.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008198/5.379, allocations: 403.1 kB / 1.551 GB, free: 5.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/5.379, allocations: 0 / 1.551 GB, free: 5.926 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0023/5.381, allocations: 415.9 kB / 1.551 GB, free: 5.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.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 (77): * Single equations (assignments): 76 * 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.003843/5.385, allocations: 1.144 MB / 1.552 GB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004238/5.389, allocations: 1.869 MB / 1.554 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/5.39, allocations: 0 / 1.554 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001771/5.391, allocations: 0.6862 MB / 1.555 GB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/5.396, allocations: 474.2 kB / 1.555 GB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2711/5.667, allocations: 2.543 MB / 1.558 GB, free: 62.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/5.668, allocations: 0.9923 MB / 1.559 GB, free: 61.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002431/5.67, allocations: 269 kB / 1.559 GB, free: 61.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/5.671, allocations: 88.67 kB / 1.559 GB, free: 61.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/5.671, allocations: 2.562 kB / 1.559 GB, free: 61.71 MB / 378.7 MB Notification: Performance of Templates: time 0.08795/5.759, allocations: 35.58 MB / 1.594 GB, free: 61.04 MB / 378.7 MB