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.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,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.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 8 kB / 233.3 MB, free: 0.9102 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07037/0.07076, allocations: 38.78 MB / 272 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/0.9894, allocations: 357.3 MB / 0.6146 GB, free: 59.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.9897, allocations: 90.23 kB / 0.6147 GB, free: 59.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4111/1.401, allocations: 81.31 MB / 0.6941 GB, free: 95.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.441e-06/1.401, allocations: 0 / 0.6941 GB, free: 95.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/1.401, allocations: 4.953 kB / 0.6941 GB, free: 95.06 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.001002/1.402, allocations: 0.623 MB / 0.6947 GB, free: 94.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/1.402, allocations: 7.125 kB / 0.6947 GB, free: 94.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/1.402, allocations: 40.94 kB / 0.6947 GB, free: 94.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/1.403, allocations: 286.1 kB / 0.695 GB, free: 94.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/1.403, allocations: 19.77 kB / 0.695 GB, free: 94.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/1.403, allocations: 27.95 kB / 0.695 GB, free: 94.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/1.403, allocations: 297.2 kB / 0.6953 GB, free: 94.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/1.403, allocations: 5.594 kB / 0.6953 GB, free: 94.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/1.403, allocations: 12.53 kB / 0.6953 GB, free: 94.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.403, allocations: 7.344 kB / 0.6954 GB, free: 94.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/1.404, allocations: 191.5 kB / 0.6955 GB, free: 94.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/1.406, allocations: 1.438 MB / 0.6969 GB, free: 93.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/1.406, allocations: 177.8 kB / 0.6971 GB, free: 93.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/1.406, allocations: 4.062 kB / 0.6971 GB, free: 93.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/1.406, allocations: 33.09 kB / 0.6971 GB, free: 93.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.202e-06/1.406, allocations: 0 / 0.6971 GB, free: 93.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.002914/1.409, allocations: 1.019 MB / 0.6981 GB, free: 92.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.409, allocations: 51.41 kB / 0.6982 GB, free: 92.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/1.41, allocations: 228.4 kB / 0.6984 GB, free: 92.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/1.41, allocations: 34.44 kB / 0.6984 GB, free: 92.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/1.41, allocations: 234.2 kB / 0.6987 GB, free: 92.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/1.41, allocations: 97.53 kB / 0.6988 GB, free: 92.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/1.41, allocations: 6.562 kB / 0.6988 GB, free: 92.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/1.41, allocations: 329.3 kB / 0.6991 GB, free: 92.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/1.41, allocations: 88.34 kB / 0.6992 GB, free: 92.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.41, allocations: 176.4 kB / 0.6993 GB, free: 91.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/1.411, allocations: 113.6 kB / 0.6994 GB, free: 91.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.111e-06/1.411, allocations: 3.938 kB / 0.6994 GB, free: 91.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008895/1.412, allocations: 367.1 kB / 0.6998 GB, free: 91.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.412, allocations: 7.156 kB / 0.6998 GB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.762e-06/1.412, allocations: 3.844 kB / 0.6998 GB, free: 91.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/1.412, allocations: 66.3 kB / 0.6999 GB, free: 91.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/1.412, allocations: 74.83 kB / 0.6999 GB, free: 91.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/1.415, allocations: 2.684 MB / 0.7026 GB, free: 89.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/1.415, allocations: 26.12 kB / 0.7026 GB, free: 89.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/1.415, allocations: 10.97 kB / 0.7026 GB, free: 89.31 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 () * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/1.415, allocations: 151.4 kB / 0.7027 GB, free: 89.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/1.415, allocations: 29.89 kB / 0.7028 GB, free: 89.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.314e-05/1.416, allocations: 32.91 kB / 0.7028 GB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/1.416, allocations: 12.89 kB / 0.7028 GB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.678e-06/1.416, allocations: 3.969 kB / 0.7028 GB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007335/1.416, allocations: 0.5584 MB / 0.7034 GB, free: 88.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/1.418, allocations: 0.7075 MB / 0.7041 GB, free: 88.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.418, allocations: 0 / 0.7041 GB, free: 88.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/1.418, allocations: 48.12 kB / 0.7041 GB, free: 88.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/1.418, allocations: 55.78 kB / 0.7041 GB, free: 88.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/1.418, allocations: 7.906 kB / 0.7042 GB, free: 88.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/1.42, allocations: 1.402 MB / 0.7055 GB, free: 86.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.776e-06/1.42, allocations: 3.953 kB / 0.7055 GB, free: 86.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/1.421, allocations: 483.3 kB / 0.706 GB, free: 86.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.421, allocations: 100.3 kB / 0.7061 GB, free: 86.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/1.421, allocations: 7.281 kB / 0.7061 GB, free: 86.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/1.421, allocations: 10.97 kB / 0.7061 GB, free: 86.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/1.421, allocations: 18.67 kB / 0.7061 GB, free: 86.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/1.421, allocations: 10.59 kB / 0.7061 GB, free: 86.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002174/1.421, allocations: 184.4 kB / 0.7063 GB, free: 86.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.36e-07/1.421, allocations: 5.203 kB / 0.7063 GB, free: 86.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006464/1.422, allocations: 99.3 kB / 0.7064 GB, free: 86.21 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/1.422, allocations: 169.3 kB / 0.7066 GB, free: 86.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008704/1.423, allocations: 466.7 kB / 0.707 GB, free: 85.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.423, allocations: 0 / 0.707 GB, free: 85.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/1.424, allocations: 236.9 kB / 0.7072 GB, free: 85.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.425, allocations: 164.2 kB / 0.7074 GB, free: 85.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/1.426, allocations: 0.8506 MB / 0.7082 GB, free: 85.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/1.427, allocations: 0.7693 MB / 0.709 GB, free: 84.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/1.427, allocations: 26.53 kB / 0.709 GB, free: 84.41 MB / 346.7 MB Notification: Performance of SimCode: time 2.304e-06/1.427, allocations: 0 / 0.709 GB, free: 84.41 MB / 346.7 MB Notification: Performance of Templates: time 0.01037/1.437, allocations: 6.29 MB / 0.7151 GB, free: 83.92 MB / 346.7 MB