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.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.003/2.003, allocations: 209.2 MB / 224.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004238, allocations: 12 kB / 282.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3301, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.04587/0.376, allocations: 31.49 MB / 362.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02201/0.3981, allocations: 7.799 MB / 370.6 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00627/0.4044, allocations: 147.7 kB / 370.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005925/0.4104, allocations: 1.622 MB / 372.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01775/0.4282, allocations: 4.672 MB / 377 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.4311, allocations: 483.2 kB / 377.5 MB, free: 212 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005383/0.4365, allocations: 2.168 MB / 379.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005898/0.4425, allocations: 3.031 MB / 382.7 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.4443, allocations: 0.9731 MB / 383.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.4471, allocations: 1.359 MB / 385 MB, free: 8.609 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007791/0.4479, allocations: 148 kB / 385.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.4504, allocations: 0.8153 MB / 386 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.4524, allocations: 1.504 MB / 387.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.4535, allocations: 0.8349 MB / 388.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.462, allocations: 5.398 MB / 393.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4621, allocations: 0 / 393.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4621, allocations: 4 kB / 393.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001971/0.4623, allocations: 0 / 393.7 MB, free: 15.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01141/0.4738, allocations: 3.947 MB / 397.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4738, allocations: 8.031 kB / 397.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002165/0.476, allocations: 0.7822 MB / 398.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02275/0.4988, allocations: 3.765 MB / 402.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00685/0.5057, allocations: 2.361 MB / 404.6 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.5059, allocations: 225.5 kB / 404.8 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.5072, allocations: 295.7 kB / 405.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02758/0.5347, allocations: 11.42 MB / 416.5 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001396/0.5349, allocations: 31.66 kB / 416.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006859/0.5356, allocations: 135.8 kB / 416.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007506/0.5432, allocations: 2.652 MB / 419.3 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/0.5746, allocations: 10.54 MB / 429.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08063/0.6553, allocations: 37.5 MB / 467.3 MB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/0.6701, allocations: 4.556 MB / 471.9 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.672, allocations: 1.323 MB / 473.2 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.6721, allocations: 52.56 kB / 473.3 MB, free: 14.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 6.021e-06/0.6721, allocations: 4 kB / 473.3 MB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.3323/1.004, allocations: 18.14 MB / 491.4 MB, free: 128.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/1.004, allocations: 75.41 kB / 491.5 MB, free: 128.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005483/1.01, allocations: 2.873 MB / 494.4 MB, free: 127 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005149/1.011, allocations: 57.08 kB / 494.4 MB, free: 127 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002038/1.013, allocations: 2.831 MB / 497.3 MB, free: 124.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.014, allocations: 0.9188 MB / 498.2 MB, free: 124.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/1.014, allocations: 108.9 kB / 498.3 MB, free: 124 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003263/1.015, allocations: 0.5425 MB / 498.8 MB, free: 123.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005303/1.02, allocations: 2.303 MB / 0.4894 GB, free: 122.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007317/1.027, allocations: 5.256 MB / 0.4945 GB, free: 118.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007429/1.035, allocations: 3.468 MB / 0.4979 GB, free: 116.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.035, allocations: 30.69 kB / 0.4979 GB, free: 116.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02094/1.056, allocations: 8.225 MB / 0.506 GB, free: 114 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.494e-05/1.056, allocations: 50.44 kB / 0.506 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/1.056, allocations: 101.4 kB / 0.5061 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/1.061, allocations: 0.9505 MB / 0.507 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007227/1.068, allocations: 1.237 MB / 0.5082 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009384/1.078, allocations: 4.922 MB / 0.5131 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/1.083, allocations: 304.9 kB / 0.5133 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008707/1.084, allocations: 317 kB / 0.5136 GB, free: 108.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 30 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (662): * Single equations (assignments): 655 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004844/1.089, allocations: 2.18 MB / 0.5158 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000729/1.089, allocations: 280.3 kB / 0.516 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.102, allocations: 5.119 MB / 0.521 GB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.884e-05/1.102, allocations: 47.48 kB / 0.5211 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.102, allocations: 3.938 kB / 0.5211 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-05/1.102, allocations: 11.95 kB / 0.5211 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02862/1.131, allocations: 11.95 MB / 0.5328 GB, free: 89.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.131, allocations: 8 kB / 0.5328 GB, free: 89.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/1.134, allocations: 400.2 kB / 0.5332 GB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004163/1.138, allocations: 0.777 MB / 0.5339 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/1.139, allocations: 53.23 kB / 0.534 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007978/1.147, allocations: 4.203 MB / 0.5381 GB, free: 83.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.147, allocations: 15.94 kB / 0.5381 GB, free: 83.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.163, allocations: 7.605 MB / 0.5455 GB, free: 75.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.166, allocations: 0.6809 MB / 0.5462 GB, free: 74.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006543/1.166, allocations: 51.98 kB / 0.5462 GB, free: 74.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.168, allocations: 149.6 kB / 0.5464 GB, free: 74.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004112/1.169, allocations: 148.9 kB / 0.5465 GB, free: 74.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.169, allocations: 76.77 kB / 0.5466 GB, free: 74.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003196/1.172, allocations: 1.771 MB / 0.5483 GB, free: 72.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.172, allocations: 0 / 0.5483 GB, free: 72.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00567/1.178, allocations: 1.014 MB / 0.5493 GB, free: 71.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01697/1.195, allocations: 8.278 MB / 0.5574 GB, free: 63.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01146/1.207, allocations: 5.604 MB / 0.5629 GB, free: 57.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.207, allocations: 4.812 kB / 0.5629 GB, free: 57.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004303/1.211, allocations: 2.139 MB / 0.565 GB, free: 55.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/1.213, allocations: 355.5 kB / 0.5653 GB, free: 55.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06778/1.281, allocations: 33.17 MB / 0.5977 GB, free: 19.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005127/1.286, allocations: 3.534 MB / 0.6011 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004154/1.291, allocations: 1.913 MB / 0.603 GB, free: 13.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.291, allocations: 0 / 0.603 GB, free: 13.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.351/5.641, allocations: 98.54 MB / 0.6992 GB, free: 78.5 MB / 426.7 MB