Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.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) 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.2_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 2.211/2.211, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003804, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 44.51 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5367, allocations: 71.04 MB / 380 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.5372, allocations: 75.25 kB / 380.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007257/0.5444, allocations: 1.312 MB / 381.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5445, allocations: 0 / 381.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.5445, allocations: 4.719 kB / 381.4 MB, free: 14.54 MB / 314.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.0005317/0.5451, allocations: 345.5 kB / 381.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.5452, allocations: 9.375 kB / 381.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.5453, allocations: 8.969 kB / 381.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.5455, allocations: 183.3 kB / 381.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.5456, allocations: 5.688 kB / 381.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.5456, allocations: 5.562 kB / 382 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.5459, allocations: 68.44 kB / 382 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.5459, allocations: 7.359 kB / 382 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.546, allocations: 1.312 kB / 382 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.546, allocations: 0.6875 kB / 382 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5462, allocations: 38.91 kB / 382.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.5473, allocations: 382.5 kB / 382.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.5475, allocations: 57.88 kB / 382.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.5476, allocations: 2.047 kB / 382.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5476, allocations: 31.47 kB / 382.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.5476, allocations: 3.938 kB / 382.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.001265/0.5489, allocations: 0.5118 MB / 383 MB, free: 13.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.549, allocations: 56.53 kB / 383.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5491, allocations: 119.2 kB / 383.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.5492, allocations: 33.33 kB / 383.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.5493, allocations: 158.5 kB / 383.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.5494, allocations: 32.84 kB / 383.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.5494, allocations: 3.125 kB / 383.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.5495, allocations: 316.7 kB / 383.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.5496, allocations: 22.09 kB / 383.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.5497, allocations: 61.19 kB / 383.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.5499, allocations: 30.05 kB / 383.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5499, allocations: 0 / 383.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003637/0.5503, allocations: 112.4 kB / 384 MB, free: 12.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5503, allocations: 6.531 kB / 384 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5504, allocations: 1.281 kB / 384 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.5504, allocations: 6.141 kB / 384 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.5506, allocations: 25.75 kB / 384 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.5507, allocations: 6.641 kB / 384 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.5508, allocations: 1.594 kB / 384 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.5508, allocations: 5.703 kB / 384 MB, free: 12.3 MB / 314.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.0001278/0.551, allocations: 125.3 kB / 384.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.5511, allocations: 10.97 kB / 384.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.5511, allocations: 14.27 kB / 384.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.5512, allocations: 2.094 kB / 384.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5512, allocations: 3.953 kB / 384.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5512, allocations: 0 / 384.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.5522, allocations: 409.7 kB / 384.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.5522, allocations: 5.891 kB / 384.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.5524, allocations: 17.83 kB / 384.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.5525, allocations: 5.25 kB / 384.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.5525, allocations: 8.953 kB / 384.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/0.5525, allocations: 2.469 kB / 384.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5525, allocations: 1.312 kB / 384.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.553, allocations: 229.9 kB / 384.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.553, allocations: 85.86 kB / 384.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.5531, allocations: 7.031 kB / 384.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.5533, allocations: 2.406 kB / 384.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5534, allocations: 10.59 kB / 384.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.5534, allocations: 5.406 kB / 384.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.473e-05/0.5535, allocations: 94.56 kB / 385 MB, free: 11.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5535, allocations: 0 / 385 MB, free: 11.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000639/0.5542, allocations: 17.16 kB / 385.1 MB, free: 11.45 MB / 314.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.0001889/0.5544, allocations: 101.7 kB / 385.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.5547, allocations: 63.5 kB / 385.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5547, allocations: 1.469 kB / 385.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.5548, allocations: 25.95 kB / 385.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.5553, allocations: 15.03 kB / 385.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.5564, allocations: 427.8 kB / 385.7 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.5567, allocations: 0.7003 MB / 386.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.5567, allocations: 16.66 kB / 386.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5567, allocations: 3.938 kB / 386.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of Templates: time 0.004459/0.5612, allocations: 0.9448 MB / 387.3 MB, free: 10.23 MB / 314.7 MB