Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadModel(Modelica): time 1.712/1.712, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 8 kB / 233.2 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07002/0.0704, allocations: 38.77 MB / 271.9 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00206/0.07251, allocations: 1.288 MB / 273.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.07278, allocations: 63.83 kB / 273.3 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.07287, allocations: 4 kB / 273.3 MB, free: 10.85 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.07291, allocations: 7.922 kB / 273.3 MB, free: 10.84 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.68e-05/0.07301, allocations: 19.95 kB / 273.3 MB, free: 10.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.07313, allocations: 12 kB / 273.3 MB, free: 10.81 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.07327, allocations: 43.88 kB / 273.4 MB, free: 10.77 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.07338, allocations: 19.97 kB / 273.4 MB, free: 10.75 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.07344, allocations: 15.94 kB / 273.4 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.07351, allocations: 23.92 kB / 273.4 MB, free: 10.71 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.07354, allocations: 4 kB / 273.4 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.07357, allocations: 4 kB / 273.4 MB, free: 10.7 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.0736, allocations: 11.92 kB / 273.4 MB, free: 10.69 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.07365, allocations: 33.7 kB / 273.5 MB, free: 10.65 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.07375, allocations: 43.91 kB / 273.5 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.99e-06/0.07376, allocations: 0 / 273.5 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.298e-06/0.07378, allocations: 4 kB / 273.5 MB, free: 10.6 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.439e-06/0.0738, allocations: 0 / 273.5 MB, free: 10.6 MB / 234.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.0004726/0.07428, allocations: 360.9 kB / 273.9 MB, free: 10.2 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.07433, allocations: 11.97 kB / 273.9 MB, free: 10.19 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.07437, allocations: 4 kB / 273.9 MB, free: 10.19 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.07459, allocations: 182.9 kB / 274.1 MB, free: 9.969 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.07462, allocations: 3.953 kB / 274.1 MB, free: 9.965 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.07467, allocations: 11.98 kB / 274.1 MB, free: 9.953 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.07486, allocations: 65.62 kB / 274.1 MB, free: 9.883 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.07491, allocations: 3.984 kB / 274.1 MB, free: 9.879 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.07494, allocations: 11.94 kB / 274.2 MB, free: 9.867 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-06/0.07497, allocations: 4 kB / 274.2 MB, free: 9.863 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.07509, allocations: 35.92 kB / 274.2 MB, free: 9.828 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.07589, allocations: 383.5 kB / 274.6 MB, free: 9.395 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.07606, allocations: 62.5 kB / 274.6 MB, free: 9.324 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.018e-06/0.07609, allocations: 0 / 274.6 MB, free: 9.324 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.07613, allocations: 34.56 kB / 274.7 MB, free: 9.281 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 2.018e-06/0.07614, allocations: 0 / 274.7 MB, free: 9.281 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009342/0.07708, allocations: 0.5019 MB / 275.2 MB, free: 8.688 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.07715, allocations: 55.36 kB / 275.2 MB, free: 8.621 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.07729, allocations: 117.9 kB / 275.3 MB, free: 8.492 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.07733, allocations: 29.7 kB / 275.4 MB, free: 8.457 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.07746, allocations: 170.5 kB / 275.5 MB, free: 8.289 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.07751, allocations: 27.56 kB / 275.6 MB, free: 8.262 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-06/0.07753, allocations: 4 kB / 275.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.0777, allocations: 318.8 kB / 275.9 MB, free: 7.938 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.07776, allocations: 16 kB / 275.9 MB, free: 7.922 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/0.07787, allocations: 61.08 kB / 275.9 MB, free: 7.844 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.07796, allocations: 32.45 kB / 276 MB, free: 7.812 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-06/0.07797, allocations: 0 / 276 MB, free: 7.812 MB / 234.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000239/0.07822, allocations: 109.4 kB / 276.1 MB, free: 7.699 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.07826, allocations: 8 kB / 276.1 MB, free: 7.691 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.794e-06/0.07827, allocations: 0 / 276.1 MB, free: 7.691 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.07831, allocations: 12.03 kB / 276.1 MB, free: 7.68 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.07844, allocations: 19.98 kB / 276.1 MB, free: 7.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.596e-06/0.07846, allocations: 12.12 kB / 276.1 MB, free: 7.648 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.07853, allocations: 0 / 276.1 MB, free: 7.648 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.07855, allocations: 4 kB / 276.1 MB, free: 7.645 MB / 234.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.0001222/0.07868, allocations: 121.8 kB / 276.3 MB, free: 7.516 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.07873, allocations: 0 / 276.3 MB, free: 7.516 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.07878, allocations: 12.38 kB / 276.3 MB, free: 7.504 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-06/0.07879, allocations: 0 / 276.3 MB, free: 7.504 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.582e-06/0.07881, allocations: 8 kB / 276.3 MB, free: 7.496 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.154e-06/0.07883, allocations: 7.938 kB / 276.3 MB, free: 7.488 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.07953, allocations: 402.6 kB / 276.7 MB, free: 7.023 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.608e-06/0.07956, allocations: 7.922 kB / 276.7 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.07969, allocations: 16.16 kB / 276.7 MB, free: 7 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.07972, allocations: 11.95 kB / 276.7 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.07974, allocations: 0 / 276.7 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.749e-06/0.07976, allocations: 7.984 kB / 276.7 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-06/0.07977, allocations: 3.938 kB / 276.7 MB, free: 6.977 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.08011, allocations: 227.7 kB / 277 MB, free: 6.723 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.08019, allocations: 93.03 kB / 277 MB, free: 6.613 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.08023, allocations: 3.953 kB / 277 MB, free: 6.609 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.08034, allocations: 4 kB / 277 MB, free: 6.605 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.08038, allocations: 8 kB / 277.1 MB, free: 6.598 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.0804, allocations: 7.984 kB / 277.1 MB, free: 6.59 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.746e-05/0.08049, allocations: 91.34 kB / 277.2 MB, free: 6.5 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.0805, allocations: 0 / 277.2 MB, free: 6.5 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00036/0.08087, allocations: 16 kB / 277.2 MB, free: 6.484 MB / 234.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.0001368/0.08102, allocations: 115.5 kB / 277.3 MB, free: 6.363 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.0812, allocations: 51.92 kB / 277.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.08122, allocations: 3.938 kB / 277.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.08129, allocations: 28.31 kB / 277.4 MB, free: 6.281 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.08161, allocations: 20.05 kB / 277.4 MB, free: 6.262 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.08241, allocations: 419.4 kB / 277.8 MB, free: 5.801 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.08281, allocations: 0.6965 MB / 278.5 MB, free: 5.078 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.08286, allocations: 15.38 kB / 278.5 MB, free: 5.062 MB / 234.7 MB Notification: Performance of SimCode: time 1.516e-06/0.08287, allocations: 0 / 278.5 MB, free: 5.062 MB / 234.7 MB Notification: Performance of Templates: time 0.002785/0.08567, allocations: 0.961 MB / 279.5 MB, free: 4.098 MB / 234.7 MB