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.Tests.MediaTestModels.IdealGases.Nitrogen.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.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.654/1.654, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.292e-05, allocations: 0 / 228.8 MB, free: 15.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2067, allocations: 38.77 MB / 267.6 MB, free: 9.449 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.228, allocations: 428.1 MB / 0.6794 GB, free: 84.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.228, allocations: 82.81 kB / 0.6795 GB, free: 84.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6059/1.834, allocations: 143.1 MB / 0.8192 GB, free: 92.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.087e-06/1.834, allocations: 0 / 0.8192 GB, free: 92.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/1.834, allocations: 6.906 kB / 0.8192 GB, free: 92.41 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008655/1.835, allocations: 0.5972 MB / 0.8198 GB, free: 91.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.835, allocations: 13.25 kB / 0.8198 GB, free: 91.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/1.835, allocations: 39.69 kB / 0.8198 GB, free: 91.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/1.836, allocations: 287.5 kB / 0.8201 GB, free: 91.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.836, allocations: 19.06 kB / 0.8201 GB, free: 91.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/1.836, allocations: 26.59 kB / 0.8202 GB, free: 91.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/1.836, allocations: 313.6 kB / 0.8205 GB, free: 91.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.836, allocations: 3.891 kB / 0.8205 GB, free: 91.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/1.836, allocations: 10.94 kB / 0.8205 GB, free: 91.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.295e-06/1.836, allocations: 7.031 kB / 0.8205 GB, free: 91.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/1.837, allocations: 198 kB / 0.8207 GB, free: 91.24 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.001744/1.838, allocations: 1.573 MB / 0.8222 GB, free: 89.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/1.839, allocations: 167 kB / 0.8224 GB, free: 89.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/1.839, allocations: 97.22 kB / 0.8225 GB, free: 89.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/1.839, allocations: 4.188 kB / 0.8225 GB, free: 89.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/1.839, allocations: 38.16 kB / 0.8225 GB, free: 89.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.673e-06/1.839, allocations: 0 / 0.8225 GB, free: 89.23 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005448/1.845, allocations: 1.237 MB / 0.8237 GB, free: 87.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.845, allocations: 59.39 kB / 0.8238 GB, free: 87.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/1.845, allocations: 227.7 kB / 0.824 GB, free: 87.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/1.845, allocations: 31.7 kB / 0.824 GB, free: 87.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/1.845, allocations: 234.4 kB / 0.8242 GB, free: 87.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/1.845, allocations: 98.16 kB / 0.8243 GB, free: 87.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/1.845, allocations: 10.16 kB / 0.8243 GB, free: 87.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/1.845, allocations: 330 kB / 0.8246 GB, free: 86.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/1.846, allocations: 87.72 kB / 0.8247 GB, free: 86.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/1.846, allocations: 194.5 kB / 0.8249 GB, free: 86.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/1.846, allocations: 121.9 kB / 0.825 GB, free: 86.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.846, allocations: 0 / 0.825 GB, free: 86.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007998/1.847, allocations: 370.5 kB / 0.8254 GB, free: 86.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.847, allocations: 10.44 kB / 0.8254 GB, free: 86.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.764e-06/1.847, allocations: 4 kB / 0.8254 GB, free: 86.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/1.847, allocations: 69.67 kB / 0.8255 GB, free: 86.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/1.848, allocations: 91.84 kB / 0.8256 GB, free: 85.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/1.849, allocations: 1.85 MB / 0.8274 GB, free: 83.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/1.849, allocations: 27.48 kB / 0.8274 GB, free: 83.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/1.849, allocations: 40 kB / 0.8274 GB, free: 83.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.849, allocations: 116.9 kB / 0.8275 GB, free: 83.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.868e-05/1.85, allocations: 35.66 kB / 0.8276 GB, free: 83.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/1.851, allocations: 437.6 kB / 0.828 GB, free: 83.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/1.851, allocations: 4 kB / 0.828 GB, free: 83.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-06/1.851, allocations: 0 / 0.828 GB, free: 83.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005252/1.851, allocations: 0.5632 MB / 0.8285 GB, free: 82.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.852, allocations: 0.7227 MB / 0.8292 GB, free: 81.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.853, allocations: 0 / 0.8292 GB, free: 81.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/1.853, allocations: 75.89 kB / 0.8293 GB, free: 81.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/1.853, allocations: 23.19 kB / 0.8293 GB, free: 81.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/1.853, allocations: 12 kB / 0.8294 GB, free: 81.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007485/1.854, allocations: 1.279 MB / 0.8306 GB, free: 80.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.652e-06/1.854, allocations: 0 / 0.8306 GB, free: 80.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/1.855, allocations: 0.4888 MB / 0.8311 GB, free: 79.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-05/1.855, allocations: 100.8 kB / 0.8312 GB, free: 79.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/1.855, allocations: 8 kB / 0.8312 GB, free: 79.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/1.855, allocations: 18.7 kB / 0.8312 GB, free: 79.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/1.855, allocations: 31.92 kB / 0.8312 GB, free: 79.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/1.855, allocations: 27.98 kB / 0.8313 GB, free: 79.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002118/1.856, allocations: 186.7 kB / 0.8314 GB, free: 79.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.43e-07/1.856, allocations: 0 / 0.8314 GB, free: 79.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008742/1.856, allocations: 187.9 kB / 0.8316 GB, free: 79.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.00115/1.858, allocations: 0.7664 MB / 0.8324 GB, free: 78.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007321/1.858, allocations: 370.2 kB / 0.8327 GB, free: 78.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.072e-06/1.858, allocations: 0 / 0.8327 GB, free: 78.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/1.859, allocations: 231.4 kB / 0.8329 GB, free: 78.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.86, allocations: 160.1 kB / 0.8331 GB, free: 77.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.861, allocations: 0.5152 MB / 0.8336 GB, free: 77.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/1.861, allocations: 0.7687 MB / 0.8343 GB, free: 76.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/1.861, allocations: 79.41 kB / 0.8344 GB, free: 76.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/1.861, allocations: 3.938 kB / 0.8344 GB, free: 76.55 MB / 362.7 MB Notification: Performance of Templates: time 0.01616/1.878, allocations: 11.56 MB / 0.8457 GB, free: 65.06 MB / 362.7 MB