Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08028/0.08066, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.205, allocations: 433.9 MB / 0.725 GB, free: 127 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.205, allocations: 91.94 kB / 0.7251 GB, free: 126.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6154/1.82, allocations: 143.5 MB / 0.8652 GB, free: 96.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.191e-06/1.82, allocations: 0 / 0.8652 GB, free: 96.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/1.82, allocations: 3.688 kB / 0.8652 GB, free: 96.66 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009947/1.821, allocations: 0.6248 MB / 0.8658 GB, free: 96.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.821, allocations: 8.281 kB / 0.8658 GB, free: 96.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/1.822, allocations: 54.72 kB / 0.8659 GB, free: 96.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/1.822, allocations: 281.1 kB / 0.8662 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/1.822, allocations: 17.62 kB / 0.8662 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/1.822, allocations: 28.5 kB / 0.8662 GB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/1.823, allocations: 310.1 kB / 0.8665 GB, free: 95.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.823, allocations: 0 / 0.8665 GB, free: 95.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/1.823, allocations: 12.8 kB / 0.8665 GB, free: 95.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.823, allocations: 15.45 kB / 0.8665 GB, free: 95.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/1.823, allocations: 205 kB / 0.8667 GB, free: 95.97 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.001822/1.825, allocations: 1.569 MB / 0.8682 GB, free: 94.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/1.826, allocations: 166.9 kB / 0.8684 GB, free: 94.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/1.826, allocations: 10.22 kB / 0.8684 GB, free: 94.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/1.826, allocations: 31.69 kB / 0.8684 GB, free: 94.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.659e-06/1.826, allocations: 0 / 0.8684 GB, free: 94.74 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006762/1.832, allocations: 1.628 MB / 0.87 GB, free: 94.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/1.832, allocations: 59.27 kB / 0.8701 GB, free: 93.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/1.833, allocations: 230.3 kB / 0.8703 GB, free: 93.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/1.833, allocations: 28.95 kB / 0.8703 GB, free: 93.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/1.833, allocations: 233.7 kB / 0.8706 GB, free: 93.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/1.833, allocations: 97.92 kB / 0.8707 GB, free: 93.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/1.833, allocations: 3.5 kB / 0.8707 GB, free: 93.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/1.833, allocations: 325 kB / 0.871 GB, free: 93.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/1.833, allocations: 87.64 kB / 0.8711 GB, free: 93.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/1.834, allocations: 187.4 kB / 0.8712 GB, free: 93.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/1.834, allocations: 117.8 kB / 0.8713 GB, free: 93.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-06/1.834, allocations: 0 / 0.8713 GB, free: 93.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008467/1.835, allocations: 386.7 kB / 0.8717 GB, free: 93.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.835, allocations: 8.031 kB / 0.8717 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.126e-06/1.835, allocations: 7.656 kB / 0.8717 GB, free: 93.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/1.835, allocations: 72.84 kB / 0.8718 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/1.836, allocations: 82.2 kB / 0.8719 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/1.837, allocations: 1.868 MB / 0.8737 GB, free: 91.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/1.837, allocations: 20.36 kB / 0.8737 GB, free: 91.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/1.837, allocations: 38.89 kB / 0.8738 GB, free: 91.34 MB / 410.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 () * Number of clocked 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.0002239/1.838, allocations: 161.8 kB / 0.8739 GB, free: 91.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-05/1.838, allocations: 26.31 kB / 0.8739 GB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.839, allocations: 442.6 kB / 0.8744 GB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.305e-06/1.839, allocations: 5.594 kB / 0.8744 GB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.839, allocations: 0 / 0.8744 GB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005866/1.84, allocations: 0.5587 MB / 0.8749 GB, free: 90.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/1.841, allocations: 0.7213 MB / 0.8756 GB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.879e-06/1.841, allocations: 7.828 kB / 0.8756 GB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/1.841, allocations: 69.88 kB / 0.8757 GB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/1.842, allocations: 20.09 kB / 0.8757 GB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/1.842, allocations: 13.47 kB / 0.8757 GB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008097/1.842, allocations: 1.28 MB / 0.877 GB, free: 89.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.65e-06/1.842, allocations: 7.594 kB / 0.877 GB, free: 89.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/1.843, allocations: 0.494 MB / 0.8775 GB, free: 88.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/1.843, allocations: 100.3 kB / 0.8776 GB, free: 88.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/1.844, allocations: 7.5 kB / 0.8776 GB, free: 88.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.844, allocations: 11.31 kB / 0.8776 GB, free: 88.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/1.844, allocations: 39.58 kB / 0.8776 GB, free: 88.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/1.844, allocations: 32.97 kB / 0.8776 GB, free: 88.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002299/1.844, allocations: 184.5 kB / 0.8778 GB, free: 88.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.844, allocations: 0 / 0.8778 GB, free: 88.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009364/1.845, allocations: 188 kB / 0.878 GB, free: 88.7 MB / 410.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 () * Number of clocked 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.001179/1.846, allocations: 0.7736 MB / 0.8788 GB, free: 88.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007699/1.847, allocations: 366.3 kB / 0.8791 GB, free: 88.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.243e-06/1.847, allocations: 0 / 0.8791 GB, free: 88.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/1.848, allocations: 240.6 kB / 0.8793 GB, free: 88.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.849, allocations: 154.7 kB / 0.8795 GB, free: 88.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/1.85, allocations: 0.8552 MB / 0.8803 GB, free: 87.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/1.85, allocations: 0.7746 MB / 0.8811 GB, free: 87.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/1.851, allocations: 75.66 kB / 0.8811 GB, free: 87.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.777e-06/1.851, allocations: 0 / 0.8811 GB, free: 87.21 MB / 410.7 MB Notification: Performance of Templates: time 0.01751/1.868, allocations: 11.6 MB / 0.8925 GB, free: 86.83 MB / 410.7 MB