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.FreeMotionScalarInit.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.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.847/1.847, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006091/0.0006093, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.395, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.04306/0.4381, allocations: 28.07 MB / 359.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0213/0.4594, allocations: 7.253 MB / 366.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006132/0.4656, allocations: 135.6 kB / 366.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005511/0.4712, allocations: 1.447 MB / 368.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01715/0.4884, allocations: 4.243 MB / 372.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.4914, allocations: 443.3 kB / 372.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005755/0.4972, allocations: 2.127 MB / 375 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007488/0.5047, allocations: 3.345 MB / 378.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002312/0.5071, allocations: 0.9303 MB / 379.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.5101, allocations: 1.304 MB / 380.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008758/0.511, allocations: 144 kB / 380.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.5138, allocations: 0.8465 MB / 381.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00266/0.5165, allocations: 1.523 MB / 383.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.518, allocations: 0.8465 MB / 383.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009214/0.5272, allocations: 5.592 MB / 389.5 MB, free: 4.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5273, allocations: 0 / 389.5 MB, free: 4.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5273, allocations: 3.938 kB / 389.5 MB, free: 4.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002194/0.5275, allocations: 4 kB / 389.5 MB, free: 4.082 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01451/0.542, allocations: 4.13 MB / 393.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5421, allocations: 8.031 kB / 393.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002585/0.5447, allocations: 0.7944 MB / 394.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02345/0.5682, allocations: 3.792 MB / 398.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0073/0.5755, allocations: 2.325 MB / 400.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.5759, allocations: 221.6 kB / 400.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.5773, allocations: 291.8 kB / 401.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/0.6064, allocations: 11.52 MB / 412.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.6066, allocations: 27.72 kB / 412.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009998/0.6077, allocations: 139.8 kB / 412.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007788/0.6155, allocations: 2.632 MB / 415.4 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03265/0.6482, allocations: 10.72 MB / 426.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08366/0.7319, allocations: 36.43 MB / 462.5 MB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/0.7457, allocations: 4.404 MB / 466.9 MB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/0.7477, allocations: 1.327 MB / 468.3 MB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/0.7478, allocations: 56.56 kB / 468.3 MB, free: 3.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 7.083e-06/0.7478, allocations: 0 / 468.3 MB, free: 3.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.07266/0.8204, allocations: 14.49 MB / 482.8 MB, free: 4.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.8206, allocations: 73.41 kB / 482.9 MB, free: 4.648 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005765/0.8263, allocations: 2.909 MB / 485.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000561/0.827, allocations: 61.7 kB / 485.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2701/1.097, allocations: 2.924 MB / 488.8 MB, free: 129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/1.099, allocations: 0.975 MB / 489.7 MB, free: 128.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005691/1.099, allocations: 114.4 kB / 489.9 MB, free: 128.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004625/1.1, allocations: 0.5601 MB / 490.4 MB, free: 128.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006367/1.106, allocations: 2.334 MB / 492.7 MB, free: 127.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008456/1.115, allocations: 5.494 MB / 498.2 MB, free: 122.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008622/1.123, allocations: 3.573 MB / 0.4901 GB, free: 121.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001842/1.123, allocations: 30.88 kB / 0.4901 GB, free: 121.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.0248/1.148, allocations: 8.474 MB / 0.4984 GB, free: 118.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/1.148, allocations: 54.28 kB / 0.4984 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/1.149, allocations: 107.5 kB / 0.4985 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006376/1.155, allocations: 1.048 MB / 0.4995 GB, free: 118 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007881/1.163, allocations: 1.337 MB / 0.5008 GB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/1.167, allocations: 2.511 MB / 0.5033 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005374/1.172, allocations: 315.2 kB / 0.5036 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.173, allocations: 332 kB / 0.5039 GB, free: 116.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (720): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005221/1.178, allocations: 2.266 MB / 0.5061 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000595/1.179, allocations: 287.7 kB / 0.5064 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.193, allocations: 5.063 MB / 0.5113 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-05/1.193, allocations: 55.97 kB / 0.5114 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.193, allocations: 0 / 0.5114 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/1.193, allocations: 15.95 kB / 0.5114 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.223, allocations: 11.57 MB / 0.5227 GB, free: 98.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/1.223, allocations: 8 kB / 0.5227 GB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003672/1.227, allocations: 431.3 kB / 0.5231 GB, free: 97.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005896/1.233, allocations: 0.904 MB / 0.524 GB, free: 97.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005296/1.233, allocations: 61.22 kB / 0.5241 GB, free: 96.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/1.237, allocations: 2.307 MB / 0.5263 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.237, allocations: 8 kB / 0.5263 GB, free: 94.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.255, allocations: 7.504 MB / 0.5337 GB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007772/1.256, allocations: 333.3 kB / 0.534 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00084/1.257, allocations: 49.56 kB / 0.534 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.259, allocations: 147 kB / 0.5342 GB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004233/1.259, allocations: 164.2 kB / 0.5343 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/1.26, allocations: 72.92 kB / 0.5344 GB, free: 86.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003279/1.263, allocations: 1.791 MB / 0.5361 GB, free: 84.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.263, allocations: 0 / 0.5361 GB, free: 84.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005584/1.269, allocations: 1.018 MB / 0.5371 GB, free: 83.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01865/1.287, allocations: 8.197 MB / 0.5451 GB, free: 74.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01461/1.302, allocations: 6.142 MB / 0.5511 GB, free: 68.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.302, allocations: 0 / 0.5511 GB, free: 68.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007055/1.309, allocations: 2.601 MB / 0.5537 GB, free: 66.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/1.312, allocations: 390.4 kB / 0.554 GB, free: 65.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0747/1.387, allocations: 34.25 MB / 0.5875 GB, free: 28.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006699/1.394, allocations: 3.597 MB / 0.591 GB, free: 25.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005036/1.399, allocations: 2.014 MB / 0.593 GB, free: 23.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/1.399, allocations: 0 / 0.593 GB, free: 23.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.893/6.292, allocations: 139.7 MB / 0.7294 GB, free: 50.14 MB / 426.7 MB