Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.9836/0.9836, allocations: 111.2 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002487/0.0002489, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05064/0.05091, allocations: 25.17 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.2515, allocations: 33.4 MB / 217.4 MB, free: 6.77 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.2517, allocations: 64.84 kB / 217.5 MB, free: 6.762 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004611/0.2563, allocations: 1.302 MB / 218.8 MB, free: 6.121 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.2564, allocations: 7.719 kB / 218.8 MB, free: 6.117 MB / 170.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2564, allocations: 2.297 kB / 218.8 MB, free: 6.117 MB / 170.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.0003388/0.2568, allocations: 351.3 kB / 219.2 MB, free: 5.75 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2568, allocations: 7.688 kB / 219.2 MB, free: 5.75 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.2568, allocations: 7.703 kB / 219.2 MB, free: 5.746 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.257, allocations: 177.9 kB / 219.3 MB, free: 5.539 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.257, allocations: 11.09 kB / 219.4 MB, free: 5.535 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2571, allocations: 3.844 kB / 219.4 MB, free: 5.535 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2572, allocations: 73.83 kB / 219.4 MB, free: 5.492 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2573, allocations: 3.844 kB / 219.4 MB, free: 5.492 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2573, allocations: 0 / 219.4 MB, free: 5.492 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2573, allocations: 3.953 kB / 219.4 MB, free: 5.488 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.2574, allocations: 33.48 kB / 219.5 MB, free: 5.484 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006968/0.2581, allocations: 383.8 kB / 219.8 MB, free: 5.137 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2582, allocations: 56.28 kB / 219.9 MB, free: 5.105 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2583, allocations: 0 / 219.9 MB, free: 5.105 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2583, allocations: 33.94 kB / 219.9 MB, free: 5.066 MB / 170.7 MB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.2583, allocations: 0 / 219.9 MB, free: 5.066 MB / 170.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007456/0.2591, allocations: 0.5131 MB / 220.5 MB, free: 4.602 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2591, allocations: 51.5 kB / 220.5 MB, free: 4.539 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.2592, allocations: 121.6 kB / 220.6 MB, free: 4.43 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2592, allocations: 25.7 kB / 220.6 MB, free: 4.398 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.2593, allocations: 162.1 kB / 220.8 MB, free: 4.242 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2593, allocations: 37.17 kB / 220.8 MB, free: 4.219 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.2593, allocations: 3.844 kB / 220.8 MB, free: 4.219 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.2594, allocations: 321.5 kB / 221.2 MB, free: 3.898 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.2594, allocations: 17.14 kB / 221.2 MB, free: 3.895 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.2595, allocations: 56.44 kB / 221.2 MB, free: 3.844 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.2596, allocations: 36.31 kB / 221.3 MB, free: 3.836 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2596, allocations: 7.953 kB / 221.3 MB, free: 3.828 MB / 170.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001935/0.2598, allocations: 104.7 kB / 221.4 MB, free: 3.777 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2598, allocations: 3.844 kB / 221.4 MB, free: 3.777 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2599, allocations: 3.844 kB / 221.4 MB, free: 3.777 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2599, allocations: 3.938 kB / 221.4 MB, free: 3.773 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.26, allocations: 30.95 kB / 221.4 MB, free: 3.766 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.26, allocations: 3.719 kB / 221.4 MB, free: 3.766 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.2601, allocations: 0 / 221.4 MB, free: 3.766 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2601, allocations: 5.234 kB / 221.4 MB, free: 3.766 MB / 170.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.015e-05/0.2602, allocations: 122.9 kB / 221.5 MB, free: 3.645 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.2603, allocations: 7.797 kB / 221.6 MB, free: 3.641 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.2603, allocations: 18.48 kB / 221.6 MB, free: 3.633 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2603, allocations: 0 / 221.6 MB, free: 3.633 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2603, allocations: 3.938 kB / 221.6 MB, free: 3.629 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2603, allocations: 0 / 221.6 MB, free: 3.629 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.2609, allocations: 410.6 kB / 222 MB, free: 3.25 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2609, allocations: 0 / 222 MB, free: 3.25 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.261, allocations: 14.84 kB / 222 MB, free: 3.25 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2611, allocations: 11.45 kB / 222 MB, free: 3.242 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2611, allocations: 3.469 kB / 222 MB, free: 3.242 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.2611, allocations: 4 kB / 222 MB, free: 3.238 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2611, allocations: 3.094 kB / 222 MB, free: 3.238 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.2613, allocations: 236.1 kB / 222.2 MB, free: 3.043 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.2614, allocations: 84.86 kB / 222.3 MB, free: 2.945 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.2614, allocations: 10.81 kB / 222.3 MB, free: 2.941 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.2615, allocations: 0 / 222.3 MB, free: 2.941 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.2616, allocations: 11.02 kB / 222.3 MB, free: 2.938 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.2616, allocations: 7.828 kB / 222.4 MB, free: 2.934 MB / 170.7 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.2617, allocations: 94.67 kB / 222.4 MB, free: 2.852 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2617, allocations: 0 / 222.4 MB, free: 2.852 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.262, allocations: 19.09 kB / 222.5 MB, free: 2.852 MB / 170.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 9.976e-05/0.2621, allocations: 104.9 kB / 222.6 MB, free: 2.758 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.2623, allocations: 60.7 kB / 222.6 MB, free: 2.746 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2623, allocations: 0 / 222.6 MB, free: 2.746 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.2624, allocations: 31.05 kB / 222.7 MB, free: 2.738 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2627, allocations: 7 kB / 222.7 MB, free: 2.738 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.2633, allocations: 426.8 kB / 223.1 MB, free: 2.359 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.2635, allocations: 0.7036 MB / 223.8 MB, free: 1.648 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.2635, allocations: 10.97 kB / 223.8 MB, free: 1.641 MB / 170.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2635, allocations: 0 / 223.8 MB, free: 1.641 MB / 170.7 MB Notification: Performance of Templates: time 0.002661/0.2662, allocations: 0.962 MB / 224.8 MB, free: 1.164 MB / 170.7 MB