Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 44.5 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.595, allocations: 447.1 MB / 0.7385 GB, free: 91.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.595, allocations: 79.64 kB / 0.7385 GB, free: 91.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/1.697, allocations: 29.85 MB / 0.7677 GB, free: 66.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.697, allocations: 4 kB / 0.7677 GB, free: 66.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/1.697, allocations: 0 / 0.7677 GB, free: 66.04 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.0005585/1.698, allocations: 395.5 kB / 0.7681 GB, free: 65.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.698, allocations: 8.031 kB / 0.7681 GB, free: 65.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/1.701, allocations: 179 kB / 0.7682 GB, free: 65.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/1.701, allocations: 201.8 kB / 0.7684 GB, free: 65.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/1.701, allocations: 11.86 kB / 0.7684 GB, free: 65.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/1.701, allocations: 15.84 kB / 0.7685 GB, free: 65.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/1.702, allocations: 217.8 kB / 0.7687 GB, free: 65.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.702, allocations: 0 / 0.7687 GB, free: 65.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/1.702, allocations: 7.75 kB / 0.7687 GB, free: 65.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.702, allocations: 4 kB / 0.7687 GB, free: 65.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/1.703, allocations: 169.4 kB / 0.7688 GB, free: 64.91 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.001318/1.704, allocations: 0.5862 MB / 0.7694 GB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/1.704, allocations: 132.3 kB / 0.7695 GB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/1.705, allocations: 7.984 kB / 0.7696 GB, free: 64.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/1.705, allocations: 30.56 kB / 0.7696 GB, free: 64.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.835e-06/1.705, allocations: 4 kB / 0.7696 GB, free: 64.18 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.008691/1.713, allocations: 1.306 MB / 0.7709 GB, free: 62.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/1.713, allocations: 51.41 kB / 0.7709 GB, free: 62.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.713, allocations: 117 kB / 0.771 GB, free: 62.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/1.714, allocations: 29.64 kB / 0.771 GB, free: 62.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/1.714, allocations: 95.67 kB / 0.7711 GB, free: 62.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/1.714, allocations: 69.94 kB / 0.7712 GB, free: 62.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/1.714, allocations: 3.375 kB / 0.7712 GB, free: 62.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/1.714, allocations: 326.5 kB / 0.7715 GB, free: 62.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/1.714, allocations: 65.28 kB / 0.7716 GB, free: 62.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/1.714, allocations: 101.3 kB / 0.7717 GB, free: 62.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/1.715, allocations: 81.23 kB / 0.7718 GB, free: 62.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.715, allocations: 0 / 0.7718 GB, free: 62.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007539/1.715, allocations: 262.6 kB / 0.772 GB, free: 61.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.715, allocations: 8 kB / 0.772 GB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.715, allocations: 3.953 kB / 0.772 GB, free: 61.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/1.716, allocations: 55.95 kB / 0.7721 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/1.716, allocations: 51.95 kB / 0.7721 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004434/1.717, allocations: 0.5671 MB / 0.7727 GB, free: 61.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/1.717, allocations: 15.02 kB / 0.7727 GB, free: 61.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/1.717, allocations: 24 kB / 0.7727 GB, free: 61.19 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.0001588/1.717, allocations: 128.7 kB / 0.7728 GB, free: 61.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/1.717, allocations: 12 kB / 0.7728 GB, free: 61.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/1.719, allocations: 345.1 kB / 0.7732 GB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.719, allocations: 0 / 0.7732 GB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.719, allocations: 0 / 0.7732 GB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.719, allocations: 4 kB / 0.7732 GB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.72, allocations: 0.6114 MB / 0.7738 GB, free: 60.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.72, allocations: 96 / 0.7738 GB, free: 60.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/1.721, allocations: 71.14 kB / 0.7738 GB, free: 60.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/1.721, allocations: 24.64 kB / 0.7739 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/1.721, allocations: 11.56 kB / 0.7739 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009059/1.722, allocations: 1.286 MB / 0.7751 GB, free: 58.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.722, allocations: 0 / 0.7751 GB, free: 58.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/1.723, allocations: 433.3 kB / 0.7755 GB, free: 58.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/1.723, allocations: 92.98 kB / 0.7756 GB, free: 58.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/1.723, allocations: 7.625 kB / 0.7756 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/1.723, allocations: 7.625 kB / 0.7757 GB, free: 58.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/1.723, allocations: 19.97 kB / 0.7757 GB, free: 58.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.995e-05/1.723, allocations: 27.67 kB / 0.7757 GB, free: 58.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.539e-05/1.723, allocations: 91.03 kB / 0.7758 GB, free: 58.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.723, allocations: 4.062 kB / 0.7758 GB, free: 58.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007646/1.724, allocations: 113.2 kB / 0.7759 GB, free: 58.03 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.001055/1.725, allocations: 0.5285 MB / 0.7764 GB, free: 57.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000765/1.726, allocations: 197.9 kB / 0.7766 GB, free: 57.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.726, allocations: 3.625 kB / 0.7766 GB, free: 57.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/1.727, allocations: 223.2 kB / 0.7768 GB, free: 57.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/1.727, allocations: 43.86 kB / 0.7769 GB, free: 57.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.728, allocations: 0.572 MB / 0.7774 GB, free: 56.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/1.728, allocations: 0.7049 MB / 0.7781 GB, free: 55.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007331/1.729, allocations: 85.55 kB / 0.7782 GB, free: 55.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/1.73, allocations: 54.84 kB / 0.7782 GB, free: 55.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/1.73, allocations: 0 / 0.7782 GB, free: 55.67 MB / 410.7 MB Notification: Performance of Templates: time 0.0246/1.754, allocations: 11.63 MB / 0.7896 GB, free: 44.04 MB / 410.7 MB