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.ReferenceAir.DryAir1.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.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.571/1.571, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.414e-05/2.434e-05, allocations: 11.94 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07134/0.07139, allocations: 38.76 MB / 261.3 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.559/1.631, allocations: 0.6301 GB / 0.8853 GB, free: 39.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/1.631, allocations: 77.2 kB / 0.8853 GB, free: 39.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606/3.237, allocations: 461.2 MB / 1.336 GB, free: 70.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/3.237, allocations: 0 / 1.336 GB, free: 70.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.519e-05/3.237, allocations: 6.094 kB / 1.336 GB, free: 70.91 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001379/3.238, allocations: 0.7153 MB / 1.336 GB, free: 70.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/3.238, allocations: 10.03 kB / 1.336 GB, free: 70.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/3.239, allocations: 57.16 kB / 1.336 GB, free: 70.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/3.239, allocations: 281.9 kB / 1.337 GB, free: 70.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/3.239, allocations: 8.797 kB / 1.337 GB, free: 70.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/3.239, allocations: 16.34 kB / 1.337 GB, free: 70.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004169/3.24, allocations: 178.5 kB / 1.337 GB, free: 70.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/3.24, allocations: 288.9 kB / 1.337 GB, free: 70.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/3.24, allocations: 5.656 kB / 1.337 GB, free: 70.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/3.241, allocations: 1.156 kB / 1.337 GB, free: 70.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/3.241, allocations: 7.438 kB / 1.337 GB, free: 70.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/3.253, allocations: 5.457 MB / 1.343 GB, free: 66.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/3.254, allocations: 162 kB / 1.343 GB, free: 66.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/3.254, allocations: 80.03 kB / 1.343 GB, free: 66.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/3.264, allocations: 3.499 MB / 1.346 GB, free: 65.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/3.264, allocations: 36.55 kB / 1.346 GB, free: 65.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.929e-06/3.264, allocations: 0 / 1.346 GB, free: 65.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.004605/3.269, allocations: 0.9814 MB / 1.347 GB, free: 64.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/3.269, allocations: 54.16 kB / 1.347 GB, free: 64.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/3.269, allocations: 198.5 kB / 1.347 GB, free: 64.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/3.269, allocations: 27.08 kB / 1.347 GB, free: 64.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/3.269, allocations: 256 kB / 1.348 GB, free: 64.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/3.269, allocations: 90.83 kB / 1.348 GB, free: 64.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/3.269, allocations: 0 / 1.348 GB, free: 64.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/3.27, allocations: 325.5 kB / 1.348 GB, free: 64.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/3.27, allocations: 77.78 kB / 1.348 GB, free: 64.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/3.27, allocations: 175.6 kB / 1.348 GB, free: 64.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/3.271, allocations: 198.1 kB / 1.349 GB, free: 64.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.855e-06/3.271, allocations: 0 / 1.349 GB, free: 64.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001705/3.273, allocations: 419.4 kB / 1.349 GB, free: 63.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/3.273, allocations: 5.594 kB / 1.349 GB, free: 63.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.81e-06/3.273, allocations: 5.531 kB / 1.349 GB, free: 63.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/3.273, allocations: 65.33 kB / 1.349 GB, free: 63.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/3.274, allocations: 69.56 kB / 1.349 GB, free: 63.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/3.276, allocations: 1.883 MB / 1.351 GB, free: 62.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/3.276, allocations: 18.34 kB / 1.351 GB, free: 62.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/3.276, allocations: 14.55 kB / 1.351 GB, free: 62.23 MB / 346.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 () * 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.0001168/3.276, allocations: 119.6 kB / 1.351 GB, free: 62.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/3.276, allocations: 23.34 kB / 1.351 GB, free: 62.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/3.277, allocations: 474.4 kB / 1.352 GB, free: 62.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/3.277, allocations: 3.906 kB / 1.352 GB, free: 62.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-06/3.277, allocations: 0 / 1.352 GB, free: 62.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009579/3.278, allocations: 0.7002 MB / 1.352 GB, free: 61.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/3.28, allocations: 0.8815 MB / 1.353 GB, free: 61.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.717e-06/3.28, allocations: 0 / 1.353 GB, free: 61.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/3.28, allocations: 48.47 kB / 1.353 GB, free: 61.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003247/3.281, allocations: 94.94 kB / 1.353 GB, free: 61.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/3.281, allocations: 11.22 kB / 1.353 GB, free: 61.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006311/3.281, allocations: 0.6683 MB / 1.354 GB, free: 60.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/3.281, allocations: 3.625 kB / 1.354 GB, free: 60.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/3.283, allocations: 0.7099 MB / 1.355 GB, free: 60.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/3.283, allocations: 102.9 kB / 1.355 GB, free: 60.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/3.283, allocations: 0 / 1.355 GB, free: 60.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/3.283, allocations: 11.31 kB / 1.355 GB, free: 60.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/3.283, allocations: 23.06 kB / 1.355 GB, free: 60.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/3.283, allocations: 10.12 kB / 1.355 GB, free: 60.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000159/3.284, allocations: 154.6 kB / 1.355 GB, free: 60.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.59e-07/3.284, allocations: 2.812 kB / 1.355 GB, free: 60.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001049/3.285, allocations: 196.3 kB / 1.355 GB, free: 60.32 MB / 346.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 () * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/3.286, allocations: 495.5 kB / 1.356 GB, free: 60.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008573/3.287, allocations: 421.2 kB / 1.356 GB, free: 60.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.101e-06/3.287, allocations: 0.75 kB / 1.356 GB, free: 60.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/3.287, allocations: 207.5 kB / 1.356 GB, free: 60.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/3.288, allocations: 120.5 kB / 1.356 GB, free: 60.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/3.289, allocations: 0.5837 MB / 1.357 GB, free: 59.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/3.29, allocations: 0.7851 MB / 1.358 GB, free: 59.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/3.29, allocations: 38.19 kB / 1.358 GB, free: 59.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.561e-06/3.29, allocations: 0 / 1.358 GB, free: 59.05 MB / 346.7 MB Notification: Performance of Templates: time 0.01338/3.303, allocations: 8.918 MB / 1.366 GB, free: 58.41 MB / 346.7 MB