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.Air.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.Air,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.Air") Notification: Performance of loadModel(Modelica): time 1.552/1.552, allocations: 171.2 MB / 184.2 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.652e-05, allocations: 4 kB / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2045, allocations: 38.77 MB / 267.6 MB, free: 9.465 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.412/1.617, allocations: 0.5803 GB / 0.8417 GB, free: 63.54 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.617, allocations: 91.44 kB / 0.8417 GB, free: 63.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6364/2.253, allocations: 153.2 MB / 0.9914 GB, free: 62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.085e-06/2.253, allocations: 0 / 0.9914 GB, free: 62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.165e-05/2.254, allocations: 7.984 kB / 0.9914 GB, free: 61.99 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.0009053/2.254, allocations: 0.5929 MB / 0.992 GB, free: 61.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/2.254, allocations: 8.031 kB / 0.992 GB, free: 61.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/2.255, allocations: 43.61 kB / 0.992 GB, free: 61.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/2.255, allocations: 282.5 kB / 0.9923 GB, free: 60.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/2.255, allocations: 16.56 kB / 0.9923 GB, free: 60.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/2.255, allocations: 31.94 kB / 0.9923 GB, free: 60.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/2.256, allocations: 311.7 kB / 0.9926 GB, free: 60.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/2.256, allocations: 0 / 0.9926 GB, free: 60.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/2.256, allocations: 12 kB / 0.9926 GB, free: 60.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.295e-06/2.256, allocations: 8 kB / 0.9927 GB, free: 60.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/2.256, allocations: 205.6 kB / 0.9928 GB, free: 60.38 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.00176/2.258, allocations: 1.57 MB / 0.9944 GB, free: 58.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/2.258, allocations: 171 kB / 0.9945 GB, free: 58.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/2.259, allocations: 93.22 kB / 0.9946 GB, free: 58.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/2.259, allocations: 8.188 kB / 0.9946 GB, free: 58.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/2.259, allocations: 38.75 kB / 0.9947 GB, free: 58.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.956e-06/2.259, allocations: 0 / 0.9947 GB, free: 58.33 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.005434/2.264, allocations: 1.241 MB / 0.9959 GB, free: 57.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/2.264, allocations: 55.39 kB / 0.9959 GB, free: 56.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/2.265, allocations: 229 kB / 0.9962 GB, free: 56.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/2.265, allocations: 33.7 kB / 0.9962 GB, free: 56.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.313e-05/2.265, allocations: 230.5 kB / 0.9964 GB, free: 56.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/2.265, allocations: 102.5 kB / 0.9965 GB, free: 56.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/2.265, allocations: 4 kB / 0.9965 GB, free: 56.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/2.265, allocations: 326.8 kB / 0.9968 GB, free: 56.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/2.265, allocations: 83.78 kB / 0.9969 GB, free: 55.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/2.265, allocations: 187.7 kB / 0.9971 GB, free: 55.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/2.266, allocations: 127.8 kB / 0.9972 GB, free: 55.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.14e-06/2.266, allocations: 0 / 0.9972 GB, free: 55.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008007/2.266, allocations: 374.9 kB / 0.9976 GB, free: 55.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/2.267, allocations: 15.92 kB / 0.9976 GB, free: 55.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.143e-06/2.267, allocations: 0 / 0.9976 GB, free: 55.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/2.267, allocations: 70.09 kB / 0.9976 GB, free: 55.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/2.267, allocations: 91.89 kB / 0.9977 GB, free: 55.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/2.268, allocations: 1.856 MB / 0.9995 GB, free: 53.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/2.269, allocations: 15.98 kB / 0.9996 GB, free: 53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/2.269, allocations: 43.98 kB / 0.9996 GB, free: 52.96 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.0001258/2.269, allocations: 129 kB / 0.9997 GB, free: 52.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/2.269, allocations: 27.72 kB / 0.9998 GB, free: 52.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/2.27, allocations: 443.8 kB / 1 GB, free: 52.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-06/2.27, allocations: 0 / 1 GB, free: 52.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-06/2.27, allocations: 4 kB / 1 GB, free: 52.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005248/2.271, allocations: 0.5593 MB / 1.001 GB, free: 51.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/2.272, allocations: 0.712 MB / 1.001 GB, free: 50.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/2.272, allocations: 0 / 1.001 GB, free: 50.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/2.273, allocations: 67.89 kB / 1.001 GB, free: 50.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/2.273, allocations: 28.91 kB / 1.002 GB, free: 50.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/2.273, allocations: 19.94 kB / 1.002 GB, free: 50.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007509/2.274, allocations: 1.272 MB / 1.003 GB, free: 49.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-06/2.274, allocations: 0 / 1.003 GB, free: 49.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/2.274, allocations: 0.4894 MB / 1.003 GB, free: 48.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/2.274, allocations: 104.8 kB / 1.003 GB, free: 48.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/2.275, allocations: 8 kB / 1.003 GB, free: 48.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/2.275, allocations: 15.98 kB / 1.003 GB, free: 48.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/2.275, allocations: 23.97 kB / 1.003 GB, free: 48.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/2.275, allocations: 31.98 kB / 1.003 GB, free: 48.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002199/2.275, allocations: 183.1 kB / 1.004 GB, free: 48.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.52e-07/2.275, allocations: 4.062 kB / 1.004 GB, free: 48.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009402/2.276, allocations: 187.9 kB / 1.004 GB, free: 48.3 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.001227/2.277, allocations: 0.7884 MB / 1.005 GB, free: 47.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000794/2.278, allocations: 374.2 kB / 1.005 GB, free: 47.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/2.278, allocations: 0 / 1.005 GB, free: 47.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/2.279, allocations: 231.4 kB / 1.005 GB, free: 46.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/2.28, allocations: 156.2 kB / 1.005 GB, free: 46.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/2.281, allocations: 0.5114 MB / 1.006 GB, free: 46.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/2.281, allocations: 0.7765 MB / 1.007 GB, free: 45.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/2.281, allocations: 75.41 kB / 1.007 GB, free: 45.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.757e-06/2.281, allocations: 0 / 1.007 GB, free: 45.31 MB / 362.7 MB Notification: Performance of Templates: time 0.01683/2.298, allocations: 11.63 MB / 1.018 GB, free: 33.68 MB / 362.7 MB