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.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.122/2.122, allocations: 209.3 MB / 225.4 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004867, allocations: 8 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3812, allocations: 48.71 MB / 331.8 MB, free: 6.48 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.659, allocations: 449.7 MB / 0.7631 GB, free: 38.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.659, allocations: 76.16 kB / 0.7632 GB, free: 38.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1019/1.761, allocations: 29.89 MB / 0.7924 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.396e-06/1.761, allocations: 3.984 kB / 0.7924 GB, free: 13.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/1.761, allocations: 4 kB / 0.7924 GB, free: 13.04 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005401/1.761, allocations: 396.7 kB / 0.7928 GB, free: 12.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.761, allocations: 8.031 kB / 0.7928 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/1.764, allocations: 188.6 kB / 0.793 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/1.765, allocations: 200 kB / 0.7932 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/1.765, allocations: 2.469 kB / 0.7932 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/1.765, allocations: 11.5 kB / 0.7932 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/1.765, allocations: 229.7 kB / 0.7934 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.765, allocations: 4 kB / 0.7934 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/1.766, allocations: 3.062 kB / 0.7934 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/1.766, allocations: 4 kB / 0.7934 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/1.766, allocations: 170 kB / 0.7936 GB, free: 11.86 MB / 442.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.001306/1.768, allocations: 0.5684 MB / 0.7941 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/1.768, allocations: 142.5 kB / 0.7943 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/1.768, allocations: 11.92 kB / 0.7943 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.768, allocations: 39.03 kB / 0.7943 GB, free: 11.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.885e-06/1.768, allocations: 0 / 0.7943 GB, free: 11.03 MB / 442.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.0089/1.777, allocations: 1.303 MB / 0.7956 GB, free: 9.629 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/1.777, allocations: 51.41 kB / 0.7956 GB, free: 9.566 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.815e-05/1.777, allocations: 117.7 kB / 0.7957 GB, free: 9.441 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/1.777, allocations: 29.7 kB / 0.7958 GB, free: 9.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/1.777, allocations: 158.5 kB / 0.7959 GB, free: 9.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/1.778, allocations: 74.98 kB / 0.796 GB, free: 9.176 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/1.778, allocations: 4 kB / 0.796 GB, free: 9.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/1.778, allocations: 314.8 kB / 0.7963 GB, free: 8.855 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/1.778, allocations: 71.97 kB / 0.7964 GB, free: 8.785 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/1.778, allocations: 103.6 kB / 0.7965 GB, free: 8.672 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/1.778, allocations: 79.92 kB / 0.7965 GB, free: 8.598 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.778, allocations: 0 / 0.7965 GB, free: 8.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007528/1.779, allocations: 264.7 kB / 0.7968 GB, free: 8.332 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.779, allocations: 4 kB / 0.7968 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.779, allocations: 4 kB / 0.7968 GB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/1.78, allocations: 56.72 kB / 0.7969 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/1.78, allocations: 55.91 kB / 0.7969 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004501/1.781, allocations: 0.5564 MB / 0.7975 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/1.781, allocations: 23.95 kB / 0.7975 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/1.781, allocations: 24 kB / 0.7975 GB, free: 7.582 MB / 442.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.0001499/1.781, allocations: 121.8 kB / 0.7976 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/1.781, allocations: 11.86 kB / 0.7976 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/1.782, allocations: 347.3 kB / 0.798 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.782, allocations: 4 kB / 0.798 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.782, allocations: 0 / 0.798 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.782, allocations: 3.984 kB / 0.798 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/1.784, allocations: 0.6178 MB / 0.7986 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.784, allocations: 0 / 0.7986 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/1.784, allocations: 59.95 kB / 0.7986 GB, free: 6.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/1.785, allocations: 20.84 kB / 0.7986 GB, free: 6.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/1.785, allocations: 16.08 kB / 0.7987 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000914/1.786, allocations: 1.276 MB / 0.7999 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.786, allocations: 12.23 kB / 0.7999 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/1.787, allocations: 422.2 kB / 0.8003 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/1.787, allocations: 89.05 kB / 0.8004 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.822e-05/1.787, allocations: 7.938 kB / 0.8004 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/1.787, allocations: 15.97 kB / 0.8004 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/1.787, allocations: 31.91 kB / 0.8005 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/1.787, allocations: 23.98 kB / 0.8005 GB, free: 4.266 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.391e-05/1.787, allocations: 87.28 kB / 0.8006 GB, free: 4.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.787, allocations: 0 / 0.8006 GB, free: 4.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007299/1.788, allocations: 115.9 kB / 0.8007 GB, free: 4.066 MB / 442.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.001103/1.789, allocations: 0.5312 MB / 0.8012 GB, free: 3.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008113/1.79, allocations: 215.6 kB / 0.8014 GB, free: 3.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.79, allocations: 0 / 0.8014 GB, free: 3.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004627/1.791, allocations: 218.6 kB / 0.8016 GB, free: 3.082 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/1.791, allocations: 44.33 kB / 0.8017 GB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.792, allocations: 0.5996 MB / 0.8022 GB, free: 2.395 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/1.792, allocations: 0.7088 MB / 0.8029 GB, free: 1.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/1.793, allocations: 55.41 kB / 0.803 GB, free: 1.605 MB / 442.7 MB Notification: Performance of SimCode: time 1.684e-06/1.793, allocations: 0 / 0.803 GB, free: 1.605 MB / 442.7 MB Notification: Performance of Templates: time 0.2968/2.09, allocations: 6.446 MB / 0.8093 GB, free: 150 MB / 442.7 MB