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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003416, allocations: 8 kB / 264 MB, free: 2.523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003266/0.3254, allocations: 1.285 MB / 309.8 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00037/0.3258, allocations: 67.83 kB / 309.9 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.86e-05/0.3259, allocations: 4 kB / 309.9 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.326, allocations: 7.922 kB / 309.9 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3262, allocations: 19.95 kB / 309.9 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.3263, allocations: 7.938 kB / 309.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.3266, allocations: 55.86 kB / 310 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3267, allocations: 15.98 kB / 310 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.508e-05/0.3268, allocations: 19.94 kB / 310 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.986e-05/0.327, allocations: 19.92 kB / 310.1 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.327, allocations: 4 kB / 310.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.722e-05/0.3271, allocations: 0 / 310.1 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.3271, allocations: 15.91 kB / 310.1 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.3272, allocations: 33.7 kB / 310.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3273, allocations: 44.84 kB / 310.2 MB, free: 11.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3274, allocations: 4 kB / 310.2 MB, free: 11.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3274, allocations: 0 / 310.2 MB, free: 11.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3274, allocations: 0 / 310.2 MB, free: 11.04 MB / 250.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.000717/0.3281, allocations: 351.2 kB / 310.5 MB, free: 10.65 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.3282, allocations: 8.031 kB / 310.5 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.552e-05/0.3283, allocations: 42.55 kB / 310.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.3284, allocations: 7.906 kB / 310.6 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3286, allocations: 179 kB / 310.7 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3287, allocations: 8 kB / 310.7 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.3288, allocations: 11.98 kB / 310.8 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.329, allocations: 73.55 kB / 310.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.3291, allocations: 4 kB / 310.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.3291, allocations: 0 / 310.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3292, allocations: 0 / 310.8 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3294, allocations: 39.97 kB / 310.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3306, allocations: 379.5 kB / 311.2 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.3309, allocations: 54.56 kB / 311.3 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3309, allocations: 0 / 311.3 MB, free: 9.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.331, allocations: 46.44 kB / 311.3 MB, free: 9.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 3.076e-06/0.331, allocations: 0 / 311.3 MB, free: 9.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.001411/0.3324, allocations: 0.5052 MB / 311.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.3325, allocations: 55.39 kB / 311.9 MB, free: 9.023 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3327, allocations: 125.9 kB / 312 MB, free: 8.887 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3328, allocations: 25.7 kB / 312 MB, free: 8.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.3329, allocations: 92.12 kB / 312.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.3329, allocations: 35.45 kB / 312.2 MB, free: 8.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.333, allocations: 8 kB / 312.2 MB, free: 8.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3332, allocations: 322.8 kB / 312.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.3333, allocations: 16 kB / 312.5 MB, free: 8.379 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.3335, allocations: 57.14 kB / 312.6 MB, free: 8.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3337, allocations: 27.98 kB / 312.6 MB, free: 8.277 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3337, allocations: 0 / 312.6 MB, free: 8.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004156/0.3341, allocations: 109.5 kB / 312.7 MB, free: 8.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.3342, allocations: 11.95 kB / 312.7 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3342, allocations: 0 / 312.7 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.3342, allocations: 4 kB / 312.7 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.3345, allocations: 23.92 kB / 312.7 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.3346, allocations: 4 kB / 312.7 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.3347, allocations: 0 / 312.7 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.3347, allocations: 8 kB / 312.7 MB, free: 8.113 MB / 250.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.0001788/0.3349, allocations: 121.9 kB / 312.9 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.335, allocations: 8.375 kB / 312.9 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.3351, allocations: 16.33 kB / 312.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3351, allocations: 144 / 312.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.3351, allocations: 3.984 kB / 312.9 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3352, allocations: 3.984 kB / 312.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3362, allocations: 418.5 kB / 313.3 MB, free: 7.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.3363, allocations: 3.984 kB / 313.3 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3366, allocations: 19.94 kB / 313.3 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.3366, allocations: 0 / 313.3 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3366, allocations: 4 kB / 313.3 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/0.3367, allocations: 4 kB / 313.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3367, allocations: 0 / 313.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.3372, allocations: 235.8 kB / 313.6 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.3373, allocations: 85 kB / 313.7 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.3374, allocations: 11.94 kB / 313.7 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3375, allocations: 4 kB / 313.7 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3376, allocations: 16 kB / 313.7 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3377, allocations: 3.984 kB / 313.7 MB, free: 7.043 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3378, allocations: 91.28 kB / 313.8 MB, free: 6.953 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3378, allocations: 0 / 313.8 MB, free: 6.953 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005808/0.3384, allocations: 16 kB / 313.8 MB, free: 6.938 MB / 250.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.0008998/0.3393, allocations: 0.7672 MB / 314.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.3396, allocations: 56.58 kB / 314.6 MB, free: 6.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3396, allocations: 4 kB / 314.6 MB, free: 6.066 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3398, allocations: 27.92 kB / 314.6 MB, free: 6.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.3403, allocations: 15.94 kB / 314.7 MB, free: 6.023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3425, allocations: 0.7474 MB / 315.4 MB, free: 5.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.343, allocations: 0.6965 MB / 316.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.184e-05/0.3431, allocations: 8.422 kB / 316.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.095e-05/0.3432, allocations: 27.44 kB / 316.1 MB, free: 4.445 MB / 250.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3432, allocations: 0 / 316.1 MB, free: 4.445 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.3674, allocations: 1.634 MB / 317.8 MB, free: 2.852 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.3678, allocations: 187.2 kB / 318 MB, free: 2.605 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/2.777, allocations: 3.938 kB / 318 MB, free: 2.602 MB / 250.7 MB