Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.819/1.819, allocations: 171.2 MB / 187.3 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003537, allocations: 8 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.09985, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3483/0.4482, allocations: 65.75 MB / 338.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4486, allocations: 69.12 kB / 338.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005164/0.4537, allocations: 1.317 MB / 339.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4538, allocations: 0 / 339.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.4538, allocations: 1.531 kB / 339.7 MB, free: 6.996 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.0004228/0.4542, allocations: 355 kB / 340 MB, free: 6.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4543, allocations: 8.031 kB / 340 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.4543, allocations: 8 kB / 340 MB, free: 6.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.4545, allocations: 182.7 kB / 340.2 MB, free: 6.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4546, allocations: 7.875 kB / 340.2 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.4546, allocations: 7.953 kB / 340.2 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.4548, allocations: 68.61 kB / 340.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4548, allocations: 0 / 340.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.4549, allocations: 0 / 340.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4549, allocations: 3.938 kB / 340.3 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.455, allocations: 41.03 kB / 340.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.4558, allocations: 382.5 kB / 340.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.456, allocations: 66.2 kB / 340.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.456, allocations: 4 kB / 340.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4561, allocations: 30.56 kB / 340.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.4561, allocations: 4 kB / 340.8 MB, free: 5.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009256/0.457, allocations: 0.5003 MB / 341.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.4571, allocations: 55.41 kB / 341.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4572, allocations: 120.9 kB / 341.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4572, allocations: 25.7 kB / 341.5 MB, free: 5.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.4573, allocations: 169.7 kB / 341.7 MB, free: 4.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.4574, allocations: 38.53 kB / 341.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.4574, allocations: 0 / 341.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4575, allocations: 318.3 kB / 342 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.4576, allocations: 19.38 kB / 342 MB, free: 4.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/0.4577, allocations: 60.14 kB / 342.1 MB, free: 4.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.4578, allocations: 26.98 kB / 342.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4578, allocations: 4 kB / 342.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002333/0.458, allocations: 110.1 kB / 342.2 MB, free: 4.297 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4581, allocations: 5.094 kB / 342.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4581, allocations: 4 kB / 342.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4581, allocations: 144 / 342.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.4583, allocations: 27.92 kB / 342.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.4583, allocations: 12.5 kB / 342.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.4584, allocations: 3.688 kB / 342.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.4584, allocations: 11.94 kB / 342.3 MB, free: 4.238 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.0001055/0.4585, allocations: 117.1 kB / 342.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.4586, allocations: 4 kB / 342.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.4586, allocations: 15.38 kB / 342.4 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4586, allocations: 4 kB / 342.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4586, allocations: 0 / 342.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4587, allocations: 3.984 kB / 342.5 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.4593, allocations: 409 kB / 342.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4593, allocations: 0 / 342.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.4595, allocations: 19.98 kB / 342.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4595, allocations: 0 / 342.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.4596, allocations: 8.156 kB / 342.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.4596, allocations: 11.89 kB / 342.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4596, allocations: 0 / 342.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.4599, allocations: 228.9 kB / 343.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.46, allocations: 88.12 kB / 343.2 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.46, allocations: 4.875 kB / 343.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4601, allocations: 4 kB / 343.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.4602, allocations: 11.45 kB / 343.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4602, allocations: 0 / 343.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.329e-05/0.4603, allocations: 95.02 kB / 343.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4603, allocations: 3.938 kB / 343.3 MB, free: 3.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.4606, allocations: 19.44 kB / 343.3 MB, free: 3.164 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.0001363/0.4608, allocations: 110.4 kB / 343.4 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.461, allocations: 54.8 kB / 343.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.461, allocations: 0 / 343.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.4611, allocations: 30.98 kB / 343.5 MB, free: 2.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.4614, allocations: 12.81 kB / 343.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.4622, allocations: 430.6 kB / 344 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.4625, allocations: 0.6965 MB / 344.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4625, allocations: 11.44 kB / 344.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4626, allocations: 4 kB / 344.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of Templates: time 0.003056/0.4656, allocations: 0.9603 MB / 345.6 MB, free: 0.8242 MB / 266.7 MB