Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.000356, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.538, allocations: 433.9 MB / 0.7256 GB, free: 103.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/1.539, allocations: 89.03 kB / 0.7256 GB, free: 103.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7853/2.324, allocations: 143.5 MB / 0.8658 GB, free: 102.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/2.324, allocations: 0 / 0.8658 GB, free: 102.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/2.324, allocations: 5.969 kB / 0.8658 GB, free: 102.3 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.001292/2.326, allocations: 0.6204 MB / 0.8664 GB, free: 101.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/2.326, allocations: 10.06 kB / 0.8664 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/2.326, allocations: 48.84 kB / 0.8665 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/2.327, allocations: 275.2 kB / 0.8667 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/2.327, allocations: 23.2 kB / 0.8668 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/2.327, allocations: 25.66 kB / 0.8668 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/2.327, allocations: 312.9 kB / 0.8671 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/2.327, allocations: 2.062 kB / 0.8671 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/2.327, allocations: 14.03 kB / 0.8671 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/2.328, allocations: 7.812 kB / 0.8671 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/2.328, allocations: 204.7 kB / 0.8673 GB, free: 101.6 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.002315/2.33, allocations: 1.574 MB / 0.8688 GB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/2.331, allocations: 170.4 kB / 0.869 GB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/2.331, allocations: 4.125 kB / 0.869 GB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/2.331, allocations: 37.41 kB / 0.869 GB, free: 100.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.196e-06/2.331, allocations: 2.281 kB / 0.869 GB, free: 100.4 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.009122/2.34, allocations: 1.625 MB / 0.8706 GB, free: 99.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/2.34, allocations: 58.81 kB / 0.8707 GB, free: 99.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/2.34, allocations: 261.6 kB / 0.8709 GB, free: 99.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/2.341, allocations: 32.95 kB / 0.871 GB, free: 99.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/2.341, allocations: 171.2 kB / 0.8711 GB, free: 99.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/2.341, allocations: 98.94 kB / 0.8712 GB, free: 99.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/2.341, allocations: 7.469 kB / 0.8712 GB, free: 99.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/2.341, allocations: 336.6 kB / 0.8715 GB, free: 98.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/2.341, allocations: 86.34 kB / 0.8716 GB, free: 98.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/2.341, allocations: 185.9 kB / 0.8718 GB, free: 98.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/2.342, allocations: 117.5 kB / 0.8719 GB, free: 98.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/2.342, allocations: 0 / 0.8719 GB, free: 98.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001028/2.343, allocations: 405.3 kB / 0.8723 GB, free: 98.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/2.343, allocations: 3.969 kB / 0.8723 GB, free: 98.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/2.343, allocations: 3.844 kB / 0.8723 GB, free: 98.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/2.343, allocations: 72.47 kB / 0.8724 GB, free: 98.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/2.344, allocations: 90.28 kB / 0.8725 GB, free: 98.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/2.345, allocations: 1.849 MB / 0.8743 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/2.346, allocations: 25.09 kB / 0.8743 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/2.346, allocations: 38.62 kB / 0.8743 GB, free: 97 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.0002698/2.346, allocations: 161.2 kB / 0.8745 GB, free: 96.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/2.346, allocations: 26.59 kB / 0.8745 GB, free: 96.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/2.348, allocations: 442.2 kB / 0.8749 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/2.348, allocations: 3.953 kB / 0.8749 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/2.348, allocations: 3.969 kB / 0.8749 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006563/2.349, allocations: 0.5557 MB / 0.8755 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/2.35, allocations: 0.732 MB / 0.8762 GB, free: 96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.35, allocations: 0 / 0.8762 GB, free: 96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/2.351, allocations: 72.33 kB / 0.8763 GB, free: 96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/2.351, allocations: 19.97 kB / 0.8763 GB, free: 96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/2.351, allocations: 16.61 kB / 0.8763 GB, free: 96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009111/2.352, allocations: 1.285 MB / 0.8776 GB, free: 94.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/2.352, allocations: 0 / 0.8776 GB, free: 94.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/2.353, allocations: 483.2 kB / 0.878 GB, free: 94.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/2.353, allocations: 109.5 kB / 0.8781 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/2.353, allocations: 7.188 kB / 0.8781 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/2.354, allocations: 17.22 kB / 0.8782 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/2.354, allocations: 25.75 kB / 0.8782 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/2.354, allocations: 30.84 kB / 0.8782 GB, free: 94.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002915/2.354, allocations: 189.8 kB / 0.8784 GB, free: 94.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.354, allocations: 0 / 0.8784 GB, free: 94.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001069/2.355, allocations: 188.4 kB / 0.8786 GB, free: 94.37 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.001477/2.357, allocations: 0.7729 MB / 0.8793 GB, free: 94.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/2.358, allocations: 367.7 kB / 0.8797 GB, free: 94.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/2.358, allocations: 0 / 0.8797 GB, free: 94.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004053/2.358, allocations: 231.6 kB / 0.8799 GB, free: 93.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/2.36, allocations: 154.5 kB / 0.88 GB, free: 93.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/2.361, allocations: 0.8406 MB / 0.8809 GB, free: 93.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/2.362, allocations: 0.7702 MB / 0.8816 GB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001034/2.363, allocations: 112.1 kB / 0.8817 GB, free: 92.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/2.363, allocations: 71 kB / 0.8818 GB, free: 92.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/2.363, allocations: 0 / 0.8818 GB, free: 92.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04002/2.403, allocations: 18.12 MB / 0.8995 GB, free: 88.96 MB / 410.7 MB