Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 2.358/2.358, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003641, allocations: 12 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09786, allocations: 44.5 MB / 309 MB, free: 396 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5317/0.6296, allocations: 71.05 MB / 380.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.63, allocations: 80.97 kB / 380.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005186/0.6352, allocations: 1.31 MB / 381.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6352, allocations: 1.188 kB / 381.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.6352, allocations: 0.9375 kB / 381.5 MB, free: 15.02 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.0003746/0.6356, allocations: 348.3 kB / 381.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.6357, allocations: 8.719 kB / 381.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.6358, allocations: 12.12 kB / 381.8 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.636, allocations: 180.6 kB / 382 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.636, allocations: 5.938 kB / 382 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.6361, allocations: 8.438 kB / 382 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.6366, allocations: 67.41 kB / 382.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.6367, allocations: 0 / 382.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.6368, allocations: 5.125 kB / 382.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.6368, allocations: 2.469 kB / 382.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.6372, allocations: 36.7 kB / 382.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.6381, allocations: 384.8 kB / 382.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.6383, allocations: 55.75 kB / 382.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.6383, allocations: 1.188 kB / 382.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.6383, allocations: 33.58 kB / 382.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.6384, allocations: 4 kB / 382.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.000863/0.6392, allocations: 0.5177 MB / 383.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.6393, allocations: 51.41 kB / 383.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.6394, allocations: 123.4 kB / 383.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6394, allocations: 31.25 kB / 383.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.6395, allocations: 95.8 kB / 383.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.6395, allocations: 29.97 kB / 383.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.6395, allocations: 4.719 kB / 383.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.6396, allocations: 318.9 kB / 383.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/0.6397, allocations: 22.66 kB / 383.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.6397, allocations: 57.31 kB / 383.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.6398, allocations: 27.17 kB / 383.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6398, allocations: 1.031 kB / 383.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000226/0.6401, allocations: 112.7 kB / 384 MB, free: 12.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6401, allocations: 5.719 kB / 384 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6401, allocations: 3.422 kB / 384 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.6402, allocations: 6.203 kB / 384 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.6403, allocations: 25.14 kB / 384 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6404, allocations: 8.312 kB / 384 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.6404, allocations: 5.281 kB / 384 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.6404, allocations: 3.594 kB / 384 MB, free: 12.84 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 8.301e-05/0.6405, allocations: 117.7 kB / 384.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.6406, allocations: 13.08 kB / 384.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.6406, allocations: 9.375 kB / 384.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.6406, allocations: 1.031 kB / 384.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6407, allocations: 3.953 kB / 384.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6407, allocations: 6.453 kB / 384.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.6413, allocations: 405.1 kB / 384.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.6413, allocations: 5.266 kB / 384.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.6415, allocations: 17.34 kB / 384.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.6415, allocations: 7.031 kB / 384.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.6415, allocations: 9.875 kB / 384.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.6415, allocations: 7.75 kB / 384.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6416, allocations: 1.188 kB / 384.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.6418, allocations: 231.2 kB / 384.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.6419, allocations: 89.31 kB / 384.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.6419, allocations: 5.469 kB / 385 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.642, allocations: 1.25 kB / 385 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.6421, allocations: 10.41 kB / 385 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.6421, allocations: 3.812 kB / 385 MB, free: 12.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.799e-05/0.6422, allocations: 98.05 kB / 385.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6422, allocations: 64 / 385.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.6426, allocations: 22.16 kB / 385.1 MB, free: 11.97 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.0001391/0.6427, allocations: 99.06 kB / 385.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.643, allocations: 59.84 kB / 385.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.643, allocations: 0 / 385.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.6431, allocations: 30.95 kB / 385.3 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.6434, allocations: 16.91 kB / 385.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.6442, allocations: 392.3 kB / 385.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.6444, allocations: 0.6986 MB / 386.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.6444, allocations: 7.219 kB / 386.4 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.6445, allocations: 15.5 kB / 386.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6445, allocations: 0 / 386.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003657/0.6482, allocations: 0.5889 MB / 387 MB, free: 10.8 MB / 314.7 MB