Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.892/1.892, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08121/0.0816, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.413, allocations: 71.05 MB / 379.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.4132, allocations: 70.17 kB / 379.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00461/0.4179, allocations: 1.314 MB / 380.9 MB, free: 18.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.321e-06/0.4179, allocations: 1.312 kB / 380.9 MB, free: 18.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4179, allocations: 1.188 kB / 380.9 MB, free: 18.43 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.0003134/0.4182, allocations: 352.2 kB / 381.2 MB, free: 18.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.4183, allocations: 10.28 kB / 381.2 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4184, allocations: 6.312 kB / 381.2 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.4185, allocations: 184.5 kB / 381.4 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4185, allocations: 2.438 kB / 381.4 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.4186, allocations: 8.688 kB / 381.4 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.4187, allocations: 68.17 kB / 381.5 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4188, allocations: 0 / 381.5 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4188, allocations: 7.406 kB / 381.5 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4188, allocations: 2.156 kB / 381.5 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.4189, allocations: 40.27 kB / 381.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.4196, allocations: 377.9 kB / 381.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.4197, allocations: 61.02 kB / 382 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.4197, allocations: 1.156 kB / 382 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.4198, allocations: 31.47 kB / 382 MB, free: 17.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.14e-06/0.4198, allocations: 0.9688 kB / 382 MB, free: 17.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007398/0.4205, allocations: 0.513 MB / 382.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.4206, allocations: 56.5 kB / 382.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.4207, allocations: 111.6 kB / 382.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.4207, allocations: 26.83 kB / 382.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.4207, allocations: 161.8 kB / 382.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.4208, allocations: 33.36 kB / 382.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.4208, allocations: 7.25 kB / 382.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.4208, allocations: 315.3 kB / 383.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.4209, allocations: 18.33 kB / 383.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.421, allocations: 63.64 kB / 383.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.4211, allocations: 30.44 kB / 383.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4211, allocations: 0 / 383.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002057/0.4213, allocations: 106.7 kB / 383.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4213, allocations: 11.56 kB / 383.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.78e-06/0.4213, allocations: 1.188 kB / 383.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4214, allocations: 3.188 kB / 383.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4215, allocations: 28.73 kB / 383.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4215, allocations: 11.77 kB / 383.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.4216, allocations: 0.9375 kB / 383.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.4216, allocations: 4.688 kB / 383.5 MB, free: 16.2 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 7.112e-05/0.4217, allocations: 121.1 kB / 383.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.4217, allocations: 8.797 kB / 383.6 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.4218, allocations: 12.97 kB / 383.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-06/0.4218, allocations: 1.219 kB / 383.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.202e-06/0.4218, allocations: 5.297 kB / 383.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-06/0.4218, allocations: 2.109 kB / 383.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.4224, allocations: 408.9 kB / 384 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.796e-06/0.4224, allocations: 2.234 kB / 384 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.4226, allocations: 26.14 kB / 384.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-06/0.4226, allocations: 3.094 kB / 384.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4226, allocations: 1.5 kB / 384.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.154e-06/0.4226, allocations: 2.594 kB / 384.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.694e-06/0.4226, allocations: 5.5 kB / 384.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.4229, allocations: 291.6 kB / 384.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.4229, allocations: 84.36 kB / 384.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.423, allocations: 2.344 kB / 384.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4231, allocations: 8.953 kB / 384.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.4231, allocations: 6.312 kB / 384.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4232, allocations: 3.688 kB / 384.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.097e-05/0.4232, allocations: 98.3 kB / 384.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.56e-07/0.4232, allocations: 0 / 384.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.4236, allocations: 14.72 kB / 384.6 MB, free: 15.25 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.0001113/0.4237, allocations: 112.4 kB / 384.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.4239, allocations: 51.39 kB / 384.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.048e-06/0.4239, allocations: 0 / 384.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.424, allocations: 34.95 kB / 384.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.4243, allocations: 7.312 kB / 384.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.4249, allocations: 432.1 kB / 385.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.4251, allocations: 0.6971 MB / 385.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.4252, allocations: 18.16 kB / 385.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of SimCode: time 1.36e-06/0.4252, allocations: 0 / 385.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of Templates: time 0.002586/0.4278, allocations: 0.9476 MB / 386.9 MB, free: 14.04 MB / 314.7 MB