Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 8 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.08194, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.936/2.018, allocations: 0.6308 GB / 0.897 GB, free: 90.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/2.018, allocations: 86.11 kB / 0.8971 GB, free: 90.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.899/3.917, allocations: 473.6 MB / 1.36 GB, free: 70.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/3.917, allocations: 0 / 1.36 GB, free: 70.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/3.917, allocations: 12 kB / 1.36 GB, free: 70.81 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00173/3.919, allocations: 0.7337 MB / 1.36 GB, free: 70.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/3.919, allocations: 12.03 kB / 1.36 GB, free: 70.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005945/3.92, allocations: 55.45 kB / 1.36 GB, free: 70.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/3.92, allocations: 281 kB / 1.361 GB, free: 69.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/3.92, allocations: 24.56 kB / 1.361 GB, free: 69.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/3.92, allocations: 33.81 kB / 1.361 GB, free: 69.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/3.921, allocations: 328.8 kB / 1.361 GB, free: 69.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/3.921, allocations: 8 kB / 1.361 GB, free: 69.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/3.921, allocations: 12 kB / 1.361 GB, free: 69.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/3.921, allocations: 4.562 kB / 1.361 GB, free: 69.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/3.922, allocations: 216.1 kB / 1.361 GB, free: 69.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/3.938, allocations: 5.478 MB / 1.367 GB, free: 64.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/3.938, allocations: 173.1 kB / 1.367 GB, free: 63.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/3.952, allocations: 3.449 MB / 1.37 GB, free: 60.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/3.952, allocations: 38.69 kB / 1.37 GB, free: 60.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.316e-06/3.952, allocations: 0 / 1.37 GB, free: 60.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.008266/3.961, allocations: 1.358 MB / 1.371 GB, free: 58.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/3.961, allocations: 59.34 kB / 1.372 GB, free: 58.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/3.961, allocations: 262.5 kB / 1.372 GB, free: 58.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/3.961, allocations: 29.7 kB / 1.372 GB, free: 58.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/3.961, allocations: 247.6 kB / 1.372 GB, free: 58.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/3.961, allocations: 94.64 kB / 1.372 GB, free: 58.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/3.961, allocations: 4 kB / 1.372 GB, free: 58.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/3.961, allocations: 330.8 kB / 1.372 GB, free: 57.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/3.962, allocations: 87.91 kB / 1.373 GB, free: 57.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/3.962, allocations: 190.9 kB / 1.373 GB, free: 57.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/3.962, allocations: 119.9 kB / 1.373 GB, free: 57.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/3.962, allocations: 0 / 1.373 GB, free: 57.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009691/3.963, allocations: 375 kB / 1.373 GB, free: 56.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/3.963, allocations: 8 kB / 1.373 GB, free: 56.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/3.963, allocations: 3.938 kB / 1.373 GB, free: 56.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007598/3.971, allocations: 453.5 kB / 1.374 GB, free: 56.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/3.971, allocations: 67.91 kB / 1.374 GB, free: 56.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/3.973, allocations: 1.893 MB / 1.376 GB, free: 54.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/3.974, allocations: 19.98 kB / 1.376 GB, free: 54.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/3.974, allocations: 17.69 kB / 1.376 GB, free: 54.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002617/3.974, allocations: 157.8 kB / 1.376 GB, free: 54.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/3.974, allocations: 23.72 kB / 1.376 GB, free: 54.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/3.975, allocations: 499.5 kB / 1.376 GB, free: 53.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/3.975, allocations: 7.953 kB / 1.376 GB, free: 53.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/3.975, allocations: 0 / 1.376 GB, free: 53.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007887/3.976, allocations: 0.721 MB / 1.377 GB, free: 52.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/3.978, allocations: 0.9453 MB / 1.378 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/3.978, allocations: 0 / 1.378 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/3.978, allocations: 47.92 kB / 1.378 GB, free: 51.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/3.981, allocations: 304.3 kB / 1.378 GB, free: 51.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/3.981, allocations: 8 kB / 1.378 GB, free: 51.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005406/3.981, allocations: 0.646 MB / 1.379 GB, free: 50.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/3.981, allocations: 0 / 1.379 GB, free: 50.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/3.983, allocations: 0.7202 MB / 1.38 GB, free: 50.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/3.983, allocations: 112.6 kB / 1.38 GB, free: 49.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/3.983, allocations: 4 kB / 1.38 GB, free: 49.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/3.983, allocations: 23.2 kB / 1.38 GB, free: 49.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/3.983, allocations: 15.97 kB / 1.38 GB, free: 49.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/3.983, allocations: 12 kB / 1.38 GB, free: 49.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002436/3.984, allocations: 193.9 kB / 1.38 GB, free: 49.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.984, allocations: 0 / 1.38 GB, free: 49.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001164/3.985, allocations: 211.9 kB / 1.38 GB, free: 49.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/3.986, allocations: 477.2 kB / 1.381 GB, free: 48.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/3.987, allocations: 446.2 kB / 1.381 GB, free: 48.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/3.987, allocations: 0.75 kB / 1.381 GB, free: 48.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008551/3.988, allocations: 239.8 kB / 1.381 GB, free: 48.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/3.99, allocations: 159.5 kB / 1.381 GB, free: 48.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/3.992, allocations: 0.9806 MB / 1.382 GB, free: 47.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/3.992, allocations: 0.7918 MB / 1.383 GB, free: 46.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/3.992, allocations: 27.44 kB / 1.383 GB, free: 46.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/3.992, allocations: 0 / 1.383 GB, free: 46.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01712/4.009, allocations: 9.23 MB / 1.392 GB, free: 37.11 MB / 362.7 MB