Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 2.263/2.263, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003767, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.442/1.543, allocations: 447.1 MB / 0.7384 GB, free: 95.08 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.543, allocations: 76.22 kB / 0.7384 GB, free: 95.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1051/1.648, allocations: 29.85 MB / 0.7676 GB, free: 70.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/1.648, allocations: 4 kB / 0.7676 GB, free: 70.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/1.648, allocations: 0 / 0.7676 GB, free: 70.01 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.0005594/1.649, allocations: 394.2 kB / 0.768 GB, free: 69.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.649, allocations: 8.031 kB / 0.768 GB, free: 69.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/1.652, allocations: 186.4 kB / 0.7682 GB, free: 69.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/1.652, allocations: 205 kB / 0.7684 GB, free: 69.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.652, allocations: 4 kB / 0.7684 GB, free: 69.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.4e-05/1.652, allocations: 15.58 kB / 0.7684 GB, free: 69.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/1.653, allocations: 221.8 kB / 0.7686 GB, free: 68.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.653, allocations: 0 / 0.7686 GB, free: 68.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/1.653, allocations: 3.438 kB / 0.7686 GB, free: 68.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/1.653, allocations: 4 kB / 0.7686 GB, free: 68.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007294/1.654, allocations: 176.6 kB / 0.7688 GB, free: 68.87 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.00138/1.655, allocations: 0.5817 MB / 0.7693 GB, free: 68.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/1.656, allocations: 133.6 kB / 0.7695 GB, free: 68.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/1.656, allocations: 8 kB / 0.7695 GB, free: 68.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/1.656, allocations: 34.19 kB / 0.7695 GB, free: 68.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/1.656, allocations: 0 / 0.7695 GB, free: 68.14 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.008897/1.665, allocations: 1.304 MB / 0.7708 GB, free: 66.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/1.665, allocations: 51.41 kB / 0.7708 GB, free: 66.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/1.665, allocations: 117.1 kB / 0.7709 GB, free: 66.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/1.665, allocations: 29.27 kB / 0.771 GB, free: 66.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/1.665, allocations: 162.5 kB / 0.7711 GB, free: 66.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/1.665, allocations: 70.06 kB / 0.7712 GB, free: 66.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/1.665, allocations: 3.562 kB / 0.7712 GB, free: 66.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/1.665, allocations: 326.3 kB / 0.7715 GB, free: 66.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.666, allocations: 66.41 kB / 0.7716 GB, free: 66.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/1.666, allocations: 108 kB / 0.7717 GB, free: 66.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/1.666, allocations: 82.23 kB / 0.7717 GB, free: 66.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.666, allocations: 0 / 0.7717 GB, free: 66.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007654/1.667, allocations: 256.2 kB / 0.772 GB, free: 65.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.667, allocations: 8 kB / 0.772 GB, free: 65.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.667, allocations: 3.953 kB / 0.772 GB, free: 65.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/1.667, allocations: 52.61 kB / 0.7721 GB, free: 65.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/1.668, allocations: 55.89 kB / 0.7721 GB, free: 65.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004528/1.668, allocations: 0.5631 MB / 0.7727 GB, free: 65.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/1.669, allocations: 19.7 kB / 0.7727 GB, free: 65.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/1.669, allocations: 24.09 kB / 0.7727 GB, free: 65.09 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.0001569/1.669, allocations: 128.9 kB / 0.7728 GB, free: 64.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/1.669, allocations: 15.8 kB / 0.7728 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/1.67, allocations: 340.8 kB / 0.7732 GB, free: 64.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/1.67, allocations: 0 / 0.7732 GB, free: 64.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.67, allocations: 0 / 0.7732 GB, free: 64.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/1.67, allocations: 0 / 0.7732 GB, free: 64.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.672, allocations: 0.6213 MB / 0.7738 GB, free: 64.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.672, allocations: 0 / 0.7738 GB, free: 64.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/1.672, allocations: 63.89 kB / 0.7738 GB, free: 64.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/1.673, allocations: 20.41 kB / 0.7738 GB, free: 64.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/1.673, allocations: 11.62 kB / 0.7739 GB, free: 64.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009826/1.674, allocations: 1.278 MB / 0.7751 GB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.674, allocations: 0 / 0.7751 GB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/1.675, allocations: 429.8 kB / 0.7755 GB, free: 62.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/1.675, allocations: 96.89 kB / 0.7756 GB, free: 62.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/1.675, allocations: 7.875 kB / 0.7756 GB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/1.675, allocations: 7.938 kB / 0.7756 GB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/1.675, allocations: 27.84 kB / 0.7757 GB, free: 62.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/1.675, allocations: 27.61 kB / 0.7757 GB, free: 62.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.652e-05/1.676, allocations: 87.22 kB / 0.7758 GB, free: 62.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.676, allocations: 0 / 0.7758 GB, free: 62.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007421/1.676, allocations: 117.3 kB / 0.7759 GB, free: 61.93 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.001088/1.677, allocations: 0.5365 MB / 0.7764 GB, free: 61.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00082/1.678, allocations: 198.3 kB / 0.7766 GB, free: 61.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.678, allocations: 4.188 kB / 0.7766 GB, free: 61.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004601/1.679, allocations: 222 kB / 0.7768 GB, free: 61.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/1.679, allocations: 43.02 kB / 0.7768 GB, free: 61.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/1.681, allocations: 0.5843 MB / 0.7774 GB, free: 60.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/1.681, allocations: 0.7127 MB / 0.7781 GB, free: 59.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/1.681, allocations: 58.95 kB / 0.7782 GB, free: 59.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/1.681, allocations: 0 / 0.7782 GB, free: 59.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01381/1.695, allocations: 6.473 MB / 0.7845 GB, free: 53.16 MB / 410.7 MB