Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 2.16/2.16, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005213, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.131, allocations: 44.51 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.112/2.243, allocations: 0.6361 GB / 0.9379 GB, free: 47.31 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/2.244, allocations: 80.53 kB / 0.938 GB, free: 47.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.952/4.196, allocations: 473.6 MB / 1.401 GB, free: 84.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/4.196, allocations: 0 / 1.401 GB, free: 84.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.632e-05/4.196, allocations: 12 kB / 1.401 GB, free: 84.36 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00178/4.197, allocations: 0.7267 MB / 1.401 GB, free: 83.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/4.198, allocations: 12.03 kB / 1.401 GB, free: 83.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/4.198, allocations: 57.97 kB / 1.401 GB, free: 83.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/4.199, allocations: 289 kB / 1.402 GB, free: 83.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/4.199, allocations: 23.75 kB / 1.402 GB, free: 83.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/4.199, allocations: 24 kB / 1.402 GB, free: 83.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/4.199, allocations: 334.5 kB / 1.402 GB, free: 82.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/4.199, allocations: 0 / 1.402 GB, free: 82.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/4.2, allocations: 12 kB / 1.402 GB, free: 82.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/4.2, allocations: 8 kB / 1.402 GB, free: 82.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/4.2, allocations: 209.5 kB / 1.402 GB, free: 82.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/4.217, allocations: 5.474 MB / 1.408 GB, free: 77.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/4.217, allocations: 177.6 kB / 1.408 GB, free: 77.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/4.232, allocations: 3.437 MB / 1.411 GB, free: 74.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/4.232, allocations: 42.45 kB / 1.411 GB, free: 74.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.887e-06/4.232, allocations: 0 / 1.411 GB, free: 74.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.008469/4.24, allocations: 1.389 MB / 1.412 GB, free: 73.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/4.24, allocations: 55.41 kB / 1.412 GB, free: 72.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/4.241, allocations: 261.6 kB / 1.413 GB, free: 72.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/4.241, allocations: 33.7 kB / 1.413 GB, free: 72.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/4.241, allocations: 186 kB / 1.413 GB, free: 72.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/4.241, allocations: 90.56 kB / 1.413 GB, free: 72.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/4.241, allocations: 8 kB / 1.413 GB, free: 72.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.796e-05/4.241, allocations: 342.5 kB / 1.413 GB, free: 72.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/4.241, allocations: 90.14 kB / 1.413 GB, free: 72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/4.242, allocations: 182.7 kB / 1.414 GB, free: 71.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/4.242, allocations: 115.9 kB / 1.414 GB, free: 71.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/4.242, allocations: 0 / 1.414 GB, free: 71.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001039/4.243, allocations: 394 kB / 1.414 GB, free: 71.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/4.243, allocations: 4 kB / 1.414 GB, free: 71.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/4.243, allocations: 4 kB / 1.414 GB, free: 71.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007587/4.251, allocations: 457.4 kB / 1.415 GB, free: 70.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/4.251, allocations: 71.77 kB / 1.415 GB, free: 70.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/4.253, allocations: 1.878 MB / 1.416 GB, free: 68.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/4.253, allocations: 20.16 kB / 1.416 GB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/4.254, allocations: 19.66 kB / 1.417 GB, free: 68.88 MB / 410.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.0003848/4.254, allocations: 153.7 kB / 1.417 GB, free: 68.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/4.254, allocations: 35.67 kB / 1.417 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/4.256, allocations: 485.6 kB / 1.417 GB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/4.256, allocations: 7.281 kB / 1.417 GB, free: 68.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/4.256, allocations: 0 / 1.417 GB, free: 68.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/4.257, allocations: 0.7281 MB / 1.418 GB, free: 67.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/4.261, allocations: 0.9495 MB / 1.419 GB, free: 66.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/4.261, allocations: 0 / 1.419 GB, free: 66.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/4.261, allocations: 55.05 kB / 1.419 GB, free: 66.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/4.266, allocations: 308.1 kB / 1.419 GB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.243e-05/4.266, allocations: 11.61 kB / 1.419 GB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008095/4.267, allocations: 0.6352 MB / 1.42 GB, free: 65.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/4.267, allocations: 0 / 1.42 GB, free: 65.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/4.268, allocations: 0.7253 MB / 1.42 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/4.269, allocations: 104.7 kB / 1.421 GB, free: 64.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/4.269, allocations: 11.05 kB / 1.421 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/4.269, allocations: 19.95 kB / 1.421 GB, free: 64.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/4.27, allocations: 17.62 kB / 1.421 GB, free: 64.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/4.27, allocations: 12.53 kB / 1.421 GB, free: 64.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003636/4.27, allocations: 185.2 kB / 1.421 GB, free: 64.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.61e-07/4.27, allocations: 0 / 1.421 GB, free: 64.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001786/4.272, allocations: 210.2 kB / 1.421 GB, free: 64.42 MB / 410.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.002767/4.275, allocations: 485.8 kB / 1.421 GB, free: 64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/4.276, allocations: 446.9 kB / 1.422 GB, free: 63.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/4.277, allocations: 3.938 kB / 1.422 GB, free: 63.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/4.278, allocations: 235.7 kB / 1.422 GB, free: 63.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/4.28, allocations: 161 kB / 1.422 GB, free: 63.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/4.283, allocations: 0.9466 MB / 1.423 GB, free: 62.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/4.284, allocations: 0.788 MB / 1.424 GB, free: 61.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006168/4.284, allocations: 49.48 kB / 1.424 GB, free: 61.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/4.284, allocations: 27.44 kB / 1.424 GB, free: 61.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/4.284, allocations: 3.938 kB / 1.424 GB, free: 61.33 MB / 410.7 MB Notification: Performance of Templates: time 0.02907/4.313, allocations: 10.91 MB / 1.435 GB, free: 50.5 MB / 410.7 MB