Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestReadFile.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 8 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3683, allocations: 54.86 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4874, allocations: 79.65 MB / 448.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4877, allocations: 59.97 kB / 449 MB, free: 12.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006675/0.4944, allocations: 1.905 MB / 450.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.173e-06/0.4944, allocations: 0 / 450.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.568e-06/0.4944, allocations: 0 / 450.9 MB, free: 11.01 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003601/0.4948, allocations: 365 kB / 451.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4948, allocations: 8.031 kB / 451.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.4949, allocations: 3.953 kB / 451.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.495, allocations: 163 kB / 451.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.495, allocations: 7.984 kB / 451.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4951, allocations: 3.984 kB / 451.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.677e-05/0.4952, allocations: 25.7 kB / 451.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4952, allocations: 4 kB / 451.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-06/0.4952, allocations: 4 kB / 451.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-06/0.4952, allocations: 0 / 451.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.4952, allocations: 7.891 kB / 451.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.4954, allocations: 145.7 kB / 451.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.4955, allocations: 22.59 kB / 451.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-06/0.4955, allocations: 0 / 451.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.4955, allocations: 56.27 kB / 451.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.4956, allocations: 7.938 kB / 451.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000183/0.4958, allocations: 67.41 kB / 451.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.4958, allocations: 85.09 kB / 451.8 MB, free: 9.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.4959, allocations: 85 kB / 451.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.496, allocations: 25.7 kB / 451.9 MB, free: 9.727 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.496, allocations: 150.6 kB / 452.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.4961, allocations: 0 / 452.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-06/0.4961, allocations: 256 / 452.1 MB, free: 9.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4962, allocations: 326.8 kB / 452.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.4963, allocations: 0 / 452.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.4963, allocations: 0 / 452.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.4963, allocations: 29.7 kB / 452.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-06/0.4963, allocations: 0 / 452.4 MB, free: 9.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001015/0.4964, allocations: 67.33 kB / 452.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.4965, allocations: 29.7 kB / 452.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.547e-06/0.4965, allocations: 0 / 452.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4965, allocations: 4.094 kB / 452.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.801e-06/0.4965, allocations: 0 / 452.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4966, allocations: 0 / 452.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.4966, allocations: 4 kB / 452.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-06/0.4966, allocations: 0 / 452.5 MB, free: 9.094 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.4967, allocations: 139.5 kB / 452.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.4968, allocations: 7.984 kB / 452.7 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.283e-05/0.4968, allocations: 3.125 kB / 452.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-06/0.4968, allocations: 0 / 452.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.805e-06/0.4968, allocations: 4 kB / 452.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-06/0.4968, allocations: 0 / 452.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.4969, allocations: 149.6 kB / 452.8 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.722e-06/0.497, allocations: 7.984 kB / 452.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-06/0.497, allocations: 4 kB / 452.8 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.497, allocations: 3.938 kB / 452.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.497, allocations: 0 / 452.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.842e-06/0.497, allocations: 0 / 452.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-06/0.497, allocations: 0 / 452.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.4972, allocations: 102.7 kB / 453 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.4972, allocations: 77.11 kB / 453 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.4973, allocations: 3.938 kB / 453 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.4973, allocations: 4 kB / 453 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.4973, allocations: 0 / 453 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.526e-06/0.4973, allocations: 0 / 453 MB, free: 8.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.303e-05/0.4974, allocations: 75.28 kB / 453.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.4974, allocations: 0 / 453.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.4977, allocations: 24.12 kB / 453.1 MB, free: 8.391 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004854/0.4982, allocations: 202.3 kB / 453.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.749e-05/0.4983, allocations: 59.41 kB / 453.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.519e-06/0.4983, allocations: 0 / 453.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.4984, allocations: 55.41 kB / 453.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.4985, allocations: 11.94 kB / 453.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.4987, allocations: 104.4 kB / 453.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4991, allocations: 0.677 MB / 454.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.4991, allocations: 7.438 kB / 454.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of SimCode: time 1.311e-06/0.4991, allocations: 3.938 kB / 454.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of Templates: time 0.002637/0.5017, allocations: 0.8421 MB / 455.1 MB, free: 6.379 MB / 378.7 MB