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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.599/1.599, allocations: 171.3 MB / 179.2 MB, free: 7.586 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.071e-05, allocations: 8 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06877/0.06882, allocations: 38.77 MB / 261.3 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.252, allocations: 427.4 MB / 0.6726 GB, free: 97.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.252, allocations: 84.66 kB / 0.6726 GB, free: 97.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5872/1.84, allocations: 141.5 MB / 0.8108 GB, free: 65.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.25e-06/1.84, allocations: 1.219 kB / 0.8108 GB, free: 65.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.478e-05/1.84, allocations: 4.688 kB / 0.8108 GB, free: 65.49 MB / 346.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.0009738/1.841, allocations: 0.5978 MB / 0.8114 GB, free: 65.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.841, allocations: 11.89 kB / 0.8114 GB, free: 65.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/1.841, allocations: 43.42 kB / 0.8114 GB, free: 65.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/1.842, allocations: 282.6 kB / 0.8117 GB, free: 64.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/1.842, allocations: 7.156 kB / 0.8117 GB, free: 64.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/1.842, allocations: 14.16 kB / 0.8117 GB, free: 64.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004355/1.842, allocations: 178.3 kB / 0.8119 GB, free: 64.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/1.843, allocations: 273.1 kB / 0.8121 GB, free: 64.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.843, allocations: 3.906 kB / 0.8122 GB, free: 64.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/1.843, allocations: 2 kB / 0.8122 GB, free: 64.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.565e-06/1.843, allocations: 6.75 kB / 0.8122 GB, free: 64.82 MB / 346.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.001778/1.844, allocations: 1.55 MB / 0.8137 GB, free: 63.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/1.845, allocations: 140 kB / 0.8138 GB, free: 63.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.845, allocations: 76.7 kB / 0.8139 GB, free: 63.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/1.845, allocations: 6.562 kB / 0.8139 GB, free: 63.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.845, allocations: 39.84 kB / 0.8139 GB, free: 63.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.832e-06/1.845, allocations: 7.156 kB / 0.8139 GB, free: 63.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.00472/1.85, allocations: 0.9844 MB / 0.8149 GB, free: 63.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/1.85, allocations: 56.31 kB / 0.8149 GB, free: 63.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/1.85, allocations: 207.4 kB / 0.8151 GB, free: 63.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/1.85, allocations: 28.89 kB / 0.8152 GB, free: 63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.85, allocations: 244.3 kB / 0.8154 GB, free: 62.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.946e-05/1.85, allocations: 84.75 kB / 0.8155 GB, free: 62.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/1.85, allocations: 0 / 0.8155 GB, free: 62.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/1.851, allocations: 327.4 kB / 0.8158 GB, free: 62.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/1.851, allocations: 83.62 kB / 0.8159 GB, free: 62.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/1.851, allocations: 170 kB / 0.816 GB, free: 62.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/1.851, allocations: 115.7 kB / 0.8161 GB, free: 62.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-06/1.851, allocations: 1.219 kB / 0.8162 GB, free: 62.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008386/1.852, allocations: 345.2 kB / 0.8165 GB, free: 62.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.852, allocations: 6.531 kB / 0.8165 GB, free: 62.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.852, allocations: 3.75 kB / 0.8165 GB, free: 62.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/1.852, allocations: 72.08 kB / 0.8166 GB, free: 62.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/1.853, allocations: 79.36 kB / 0.8166 GB, free: 62.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/1.854, allocations: 1.806 MB / 0.8184 GB, free: 60.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/1.855, allocations: 19.31 kB / 0.8184 GB, free: 60.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/1.855, allocations: 43.64 kB / 0.8185 GB, free: 60.56 MB / 346.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.0001281/1.855, allocations: 117.4 kB / 0.8186 GB, free: 60.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/1.855, allocations: 24.41 kB / 0.8186 GB, free: 60.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/1.856, allocations: 351.1 kB / 0.8189 GB, free: 60.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.856, allocations: 3.469 kB / 0.8189 GB, free: 60.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.776e-06/1.856, allocations: 7.391 kB / 0.8189 GB, free: 60.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004794/1.856, allocations: 0.5377 MB / 0.8195 GB, free: 59.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/1.858, allocations: 0.6558 MB / 0.8201 GB, free: 59.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-06/1.858, allocations: 0 / 0.8201 GB, free: 59.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/1.858, allocations: 79.47 kB / 0.8202 GB, free: 59.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/1.858, allocations: 19.14 kB / 0.8202 GB, free: 59.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/1.858, allocations: 11.28 kB / 0.8202 GB, free: 59.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007219/1.859, allocations: 1.231 MB / 0.8214 GB, free: 58.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.925e-06/1.859, allocations: 0 / 0.8214 GB, free: 58.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/1.86, allocations: 475.4 kB / 0.8219 GB, free: 58.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/1.86, allocations: 104.8 kB / 0.822 GB, free: 58.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/1.86, allocations: 0 / 0.822 GB, free: 58.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/1.86, allocations: 11.19 kB / 0.822 GB, free: 58.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/1.86, allocations: 29.06 kB / 0.822 GB, free: 58.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/1.86, allocations: 36.05 kB / 0.822 GB, free: 58.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001663/1.861, allocations: 154.1 kB / 0.8222 GB, free: 58.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.37e-07/1.861, allocations: 0 / 0.8222 GB, free: 58.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008955/1.862, allocations: 160.2 kB / 0.8223 GB, free: 58.04 MB / 346.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.001336/1.863, allocations: 0.8979 MB / 0.8232 GB, free: 57.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007341/1.864, allocations: 344.4 kB / 0.8235 GB, free: 57.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.271e-06/1.864, allocations: 3.656 kB / 0.8235 GB, free: 57.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/1.864, allocations: 206.8 kB / 0.8237 GB, free: 57.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/1.865, allocations: 122.9 kB / 0.8239 GB, free: 57.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.866, allocations: 0.5108 MB / 0.8244 GB, free: 57.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/1.866, allocations: 0.7734 MB / 0.8251 GB, free: 56.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.867, allocations: 69.23 kB / 0.8252 GB, free: 56.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.761e-06/1.867, allocations: 0 / 0.8252 GB, free: 56.76 MB / 346.7 MB Notification: Performance of Templates: time 0.01682/1.883, allocations: 11.13 MB / 0.836 GB, free: 56.48 MB / 346.7 MB