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/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.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.609/1.609, allocations: 171.3 MB / 179.2 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.962e-05, allocations: 4 kB / 222.5 MB, free: 4.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2399, allocations: 38.78 MB / 261.3 MB, free: 13 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.563, allocations: 0.5797 GB / 0.8349 GB, free: 47.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/1.563, allocations: 87.95 kB / 0.8349 GB, free: 47.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5977/2.161, allocations: 151.6 MB / 0.983 GB, free: 30.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/2.161, allocations: 0 / 0.983 GB, free: 30.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/2.161, allocations: 11.98 kB / 0.983 GB, free: 30.04 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.0008661/2.162, allocations: 0.5892 MB / 0.9836 GB, free: 29.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/2.162, allocations: 8.031 kB / 0.9836 GB, free: 29.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/2.162, allocations: 47.58 kB / 0.9836 GB, free: 29.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/2.162, allocations: 282.5 kB / 0.9839 GB, free: 29.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/2.163, allocations: 8 kB / 0.9839 GB, free: 29.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/2.163, allocations: 15.94 kB / 0.9839 GB, free: 29.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003861/2.163, allocations: 177.1 kB / 0.9841 GB, free: 28.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/2.163, allocations: 274.6 kB / 0.9844 GB, free: 28.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/2.164, allocations: 0 / 0.9844 GB, free: 28.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/2.164, allocations: 4 kB / 0.9844 GB, free: 28.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.745e-06/2.164, allocations: 7.938 kB / 0.9844 GB, free: 28.53 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.001759/2.165, allocations: 1.547 MB / 0.9859 GB, free: 26.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/2.166, allocations: 139.2 kB / 0.986 GB, free: 26.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/2.166, allocations: 80.84 kB / 0.9861 GB, free: 26.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/2.166, allocations: 11.98 kB / 0.9861 GB, free: 26.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/2.166, allocations: 30.56 kB / 0.9861 GB, free: 26.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.747e-06/2.166, allocations: 3.938 kB / 0.9861 GB, free: 26.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.004393/2.17, allocations: 1.001 MB / 0.9871 GB, free: 25.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/2.17, allocations: 55.41 kB / 0.9872 GB, free: 25.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/2.171, allocations: 207.8 kB / 0.9874 GB, free: 25.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/2.171, allocations: 25.7 kB / 0.9874 GB, free: 25.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/2.171, allocations: 238.3 kB / 0.9876 GB, free: 24.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/2.171, allocations: 90.66 kB / 0.9877 GB, free: 24.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/2.171, allocations: 0 / 0.9877 GB, free: 24.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.733e-05/2.171, allocations: 326.8 kB / 0.988 GB, free: 24.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/2.171, allocations: 79.78 kB / 0.9881 GB, free: 24.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/2.171, allocations: 172 kB / 0.9882 GB, free: 24.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/2.172, allocations: 111.9 kB / 0.9884 GB, free: 24.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.434e-06/2.172, allocations: 4 kB / 0.9884 GB, free: 24.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007162/2.172, allocations: 335 kB / 0.9887 GB, free: 23.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/2.172, allocations: 8 kB / 0.9887 GB, free: 23.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.951e-06/2.172, allocations: 4 kB / 0.9887 GB, free: 23.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/2.173, allocations: 69.62 kB / 0.9888 GB, free: 23.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/2.173, allocations: 80.23 kB / 0.9888 GB, free: 23.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/2.174, allocations: 1.812 MB / 0.9906 GB, free: 21.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/2.175, allocations: 19.88 kB / 0.9906 GB, free: 21.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/2.175, allocations: 40 kB / 0.9907 GB, free: 21.61 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.000117/2.175, allocations: 112.9 kB / 0.9908 GB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/2.175, allocations: 27.81 kB / 0.9908 GB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009243/2.176, allocations: 352.4 kB / 0.9911 GB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.105e-06/2.176, allocations: 4 kB / 0.9911 GB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/2.176, allocations: 3.938 kB / 0.9911 GB, free: 21.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004975/2.176, allocations: 0.5435 MB / 0.9917 GB, free: 20.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/2.177, allocations: 0.6457 MB / 0.9923 GB, free: 19.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.804e-06/2.177, allocations: 4 kB / 0.9923 GB, free: 19.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/2.178, allocations: 71.95 kB / 0.9924 GB, free: 19.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/2.178, allocations: 20.84 kB / 0.9924 GB, free: 19.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/2.178, allocations: 11.98 kB / 0.9924 GB, free: 19.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007157/2.179, allocations: 1.233 MB / 0.9936 GB, free: 18.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.38e-06/2.179, allocations: 0 / 0.9936 GB, free: 18.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/2.179, allocations: 473.8 kB / 0.9941 GB, free: 17.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/2.18, allocations: 100.8 kB / 0.9942 GB, free: 17.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/2.18, allocations: 7.953 kB / 0.9942 GB, free: 17.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/2.18, allocations: 19.83 kB / 0.9942 GB, free: 17.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/2.18, allocations: 23.91 kB / 0.9942 GB, free: 17.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/2.18, allocations: 36.05 kB / 0.9942 GB, free: 17.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001724/2.18, allocations: 156.5 kB / 0.9944 GB, free: 17.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.133e-06/2.18, allocations: 0 / 0.9944 GB, free: 17.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008316/2.181, allocations: 156 kB / 0.9945 GB, free: 17.3 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.001203/2.182, allocations: 0.9192 MB / 0.9954 GB, free: 16.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000682/2.183, allocations: 341.7 kB / 0.9958 GB, free: 16.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.053e-06/2.183, allocations: 0 / 0.9958 GB, free: 16.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/2.183, allocations: 213.6 kB / 0.996 GB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008333/2.184, allocations: 125 kB / 0.9961 GB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009955/2.185, allocations: 0.5008 MB / 0.9966 GB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/2.185, allocations: 0.7679 MB / 0.9973 GB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/2.186, allocations: 75.41 kB / 0.9974 GB, free: 14.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.721e-06/2.186, allocations: 0 / 0.9974 GB, free: 14.28 MB / 346.7 MB Notification: Performance of Templates: time 0.01528/2.201, allocations: 11.19 MB / 1.008 GB, free: 3.074 MB / 346.7 MB