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.522/1.522, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 8 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0686/0.06898, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3505, allocations: 65.75 MB / 337.8 MB, free: 8.129 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3508, allocations: 65.09 kB / 337.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005105/0.3559, allocations: 1.316 MB / 339.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.356, allocations: 4 kB / 339.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.466e-06/0.356, allocations: 1.531 kB / 339.1 MB, free: 6.953 MB / 266.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.0004414/0.3564, allocations: 351 kB / 339.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3565, allocations: 8.031 kB / 339.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.3565, allocations: 4 kB / 339.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3567, allocations: 186.2 kB / 339.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3568, allocations: 7.5 kB / 339.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3568, allocations: 7.953 kB / 339.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.357, allocations: 69.66 kB / 339.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.357, allocations: 4 kB / 339.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.357, allocations: 3.375 kB / 339.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-06/0.3571, allocations: 0 / 339.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3572, allocations: 38.22 kB / 339.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.358, allocations: 390.2 kB / 340.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3581, allocations: 62.83 kB / 340.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-06/0.3582, allocations: 0 / 340.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.3582, allocations: 41 kB / 340.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.925e-06/0.3582, allocations: 0 / 340.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009553/0.3592, allocations: 0.5105 MB / 340.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.3592, allocations: 51.41 kB / 340.9 MB, free: 5.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3594, allocations: 112 kB / 341 MB, free: 4.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3594, allocations: 29.7 kB / 341 MB, free: 4.961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.3595, allocations: 161.8 kB / 341.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3596, allocations: 33.92 kB / 341.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-06/0.3596, allocations: 0 / 341.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3598, allocations: 322.3 kB / 341.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.226e-05/0.3598, allocations: 23.67 kB / 341.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3599, allocations: 55.14 kB / 341.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.298e-05/0.36, allocations: 29.62 kB / 341.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.36, allocations: 0 / 341.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002318/0.3603, allocations: 109 kB / 341.7 MB, free: 4.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3603, allocations: 8 kB / 341.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.97e-06/0.3603, allocations: 0 / 341.7 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3604, allocations: 4 kB / 341.7 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3605, allocations: 27.86 kB / 341.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3605, allocations: 3.938 kB / 341.8 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.3606, allocations: 4.469 kB / 341.8 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3606, allocations: 4 kB / 341.8 MB, free: 4.215 MB / 266.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 () * Number of clocked 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 0.0001242/0.3608, allocations: 133.5 kB / 341.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.3608, allocations: 4 kB / 341.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.3609, allocations: 11.69 kB / 341.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-06/0.3609, allocations: 3.938 kB / 341.9 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-06/0.3609, allocations: 0 / 341.9 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-06/0.3609, allocations: 0 / 341.9 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.3616, allocations: 414.8 kB / 342.3 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-06/0.3617, allocations: 0 / 342.3 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.3618, allocations: 19.98 kB / 342.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.3618, allocations: 4 kB / 342.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3618, allocations: 0 / 342.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/0.3619, allocations: 7.953 kB / 342.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.701e-06/0.3619, allocations: 0 / 342.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.3622, allocations: 296.4 kB / 342.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.3623, allocations: 85.23 kB / 342.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3624, allocations: 8.797 kB / 342.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3625, allocations: 3.312 kB / 342.7 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.3625, allocations: 11.94 kB / 342.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3625, allocations: 4 kB / 342.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.3626, allocations: 93.89 kB / 342.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.3626, allocations: 0 / 342.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.3631, allocations: 19.19 kB / 342.9 MB, free: 3.047 MB / 266.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 () * Number of clocked 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.00015/0.3632, allocations: 103.2 kB / 343 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.3634, allocations: 64.84 kB / 343 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.897e-06/0.3634, allocations: 0 / 343 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.3635, allocations: 23.88 kB / 343 MB, free: 2.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3638, allocations: 14.52 kB / 343.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008026/0.3646, allocations: 434.3 kB / 343.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3651, allocations: 0.7004 MB / 344.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.3651, allocations: 11.44 kB / 344.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of SimCode: time 2.031e-06/0.3651, allocations: 0 / 344.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002833/0.368, allocations: 0.9536 MB / 345.1 MB, free: 0.7188 MB / 266.7 MB