Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004282, allocations: 8 kB / 283.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3424, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.483/8.826, allocations: 2.841 GB / 3.165 GB, free: 20.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/8.826, allocations: 99.39 kB / 3.165 GB, free: 20.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.155/13.98, allocations: 1.1 GB / 4.265 GB, free: 57.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/13.98, allocations: 0 / 4.265 GB, free: 57.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.107e-05/13.98, allocations: 17.44 kB / 4.265 GB, free: 57.77 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007218/13.99, allocations: 1.653 MB / 4.266 GB, free: 56.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/13.99, allocations: 7.875 kB / 4.266 GB, free: 56.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/13.99, allocations: 94.09 kB / 4.266 GB, free: 56.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/13.99, allocations: 0.5443 MB / 4.267 GB, free: 56.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/13.99, allocations: 100.2 kB / 4.267 GB, free: 56.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/13.99, allocations: 50.7 kB / 4.267 GB, free: 56.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/13.99, allocations: 0.8147 MB / 4.268 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/13.99, allocations: 1.875 kB / 4.268 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/13.99, allocations: 21.59 kB / 4.268 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.197e-05/13.99, allocations: 44.39 kB / 4.268 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/13.99, allocations: 0.6319 MB / 4.269 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006508/14, allocations: 3.916 MB / 4.272 GB, free: 53.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/14, allocations: 391.5 kB / 4.273 GB, free: 53.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005174/14, allocations: 0.4968 MB / 4.273 GB, free: 53.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/14, allocations: 38.8 kB / 4.273 GB, free: 53.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.056e-06/14, allocations: 2.078 kB / 4.273 GB, free: 53.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004859/14.01, allocations: 1.487 MB / 4.275 GB, free: 52.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/14.01, allocations: 135.2 kB / 4.275 GB, free: 52.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/14.01, allocations: 0.5463 MB / 4.275 GB, free: 52.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/14.01, allocations: 40.14 kB / 4.275 GB, free: 52.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/14.01, allocations: 400.7 kB / 4.276 GB, free: 52.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/14.01, allocations: 164 kB / 4.276 GB, free: 52.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/14.01, allocations: 11.25 kB / 4.276 GB, free: 52.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/14.01, allocations: 346.1 kB / 4.276 GB, free: 51.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005743/14.01, allocations: 218 kB / 4.277 GB, free: 51.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/14.01, allocations: 0.5333 MB / 4.277 GB, free: 51.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/14.01, allocations: 320.7 kB / 4.277 GB, free: 51.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/14.01, allocations: 3.906 kB / 4.277 GB, free: 51.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002744/14.01, allocations: 0.9352 MB / 4.278 GB, free: 51.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/14.01, allocations: 11.75 kB / 4.278 GB, free: 51.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/14.01, allocations: 9.906 kB / 4.278 GB, free: 51.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/14.02, allocations: 254.4 kB / 4.279 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/14.02, allocations: 133.9 kB / 4.279 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/14.02, allocations: 0.8484 MB / 4.279 GB, free: 50.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/14.02, allocations: 54.48 kB / 4.28 GB, free: 50.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/14.02, allocations: 38.98 kB / 4.28 GB, free: 50.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005348/14.02, allocations: 246.8 kB / 4.28 GB, free: 50.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/14.02, allocations: 77.81 kB / 4.28 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/14.02, allocations: 0.6898 MB / 4.281 GB, free: 50.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/14.02, allocations: 7.375 kB / 4.281 GB, free: 50.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/14.02, allocations: 0 / 4.281 GB, free: 50.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/14.02, allocations: 5.25 kB / 4.281 GB, free: 50.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/14.03, allocations: 1.37 MB / 4.282 GB, free: 50.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/14.03, allocations: 7.891 kB / 4.282 GB, free: 50.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/14.03, allocations: 193 kB / 4.282 GB, free: 50.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/14.03, allocations: 71.91 kB / 4.282 GB, free: 50.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/14.03, allocations: 13.31 kB / 4.282 GB, free: 50.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/14.03, allocations: 2.8 MB / 4.285 GB, free: 47.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/14.03, allocations: 0 / 4.285 GB, free: 47.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/14.03, allocations: 0.9614 MB / 4.286 GB, free: 47.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/14.03, allocations: 199.8 kB / 4.286 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/14.03, allocations: 20.14 kB / 4.286 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/14.03, allocations: 25.92 kB / 4.286 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/14.03, allocations: 54.14 kB / 4.286 GB, free: 47.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/14.03, allocations: 19.38 kB / 4.286 GB, free: 47.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006578/14.04, allocations: 380.8 kB / 4.287 GB, free: 47.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/14.04, allocations: 0 / 4.287 GB, free: 47.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001398/14.04, allocations: 235 kB / 4.287 GB, free: 47.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0008852/14.04, allocations: 398.5 kB / 4.287 GB, free: 47.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/14.04, allocations: 0.5953 MB / 4.288 GB, free: 47.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/14.04, allocations: 0 / 4.288 GB, free: 47.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001736/14.04, allocations: 469.1 kB / 4.288 GB, free: 46.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/14.04, allocations: 304.8 kB / 4.288 GB, free: 46.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/14.05, allocations: 1.688 MB / 4.29 GB, free: 46.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/14.05, allocations: 0.9481 MB / 4.291 GB, free: 61.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/14.05, allocations: 70.7 kB / 4.291 GB, free: 61.47 MB / 458.7 MB Notification: Performance of SimCode: time 1.804e-06/14.05, allocations: 0 / 4.291 GB, free: 61.47 MB / 458.7 MB Notification: Performance of Templates: time 0.02949/14.08, allocations: 15.56 MB / 4.306 GB, free: 61.06 MB / 458.7 MB