Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.854/1.854, allocations: 209.2 MB / 224.8 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005974/0.0005976, allocations: 12 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4211, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.03673/0.4579, allocations: 24.36 MB / 355.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.4774, allocations: 6.483 MB / 362.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005527/0.483, allocations: 115.8 kB / 362.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004923/0.4879, allocations: 1.272 MB / 363.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.5039, allocations: 3.779 MB / 367.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.5066, allocations: 427.3 kB / 367.7 MB, free: 10 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006119/0.5128, allocations: 2.219 MB / 369.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005096/0.518, allocations: 2.19 MB / 372.1 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.5204, allocations: 0.8914 MB / 373 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.5234, allocations: 1.242 MB / 374.2 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008462/0.5243, allocations: 136 kB / 374.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.5272, allocations: 0.8815 MB / 375.3 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002688/0.53, allocations: 1.457 MB / 376.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.5314, allocations: 0.7686 MB / 377.5 MB, free: 136 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00865/0.5401, allocations: 4.9 MB / 382.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5402, allocations: 0 / 382.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5402, allocations: 0 / 382.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002125/0.5404, allocations: 0 / 382.4 MB, free: 11.22 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01101/0.5515, allocations: 3.668 MB / 386.1 MB, free: 7.484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.5515, allocations: 8.031 kB / 386.1 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002253/0.5538, allocations: 0.7244 MB / 386.8 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0247/0.5785, allocations: 3.84 MB / 390.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007819/0.5864, allocations: 2.419 MB / 393 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.5867, allocations: 188.7 kB / 393.2 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/0.5889, allocations: 339.4 kB / 393.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02698/0.6159, allocations: 10.83 MB / 404.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.6161, allocations: 27.75 kB / 404.4 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006691/0.6168, allocations: 119.8 kB / 404.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007459/0.6243, allocations: 2.561 MB / 407.1 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0309/0.6552, allocations: 10.33 MB / 417.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08071/0.736, allocations: 35.87 MB / 453.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/0.7497, allocations: 4.418 MB / 457.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001898/0.7516, allocations: 1.331 MB / 459 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.7517, allocations: 60.5 kB / 459.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=245): time 6.462e-06/0.7517, allocations: 0 / 459.1 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=261): time 0.07384/0.8256, allocations: 17.63 MB / 476.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001872/0.8275, allocations: 1.543 MB / 478.3 MB, free: 8.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006762/0.8343, allocations: 2.977 MB / 481.3 MB, free: 5.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000633/0.835, allocations: 61.69 kB / 481.3 MB, free: 5.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003062/0.8381, allocations: 2.723 MB / 484 MB, free: 3.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001826/0.84, allocations: 0.9558 MB / 485 MB, free: 2.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/0.8408, allocations: 112 kB / 485.1 MB, free: 2.047 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006739/0.8415, allocations: 0.5506 MB / 485.7 MB, free: 1.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2777/1.119, allocations: 2.429 MB / 488.1 MB, free: 128.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008653/1.128, allocations: 5.461 MB / 493.5 MB, free: 124.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008576/1.137, allocations: 3.639 MB / 497.2 MB, free: 122.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/1.137, allocations: 31.31 kB / 497.2 MB, free: 122.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.0277/1.164, allocations: 8.819 MB / 0.4942 GB, free: 120 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.713e-05/1.165, allocations: 50.38 kB / 0.4942 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01357/1.178, allocations: 3.996 MB / 0.4981 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008551/1.187, allocations: 1.396 MB / 0.4995 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00778/1.195, allocations: 1.291 MB / 0.5007 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/1.201, allocations: 4.405 MB / 0.505 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006126/1.207, allocations: 400.5 kB / 0.5054 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009822/1.208, allocations: 325.9 kB / 0.5057 GB, free: 115.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (689): * Single equations (assignments): 677 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004831/1.213, allocations: 2.106 MB / 0.5078 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006522/1.214, allocations: 281.3 kB / 0.5081 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/1.23, allocations: 5.435 MB / 0.5134 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01487/1.245, allocations: 4.682 MB / 0.5179 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/1.245, allocations: 4 kB / 0.5179 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.591e-05/1.245, allocations: 7.969 kB / 0.518 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03702/1.282, allocations: 14.72 MB / 0.5323 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.282, allocations: 12.25 kB / 0.5323 GB, free: 87.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003523/1.286, allocations: 423.3 kB / 0.5327 GB, free: 87.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008095/1.294, allocations: 1.24 MB / 0.534 GB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005066/1.295, allocations: 71.86 kB / 0.534 GB, free: 86.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006583/1.301, allocations: 4.524 MB / 0.5384 GB, free: 81.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001094/1.302, allocations: 1.478 MB / 0.5399 GB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/1.323, allocations: 8.147 MB / 0.5478 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008424/1.324, allocations: 349.4 kB / 0.5482 GB, free: 71.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000893/1.325, allocations: 56.92 kB / 0.5482 GB, free: 71.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/1.327, allocations: 200.5 kB / 0.5484 GB, free: 70.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/1.328, allocations: 174.3 kB / 0.5486 GB, free: 70.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.328, allocations: 76.83 kB / 0.5487 GB, free: 70.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003344/1.332, allocations: 1.857 MB / 0.5505 GB, free: 68.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.42e-07/1.332, allocations: 0 / 0.5505 GB, free: 68.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005761/1.337, allocations: 1.078 MB / 0.5515 GB, free: 67.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02079/1.358, allocations: 8.702 MB / 0.56 GB, free: 58.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01532/1.374, allocations: 6.455 MB / 0.5663 GB, free: 52.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.374, allocations: 0 / 0.5663 GB, free: 52.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007876/1.382, allocations: 2.891 MB / 0.5692 GB, free: 49.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.384, allocations: 354.7 kB / 0.5695 GB, free: 49.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07478/1.459, allocations: 34.44 MB / 0.6031 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004514/1.464, allocations: 3.394 MB / 0.6064 GB, free: 8.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003933/1.468, allocations: 1.847 MB / 0.6082 GB, free: 6.586 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/1.468, allocations: 0 / 0.6082 GB, free: 6.586 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.121/6.589, allocations: 149.3 MB / 0.7541 GB, free: 53 MB / 442.7 MB