Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 234.9 MB / 250.4 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 8 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2981, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02033/0.3185, allocations: 14.79 MB / 384.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008886/0.3274, allocations: 3.735 MB / 387.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.3293, allocations: 71.75 kB / 387.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.331, allocations: 0.6883 MB / 388.6 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.337, allocations: 1.921 MB / 390.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.338, allocations: 243.6 kB / 390.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009549/0.3389, allocations: 0.4933 MB / 391.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.3408, allocations: 1.043 MB / 392.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.3411, allocations: 243 kB / 392.5 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007912/0.3419, allocations: 0.4909 MB / 393 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.3421, allocations: 56 kB / 393 MB, free: 2.844 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.343, allocations: 387.4 kB / 393.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004912/0.3435, allocations: 411 kB / 393.8 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.3437, allocations: 209.1 kB / 394 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.3454, allocations: 1.322 MB / 395.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.3454, allocations: 4 kB / 395.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3454, allocations: 0 / 395.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3454, allocations: 0 / 395.3 MB, free: 0.5234 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003839/0.3493, allocations: 1.439 MB / 396.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3493, allocations: 8.031 kB / 396.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.3496, allocations: 182.2 kB / 397 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/0.3505, allocations: 162.3 kB / 397.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3518, allocations: 0.6112 MB / 397.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.3518, allocations: 65.75 kB / 397.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.3521, allocations: 83.95 kB / 397.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007465/0.3596, allocations: 2.703 MB / 400.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.3596, allocations: 7.938 kB / 400.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.3598, allocations: 39.97 kB / 400.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006902/0.3605, allocations: 373.7 kB / 401 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007893/0.3684, allocations: 2.408 MB / 403.4 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.3798, allocations: 8.178 MB / 411.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005938/0.3858, allocations: 0.9913 MB / 412.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.3878, allocations: 1.742 MB / 414.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3879, allocations: 30.56 kB / 414.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.3879, allocations: 0 / 414.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.01781/0.4057, allocations: 2.994 MB / 417.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.4058, allocations: 63.89 kB / 417.4 MB, free: 9.637 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.4072, allocations: 0.8676 MB / 418.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.4072, allocations: 37.7 kB / 418.3 MB, free: 8.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.4078, allocations: 0.6784 MB / 419 MB, free: 8.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.408, allocations: 213.2 kB / 419.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.408, allocations: 24 kB / 419.2 MB, free: 7.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4082, allocations: 362.8 kB / 419.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/0.409, allocations: 358.4 kB / 419.9 MB, free: 7.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.4103, allocations: 0.9732 MB / 420.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4114, allocations: 0.5642 MB / 421.5 MB, free: 5.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.4115, allocations: 12 kB / 421.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002697/0.4142, allocations: 1.319 MB / 422.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.4142, allocations: 16.19 kB / 422.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/0.4143, allocations: 24 kB / 422.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.963e-05/0.4143, allocations: 32 kB / 422.9 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.4162, allocations: 315.5 kB / 423.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.4173, allocations: 1.36 MB / 424.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008405/0.4181, allocations: 55.89 kB / 424.6 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4183, allocations: 64 kB / 424.6 MB, free: 1.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008586/0.4191, allocations: 0.4959 MB / 425.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.4193, allocations: 86.95 kB / 425.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.4195, allocations: 108.4 kB / 425.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.4196, allocations: 8 kB / 425.3 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4196, allocations: 0 / 425.3 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.4196, allocations: 3.984 kB / 425.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.4243, allocations: 2.16 MB / 427.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4244, allocations: 8.125 kB / 427.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.4252, allocations: 131.8 kB / 427.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.4253, allocations: 19.88 kB / 427.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4253, allocations: 16 kB / 427.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.4263, allocations: 1.329 MB / 429 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.4264, allocations: 8 kB / 429 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4278, allocations: 0.8183 MB / 429.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.4282, allocations: 211.9 kB / 430 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4284, allocations: 20 kB / 430.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.4289, allocations: 16 kB / 430.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.429, allocations: 51.83 kB / 430.1 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.429, allocations: 24 kB / 430.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009994/0.43, allocations: 0.5771 MB / 430.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.43, allocations: 0 / 430.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001171/0.4312, allocations: 216 kB / 430.9 MB, free: 11.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.4329, allocations: 1.401 MB / 432.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.4349, allocations: 0.8474 MB / 433.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4349, allocations: 0 / 433.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.4357, allocations: 288.4 kB / 433.5 MB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.4365, allocations: 103.8 kB / 433.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.4494, allocations: 6.677 MB / 440.2 MB, free: 1.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.4506, allocations: 1.244 MB / 441.5 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008113/0.4514, allocations: 395.4 kB / 441.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4515, allocations: 0 / 441.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/3.168, allocations: 21.32 MB / 463.2 MB, free: 10.3 MB / 394.7 MB