Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 0.9796/0.9796, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.259e-05/2.275e-05, allocations: 0 / 154.3 MB, free: 13.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 25.16 MB / 179.4 MB, free: 0.8047 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05117/0.1912, allocations: 33.32 MB / 212.8 MB, free: 15.78 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.1915, allocations: 67.95 kB / 212.8 MB, free: 15.71 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00497/0.1965, allocations: 1.303 MB / 214.1 MB, free: 14.4 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.479e-06/0.1965, allocations: 0 / 214.1 MB, free: 14.4 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1966, allocations: 0 / 214.1 MB, free: 14.4 MB / 186.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.0003821/0.1969, allocations: 342.4 kB / 214.5 MB, free: 14.02 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.197, allocations: 15.97 kB / 214.5 MB, free: 14.01 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.1971, allocations: 11.86 kB / 214.5 MB, free: 14 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1973, allocations: 171 kB / 214.6 MB, free: 13.79 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.1973, allocations: 8 kB / 214.7 MB, free: 13.78 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.1973, allocations: 11.91 kB / 214.7 MB, free: 13.77 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1975, allocations: 61.69 kB / 214.7 MB, free: 13.7 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1975, allocations: 3.938 kB / 214.7 MB, free: 13.7 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1976, allocations: 4 kB / 214.7 MB, free: 13.7 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-06/0.1976, allocations: 11.95 kB / 214.7 MB, free: 13.68 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1977, allocations: 32.69 kB / 214.8 MB, free: 13.65 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.1985, allocations: 371.6 kB / 215.1 MB, free: 13.23 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1987, allocations: 62.5 kB / 215.2 MB, free: 13.16 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.1987, allocations: 20.86 kB / 215.2 MB, free: 13.14 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1988, allocations: 0 / 215.2 MB, free: 13.14 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1988, allocations: 34.56 kB / 215.3 MB, free: 13.09 MB / 186.7 MB Notification: Performance of pre-optimization done (n=7): time 1.936e-06/0.1988, allocations: 0 / 215.3 MB, free: 13.09 MB / 186.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008898/0.1997, allocations: 0.4974 MB / 215.8 MB, free: 12.5 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1998, allocations: 55.41 kB / 215.8 MB, free: 12.44 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1999, allocations: 109.2 kB / 215.9 MB, free: 12.32 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1999, allocations: 25.7 kB / 215.9 MB, free: 12.29 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.2, allocations: 170.4 kB / 216.1 MB, free: 12.12 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2001, allocations: 27.56 kB / 216.1 MB, free: 12.09 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2001, allocations: 0 / 216.1 MB, free: 12.09 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2003, allocations: 318.8 kB / 216.4 MB, free: 11.77 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.2004, allocations: 21.27 kB / 216.5 MB, free: 11.75 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.2005, allocations: 65.16 kB / 216.5 MB, free: 11.67 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.2005, allocations: 19.98 kB / 216.6 MB, free: 11.65 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.601e-06/0.2006, allocations: 3.953 kB / 216.6 MB, free: 11.65 MB / 186.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002359/0.2008, allocations: 109.6 kB / 216.7 MB, free: 11.54 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2008, allocations: 8 kB / 216.7 MB, free: 11.53 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.766e-06/0.2009, allocations: 3.984 kB / 216.7 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2009, allocations: 0 / 216.7 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.201, allocations: 23.94 kB / 216.7 MB, free: 11.5 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.201, allocations: 4 kB / 216.7 MB, free: 11.5 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.2011, allocations: 3.984 kB / 216.7 MB, free: 11.49 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2011, allocations: 7.938 kB / 216.7 MB, free: 11.48 MB / 186.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 8.88e-05/0.2012, allocations: 109 kB / 216.8 MB, free: 11.37 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.2013, allocations: 15.92 kB / 216.8 MB, free: 11.36 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.2013, allocations: 12.62 kB / 216.8 MB, free: 11.34 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-06/0.2013, allocations: 0 / 216.8 MB, free: 11.34 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2014, allocations: 4 kB / 216.9 MB, free: 11.34 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.014e-06/0.2014, allocations: 4 kB / 216.9 MB, free: 11.34 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.2021, allocations: 414.6 kB / 217.3 MB, free: 10.86 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.708e-06/0.2021, allocations: 4 kB / 217.3 MB, free: 10.86 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.2022, allocations: 19.98 kB / 217.3 MB, free: 10.84 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.435e-06/0.2023, allocations: 0 / 217.3 MB, free: 10.84 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2023, allocations: 4 kB / 217.3 MB, free: 10.83 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.867e-06/0.2023, allocations: 3.938 kB / 217.3 MB, free: 10.83 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.292e-06/0.2023, allocations: 4 kB / 217.3 MB, free: 10.82 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.2027, allocations: 292.3 kB / 217.6 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.2028, allocations: 85.05 kB / 217.7 MB, free: 10.38 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.2028, allocations: 8.469 kB / 217.7 MB, free: 10.37 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.2029, allocations: 0 / 217.7 MB, free: 10.37 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.203, allocations: 7.984 kB / 217.7 MB, free: 10.36 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.472e-06/0.203, allocations: 4 kB / 217.7 MB, free: 10.36 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.2031, allocations: 99.16 kB / 217.8 MB, free: 10.26 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.2031, allocations: 0 / 217.8 MB, free: 10.26 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.2034, allocations: 16 kB / 217.8 MB, free: 10.24 MB / 186.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.0001419/0.2036, allocations: 111.2 kB / 217.9 MB, free: 10.12 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.2038, allocations: 55.88 kB / 218 MB, free: 10.07 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.854e-06/0.2038, allocations: 0 / 218 MB, free: 10.07 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 6.752e-05/0.2039, allocations: 27.94 kB / 218 MB, free: 10.04 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.2042, allocations: 11.98 kB / 218 MB, free: 10.03 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.2048, allocations: 292.1 kB / 218.3 MB, free: 9.703 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.2052, allocations: 0.6965 MB / 219 MB, free: 8.98 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.466e-05/0.2052, allocations: 15.44 kB / 219 MB, free: 8.965 MB / 186.7 MB Notification: Performance of SimCode: time 1.364e-06/0.2052, allocations: 0 / 219 MB, free: 8.965 MB / 186.7 MB Notification: Performance of Templates: time 0.002719/0.208, allocations: 0.9589 MB / 220 MB, free: 8.008 MB / 186.7 MB