Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.604/1.604, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.815e-05, allocations: 4 kB / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.235, allocations: 441.3 MB / 0.6923 GB, free: 87.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/1.235, allocations: 67.95 kB / 0.6923 GB, free: 87.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08875/1.324, allocations: 29.77 MB / 0.7214 GB, free: 57.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.979e-06/1.324, allocations: 0 / 0.7214 GB, free: 57.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/1.324, allocations: 0 / 0.7214 GB, free: 57.34 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003928/1.324, allocations: 391 kB / 0.7218 GB, free: 56.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.324, allocations: 11.97 kB / 0.7218 GB, free: 56.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/1.326, allocations: 191.5 kB / 0.722 GB, free: 56.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/1.326, allocations: 206.9 kB / 0.7222 GB, free: 56.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/1.326, allocations: 0 / 0.7222 GB, free: 56.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/1.326, allocations: 12 kB / 0.7222 GB, free: 56.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/1.327, allocations: 219.3 kB / 0.7224 GB, free: 56.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/1.327, allocations: 0 / 0.7224 GB, free: 56.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/1.327, allocations: 4 kB / 0.7224 GB, free: 56.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-06/1.327, allocations: 4 kB / 0.7224 GB, free: 56.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/1.327, allocations: 156.7 kB / 0.7226 GB, free: 56.07 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00103/1.328, allocations: 0.5833 MB / 0.7231 GB, free: 55.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/1.329, allocations: 126.6 kB / 0.7232 GB, free: 55.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/1.329, allocations: 68.83 kB / 0.7233 GB, free: 55.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/1.329, allocations: 0 / 0.7233 GB, free: 55.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/1.329, allocations: 42.5 kB / 0.7234 GB, free: 55.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.058e-06/1.329, allocations: 0 / 0.7234 GB, free: 55.18 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004991/1.334, allocations: 1.083 MB / 0.7244 GB, free: 54.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/1.334, allocations: 55.39 kB / 0.7245 GB, free: 53.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/1.334, allocations: 108.9 kB / 0.7246 GB, free: 53.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/1.334, allocations: 29.7 kB / 0.7246 GB, free: 53.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/1.334, allocations: 170.3 kB / 0.7248 GB, free: 53.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/1.334, allocations: 67.08 kB / 0.7248 GB, free: 53.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/1.334, allocations: 4 kB / 0.7248 GB, free: 53.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/1.334, allocations: 322.8 kB / 0.7251 GB, free: 53.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/1.335, allocations: 60 kB / 0.7252 GB, free: 53.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/1.335, allocations: 99.59 kB / 0.7253 GB, free: 53.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/1.335, allocations: 76.28 kB / 0.7254 GB, free: 53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.316e-06/1.335, allocations: 0 / 0.7254 GB, free: 53 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005552/1.336, allocations: 248.6 kB / 0.7256 GB, free: 52.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.336, allocations: 8 kB / 0.7256 GB, free: 52.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.336, allocations: 0 / 0.7256 GB, free: 52.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/1.336, allocations: 52.77 kB / 0.7257 GB, free: 52.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/1.336, allocations: 55.91 kB / 0.7257 GB, free: 52.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003721/1.337, allocations: 0.5642 MB / 0.7263 GB, free: 52.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/1.337, allocations: 11.91 kB / 0.7263 GB, free: 52.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/1.337, allocations: 27.98 kB / 0.7263 GB, free: 52 MB / 362.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 () * 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.0001018/1.337, allocations: 120.9 kB / 0.7264 GB, free: 51.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/1.337, allocations: 7.906 kB / 0.7264 GB, free: 51.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009555/1.338, allocations: 339 kB / 0.7267 GB, free: 51.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-06/1.338, allocations: 4 kB / 0.7267 GB, free: 51.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-06/1.338, allocations: 0 / 0.7267 GB, free: 51.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.322e-06/1.338, allocations: 0 / 0.7267 GB, free: 51.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/1.339, allocations: 0.5996 MB / 0.7273 GB, free: 50.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.607e-06/1.339, allocations: 0 / 0.7273 GB, free: 50.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/1.34, allocations: 63.89 kB / 0.7274 GB, free: 50.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/1.34, allocations: 20.84 kB / 0.7274 GB, free: 50.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/1.34, allocations: 16.09 kB / 0.7274 GB, free: 50.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007738/1.341, allocations: 1.26 MB / 0.7287 GB, free: 49.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.928e-06/1.341, allocations: 4.156 kB / 0.7287 GB, free: 49.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/1.341, allocations: 470.3 kB / 0.7291 GB, free: 48.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/1.341, allocations: 85.05 kB / 0.7292 GB, free: 48.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/1.341, allocations: 4 kB / 0.7292 GB, free: 48.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/1.342, allocations: 4 kB / 0.7292 GB, free: 48.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/1.342, allocations: 31.95 kB / 0.7292 GB, free: 48.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.153e-05/1.342, allocations: 27.98 kB / 0.7293 GB, free: 48.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.595e-05/1.342, allocations: 83.28 kB / 0.7293 GB, free: 48.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.09e-07/1.342, allocations: 0 / 0.7293 GB, free: 48.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006393/1.343, allocations: 131.8 kB / 0.7295 GB, free: 48.49 MB / 362.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 () * 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.0008549/1.343, allocations: 0.5283 MB / 0.73 GB, free: 47.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005307/1.344, allocations: 200.2 kB / 0.7302 GB, free: 47.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.794e-06/1.344, allocations: 0 / 0.7302 GB, free: 47.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/1.344, allocations: 214.9 kB / 0.7304 GB, free: 47.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/1.345, allocations: 43.95 kB / 0.7304 GB, free: 47.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006383/1.345, allocations: 351 kB / 0.7307 GB, free: 47.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/1.346, allocations: 0.7126 MB / 0.7314 GB, free: 46.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/1.346, allocations: 63.39 kB / 0.7315 GB, free: 46.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.615e-06/1.346, allocations: 0 / 0.7315 GB, free: 46.3 MB / 362.7 MB Notification: Performance of Templates: time 0.009847/1.356, allocations: 6.432 MB / 0.7378 GB, free: 39.87 MB / 362.7 MB