Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004378, allocations: 8 kB / 314.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.4927, allocations: 81.43 MB / 451.2 MB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.4931, allocations: 71.95 kB / 451.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.5104, allocations: 2.758 MB / 454 MB, free: 6.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5104, allocations: 0 / 454 MB, free: 6.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.5105, allocations: 0 / 454 MB, free: 6.348 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.0005498/0.511, allocations: 388.9 kB / 454.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.5111, allocations: 8.031 kB / 454.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.5111, allocations: 0 / 454.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.5113, allocations: 175 kB / 454.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5113, allocations: 0 / 454.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.5114, allocations: 0 / 454.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.5115, allocations: 29.66 kB / 454.6 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5115, allocations: 7.938 kB / 454.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.5115, allocations: 3.938 kB / 454.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5116, allocations: 0 / 454.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.5116, allocations: 0 / 454.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.5118, allocations: 149.7 kB / 454.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.5119, allocations: 22.61 kB / 454.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.5119, allocations: 0 / 454.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.512, allocations: 56.27 kB / 454.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.784e-06/0.512, allocations: 0 / 454.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002183/0.5122, allocations: 71.34 kB / 454.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.5123, allocations: 81.11 kB / 455 MB, free: 5.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.505e-05/0.5124, allocations: 97.92 kB / 455.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.5124, allocations: 29.7 kB / 455.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.5125, allocations: 150.6 kB / 455.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.5125, allocations: 0 / 455.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.5126, allocations: 0 / 455.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5128, allocations: 310.8 kB / 455.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.5128, allocations: 0 / 455.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.5128, allocations: 4 kB / 455.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.5129, allocations: 25.7 kB / 455.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5129, allocations: 4.062 kB / 455.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001393/0.513, allocations: 71.33 kB / 455.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/0.5131, allocations: 29.7 kB / 455.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5131, allocations: 0 / 455.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5132, allocations: 4 kB / 455.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.5132, allocations: 0 / 455.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5132, allocations: 3.953 kB / 455.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.5132, allocations: 0 / 455.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5133, allocations: 4 kB / 455.7 MB, free: 4.402 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.0001408/0.5134, allocations: 143.6 kB / 455.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.5134, allocations: 0 / 455.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.5135, allocations: 3.125 kB / 455.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5135, allocations: 0 / 455.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5135, allocations: 0 / 455.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5135, allocations: 3.953 kB / 455.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5137, allocations: 149.7 kB / 456 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5137, allocations: 0 / 456 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.5137, allocations: 0 / 456 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5137, allocations: 0 / 456 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5137, allocations: 0 / 456 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.5138, allocations: 7.984 kB / 456 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5138, allocations: 0 / 456 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.514, allocations: 110.6 kB / 456.1 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.514, allocations: 77.11 kB / 456.2 MB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.5141, allocations: 4 kB / 456.2 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.5141, allocations: 0 / 456.2 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.5141, allocations: 0 / 456.2 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.5142, allocations: 7.969 kB / 456.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.5142, allocations: 75.28 kB / 456.3 MB, free: 3.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5142, allocations: 0 / 456.3 MB, free: 3.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007571/0.515, allocations: 75.92 kB / 456.4 MB, free: 3.648 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.0008618/0.5159, allocations: 225.6 kB / 456.6 MB, free: 3.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.516, allocations: 59.41 kB / 456.7 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.516, allocations: 2.188 kB / 456.7 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.5161, allocations: 63.33 kB / 456.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.5163, allocations: 128 / 456.7 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.5165, allocations: 104.5 kB / 456.8 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.5169, allocations: 0.6731 MB / 457.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.517, allocations: 11.44 kB / 457.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.517, allocations: 0 / 457.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of Templates: time 0.005616/0.5226, allocations: 1.437 MB / 458.9 MB, free: 1.004 MB / 378.7 MB