Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.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.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 1.605/1.605, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.451e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3088, allocations: 38.76 MB / 267.6 MB, free: 9.449 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.4774, allocations: 65.66 MB / 333.2 MB, free: 7.691 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4776, allocations: 71.97 kB / 333.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005089/0.4828, allocations: 1.307 MB / 334.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4828, allocations: 0 / 334.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4828, allocations: 0 / 334.6 MB, free: 6.305 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004061/0.4832, allocations: 346.4 kB / 335 MB, free: 5.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4833, allocations: 8.031 kB / 335 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.4833, allocations: 7.906 kB / 335 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.4836, allocations: 178.9 kB / 335.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4836, allocations: 11.94 kB / 335.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4836, allocations: 4 kB / 335.2 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.4838, allocations: 77.62 kB / 335.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4839, allocations: 7.906 kB / 335.2 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4839, allocations: 4 kB / 335.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-06/0.4839, allocations: 0 / 335.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.484, allocations: 39.92 kB / 335.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008038/0.4848, allocations: 375.6 kB / 335.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.485, allocations: 64.2 kB / 335.7 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.4851, allocations: 16.86 kB / 335.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.4851, allocations: 3.984 kB / 335.7 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.4851, allocations: 38.5 kB / 335.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.206e-06/0.4851, allocations: 0 / 335.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009346/0.4861, allocations: 0.5013 MB / 336.3 MB, free: 4.383 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.4862, allocations: 55.39 kB / 336.3 MB, free: 4.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4863, allocations: 105.2 kB / 336.4 MB, free: 4.203 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4863, allocations: 29.7 kB / 336.5 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4864, allocations: 162.3 kB / 336.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.4865, allocations: 35.45 kB / 336.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-06/0.4865, allocations: 0 / 336.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4867, allocations: 326.8 kB / 337 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.4867, allocations: 20 kB / 337 MB, free: 3.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-05/0.4869, allocations: 57.16 kB / 337.1 MB, free: 3.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/0.4869, allocations: 27.92 kB / 337.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-06/0.4869, allocations: 4 kB / 337.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002323/0.4872, allocations: 101.5 kB / 337.2 MB, free: 3.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4872, allocations: 8 kB / 337.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.149e-06/0.4872, allocations: 0 / 337.2 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4873, allocations: 4 kB / 337.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4874, allocations: 27.98 kB / 337.2 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4874, allocations: 3.938 kB / 337.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.4875, allocations: 0 / 337.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4875, allocations: 8.469 kB / 337.2 MB, free: 3.363 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/0.4876, allocations: 113 kB / 337.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.4877, allocations: 7.906 kB / 337.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.4877, allocations: 16.55 kB / 337.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-06/0.4877, allocations: 4 kB / 337.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-06/0.4878, allocations: 3.938 kB / 337.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-06/0.4878, allocations: 0 / 337.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.4885, allocations: 418.5 kB / 337.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-06/0.4885, allocations: 0 / 337.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4887, allocations: 23.98 kB / 337.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4887, allocations: 4 kB / 337.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4887, allocations: 0 / 337.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.715e-06/0.4887, allocations: 4 kB / 337.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.631e-06/0.4887, allocations: 7.891 kB / 337.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.4891, allocations: 284.6 kB / 338.1 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.4892, allocations: 93.02 kB / 338.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.4892, allocations: 4 kB / 338.2 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4893, allocations: 4 kB / 338.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4894, allocations: 11.94 kB / 338.2 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4894, allocations: 8 kB / 338.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.4895, allocations: 91.28 kB / 338.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.4895, allocations: 0 / 338.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.4899, allocations: 20.06 kB / 338.3 MB, free: 2.113 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.4901, allocations: 108.5 kB / 338.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.4903, allocations: 55.92 kB / 338.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4903, allocations: 0 / 338.5 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.4904, allocations: 27.88 kB / 338.5 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.4907, allocations: 17.91 kB / 338.5 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.4913, allocations: 287.6 kB / 338.8 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4917, allocations: 0.7004 MB / 339.5 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.4917, allocations: 15.38 kB / 339.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of SimCode: time 1.675e-06/0.4918, allocations: 0 / 339.5 MB, free: 0.832 MB / 282.7 MB Notification: Performance of Templates: time 0.00282/0.4946, allocations: 0.9539 MB / 340.5 MB, free: 15.88 MB / 298.7 MB