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.Air.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.Air,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.Air") Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07928/0.07968, allocations: 44.51 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.467/1.547, allocations: 0.5861 GB / 0.8873 GB, free: 122.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.547, allocations: 95.88 kB / 0.8874 GB, free: 122.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6521/2.199, allocations: 153.7 MB / 1.038 GB, free: 95.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.31e-06/2.199, allocations: 0 / 1.038 GB, free: 95.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/2.199, allocations: 6 kB / 1.038 GB, free: 95.04 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.0009584/2.2, allocations: 0.6246 MB / 1.038 GB, free: 94.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/2.2, allocations: 6.844 kB / 1.038 GB, free: 94.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/2.201, allocations: 46.92 kB / 1.038 GB, free: 94.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/2.201, allocations: 282.5 kB / 1.038 GB, free: 94.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/2.201, allocations: 22.8 kB / 1.038 GB, free: 94.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/2.201, allocations: 26.47 kB / 1.039 GB, free: 94.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/2.202, allocations: 312.5 kB / 1.039 GB, free: 94.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/2.202, allocations: 2.906 kB / 1.039 GB, free: 94.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/2.202, allocations: 11.03 kB / 1.039 GB, free: 94.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/2.202, allocations: 7.75 kB / 1.039 GB, free: 94.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/2.202, allocations: 205.2 kB / 1.039 GB, free: 94.3 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.001707/2.204, allocations: 1.575 MB / 1.041 GB, free: 93.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/2.204, allocations: 165.1 kB / 1.041 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/2.204, allocations: 3.719 kB / 1.041 GB, free: 93.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/2.204, allocations: 40.88 kB / 1.041 GB, free: 93.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.615e-06/2.204, allocations: 0 / 1.041 GB, free: 93.06 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.006424/2.211, allocations: 1.625 MB / 1.042 GB, free: 92.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/2.211, allocations: 59.02 kB / 1.042 GB, free: 92.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/2.211, allocations: 230.1 kB / 1.043 GB, free: 92.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/2.211, allocations: 32.55 kB / 1.043 GB, free: 92.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/2.211, allocations: 232.8 kB / 1.043 GB, free: 91.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/2.211, allocations: 100.3 kB / 1.043 GB, free: 91.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/2.211, allocations: 2.875 kB / 1.043 GB, free: 91.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.787e-05/2.211, allocations: 325.7 kB / 1.043 GB, free: 91.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/2.212, allocations: 87.41 kB / 1.043 GB, free: 91.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/2.212, allocations: 185.6 kB / 1.044 GB, free: 91.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/2.212, allocations: 119.5 kB / 1.044 GB, free: 91.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/2.212, allocations: 3.062 kB / 1.044 GB, free: 91.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009704/2.213, allocations: 390 kB / 1.044 GB, free: 91.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.213, allocations: 8.5 kB / 1.044 GB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.269e-06/2.213, allocations: 3.969 kB / 1.044 GB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/2.214, allocations: 72.69 kB / 1.044 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/2.214, allocations: 82.38 kB / 1.044 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/2.215, allocations: 1.858 MB / 1.046 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/2.216, allocations: 28.16 kB / 1.046 GB, free: 89.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/2.216, allocations: 37.31 kB / 1.046 GB, free: 89.65 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.0002075/2.216, allocations: 156.3 kB / 1.046 GB, free: 89.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/2.216, allocations: 24.41 kB / 1.046 GB, free: 89.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/2.217, allocations: 444.6 kB / 1.047 GB, free: 89.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-06/2.217, allocations: 3.953 kB / 1.047 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/2.217, allocations: 6.938 kB / 1.047 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005743/2.218, allocations: 0.5523 MB / 1.047 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/2.219, allocations: 0.7353 MB / 1.048 GB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/2.219, allocations: 0 / 1.048 GB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/2.22, allocations: 67.62 kB / 1.048 GB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/2.22, allocations: 24.3 kB / 1.048 GB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/2.22, allocations: 15.31 kB / 1.048 GB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007528/2.221, allocations: 1.277 MB / 1.049 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.221, allocations: 7.406 kB / 1.049 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007997/2.222, allocations: 0.4938 MB / 1.05 GB, free: 87.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/2.222, allocations: 102 kB / 1.05 GB, free: 87.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/2.222, allocations: 15.22 kB / 1.05 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/2.222, allocations: 13.55 kB / 1.05 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/2.222, allocations: 26.94 kB / 1.05 GB, free: 87.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/2.222, allocations: 33.97 kB / 1.05 GB, free: 87.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002105/2.222, allocations: 185.4 kB / 1.05 GB, free: 87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.93e-07/2.222, allocations: 3.688 kB / 1.05 GB, free: 87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008632/2.223, allocations: 188.2 kB / 1.05 GB, free: 87 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.001151/2.224, allocations: 0.778 MB / 1.051 GB, free: 86.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007375/2.225, allocations: 370.1 kB / 1.051 GB, free: 86.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.797e-06/2.225, allocations: 3.844 kB / 1.051 GB, free: 86.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/2.226, allocations: 235.4 kB / 1.052 GB, free: 86.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/2.227, allocations: 153.6 kB / 1.052 GB, free: 86.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/2.228, allocations: 0.8649 MB / 1.053 GB, free: 86.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/2.228, allocations: 0.7686 MB / 1.053 GB, free: 85.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/2.229, allocations: 75.22 kB / 1.053 GB, free: 85.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.742e-06/2.229, allocations: 3.469 kB / 1.053 GB, free: 85.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01666/2.245, allocations: 11.65 MB / 1.065 GB, free: 84.82 MB / 410.7 MB