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 1.107/1.107, allocations: 111.2 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002718, allocations: 8 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04685/0.04714, allocations: 25.17 MB / 183.4 MB, free: 6.02 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001912/0.0491, allocations: 1.167 MB / 184.6 MB, free: 4.852 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002972/0.04944, allocations: 67.81 kB / 184.6 MB, free: 4.785 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.04954, allocations: 8 kB / 184.7 MB, free: 4.777 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.04958, allocations: 3.938 kB / 184.7 MB, free: 4.773 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.0497, allocations: 23.95 kB / 184.7 MB, free: 4.75 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.04982, allocations: 7.984 kB / 184.7 MB, free: 4.742 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.04997, allocations: 43.89 kB / 184.7 MB, free: 4.699 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.05008, allocations: 11.98 kB / 184.7 MB, free: 4.688 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.05014, allocations: 27.91 kB / 184.8 MB, free: 4.66 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.05022, allocations: 23.92 kB / 184.8 MB, free: 4.637 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.05026, allocations: 4 kB / 184.8 MB, free: 4.633 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.05028, allocations: 0 / 184.8 MB, free: 4.633 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.05031, allocations: 11.94 kB / 184.8 MB, free: 4.621 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.05036, allocations: 33.7 kB / 184.8 MB, free: 4.582 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.05047, allocations: 52.11 kB / 184.9 MB, free: 4.531 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.205e-06/0.05049, allocations: 0 / 184.9 MB, free: 4.531 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.981e-06/0.05051, allocations: 0 / 184.9 MB, free: 4.531 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.05054, allocations: 0 / 184.9 MB, free: 4.531 MB / 154.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.0005633/0.05111, allocations: 360 kB / 185.2 MB, free: 4.133 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.05116, allocations: 8.031 kB / 185.3 MB, free: 4.125 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.05121, allocations: 15.78 kB / 185.3 MB, free: 4.109 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.05143, allocations: 175 kB / 185.4 MB, free: 3.898 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.05146, allocations: 4 kB / 185.4 MB, free: 3.895 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.0515, allocations: 8 kB / 185.5 MB, free: 3.887 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.0517, allocations: 65.67 kB / 185.5 MB, free: 3.816 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.05173, allocations: 4 kB / 185.5 MB, free: 3.812 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.05175, allocations: 3.953 kB / 185.5 MB, free: 3.809 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.459e-06/0.05177, allocations: 4 kB / 185.5 MB, free: 3.805 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.05188, allocations: 39.91 kB / 185.6 MB, free: 3.766 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.05268, allocations: 375.6 kB / 185.9 MB, free: 3.344 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.05286, allocations: 58.5 kB / 186 MB, free: 3.277 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.05289, allocations: 4 kB / 186 MB, free: 3.273 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.05294, allocations: 34.56 kB / 186 MB, free: 3.23 MB / 154.7 MB Notification: Performance of pre-optimization done (n=7): time 2.386e-06/0.05295, allocations: 0 / 186 MB, free: 3.23 MB / 154.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009437/0.0539, allocations: 0.5132 MB / 186.5 MB, free: 2.625 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.05397, allocations: 55.41 kB / 186.6 MB, free: 2.559 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.05411, allocations: 118 kB / 186.7 MB, free: 2.43 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.05415, allocations: 29.7 kB / 186.7 MB, free: 2.395 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.05426, allocations: 166.5 kB / 186.9 MB, free: 2.23 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.05431, allocations: 35.48 kB / 186.9 MB, free: 2.195 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-06/0.05433, allocations: 0 / 186.9 MB, free: 2.195 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.0545, allocations: 318.8 kB / 187.2 MB, free: 1.875 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.05456, allocations: 19.98 kB / 187.3 MB, free: 1.855 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.05468, allocations: 61.55 kB / 187.3 MB, free: 1.777 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.05477, allocations: 28 kB / 187.4 MB, free: 1.75 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-06/0.05478, allocations: 4 kB / 187.4 MB, free: 1.746 MB / 154.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002379/0.05503, allocations: 105.5 kB / 187.5 MB, free: 1.637 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.05506, allocations: 6.031 kB / 187.5 MB, free: 1.633 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.403e-06/0.05508, allocations: 7.938 kB / 187.5 MB, free: 1.625 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.05511, allocations: 0 / 187.5 MB, free: 1.625 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.05524, allocations: 36.02 kB / 187.5 MB, free: 1.59 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.05527, allocations: 4 kB / 187.5 MB, free: 1.586 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.05533, allocations: 4 kB / 187.5 MB, free: 1.582 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.05535, allocations: 4 kB / 187.5 MB, free: 1.578 MB / 154.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.0001178/0.05548, allocations: 117.8 kB / 187.6 MB, free: 1.453 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.05553, allocations: 11.84 kB / 187.6 MB, free: 1.441 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.05558, allocations: 12.36 kB / 187.7 MB, free: 1.43 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.76e-06/0.0556, allocations: 4 kB / 187.7 MB, free: 1.426 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.976e-06/0.05562, allocations: 4 kB / 187.7 MB, free: 1.422 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-06/0.05563, allocations: 0 / 187.7 MB, free: 1.422 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.05636, allocations: 410.5 kB / 188.1 MB, free: 0.9492 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.822e-06/0.05638, allocations: 4 kB / 188.1 MB, free: 0.9453 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.05652, allocations: 16 kB / 188.1 MB, free: 0.9297 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.05654, allocations: 8.141 kB / 188.1 MB, free: 0.9219 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.05656, allocations: 4 kB / 188.1 MB, free: 0.918 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.05658, allocations: 0 / 188.1 MB, free: 0.918 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-06/0.05659, allocations: 7.938 kB / 188.1 MB, free: 0.9102 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.05692, allocations: 235.7 kB / 188.3 MB, free: 0.6484 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.057, allocations: 77.11 kB / 188.4 MB, free: 0.5547 MB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.05704, allocations: 4 kB / 188.4 MB, free: 0.5508 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.05715, allocations: 4 kB / 188.4 MB, free: 0.5469 MB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.05719, allocations: 11.94 kB / 188.4 MB, free: 0.5352 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.897e-06/0.05721, allocations: 4 kB / 188.4 MB, free: 0.5312 MB / 154.7 MB Notification: Performance of sorting global known variables: time 7.804e-05/0.0573, allocations: 91.27 kB / 188.5 MB, free: 452 kB / 154.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.05732, allocations: 8.062 kB / 188.5 MB, free: 444 kB / 154.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.05769, allocations: 16.38 kB / 188.5 MB, free: 428 kB / 154.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.000131/0.05783, allocations: 103.4 kB / 188.7 MB, free: 316 kB / 154.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.05803, allocations: 63.84 kB / 188.7 MB, free: 252 kB / 154.7 MB Notification: Performance of simCode: created event and clocks part: time 4.996e-06/0.05805, allocations: 4 kB / 188.7 MB, free: 248 kB / 154.7 MB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.05812, allocations: 32.17 kB / 188.7 MB, free: 216 kB / 154.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.05844, allocations: 14.94 kB / 188.8 MB, free: 204 kB / 154.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.05927, allocations: 427.1 kB / 189.2 MB, free: 15.73 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.05968, allocations: 0.6965 MB / 189.9 MB, free: 15 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.05974, allocations: 11.44 kB / 189.9 MB, free: 14.99 MB / 170.7 MB Notification: Performance of SimCode: time 1.382e-06/0.05975, allocations: 0 / 189.9 MB, free: 14.99 MB / 170.7 MB Notification: Performance of Templates: time 0.002759/0.06252, allocations: 0.9538 MB / 190.8 MB, free: 14.04 MB / 170.7 MB