Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003516, allocations: 12 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.1125/0.4036, allocations: 70.32 MB / 378.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04862/0.4523, allocations: 16.65 MB / 395.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01586/0.4682, allocations: 371.1 kB / 395.9 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01367/0.482, allocations: 3.616 MB / 399.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03911/0.5211, allocations: 9.9 MB / 409.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007478/0.5287, allocations: 1.213 MB / 410.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.5391, allocations: 3.952 MB / 414.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3165/0.8557, allocations: 9.414 MB / 424 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.86, allocations: 1.651 MB / 425.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004893/0.8649, allocations: 2.019 MB / 427.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001754/0.8667, allocations: 220.6 kB / 427.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004863/0.8716, allocations: 1.436 MB / 429.3 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004308/0.876, allocations: 2.615 MB / 431.9 MB, free: 4.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00305/0.8791, allocations: 1.343 MB / 433.3 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.8934, allocations: 9.575 MB / 442.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.8935, allocations: 2.078 kB / 442.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.8935, allocations: 0 / 442.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005009/0.894, allocations: 0 / 442.8 MB, free: 2.469 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.02869/0.9227, allocations: 7.192 MB / 450 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.9228, allocations: 8.156 kB / 450 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00529/0.9281, allocations: 1.133 MB / 451.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.9472, allocations: 2.72 MB / 453.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/0.9623, allocations: 4.782 MB / 458.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/0.9629, allocations: 434.1 kB / 459.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/0.9669, allocations: 0.6562 MB / 459.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06134/1.028, allocations: 16.9 MB / 476.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003697/1.029, allocations: 65.2 kB / 476.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002663/1.031, allocations: 265.4 kB / 477 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007261/1.039, allocations: 2.548 MB / 479.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05087/1.09, allocations: 14.6 MB / 494.1 MB, free: 2.953 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1308/1.22, allocations: 63.75 MB / 0.5448 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03882/1.259, allocations: 7.336 MB / 0.552 GB, free: 8.301 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04446/1.304, allocations: 16.01 MB / 0.5676 GB, free: 7.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.267e-05/1.304, allocations: 65.31 kB / 0.5677 GB, free: 7.914 MB / 458.7 MB Notification: Performance of pre-optimization done (n=248): time 6.882e-06/1.304, allocations: 0 / 0.5677 GB, free: 7.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.4089/1.713, allocations: 27.83 MB / 0.5948 GB, free: 179.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001507/1.715, allocations: 1.621 MB / 0.5964 GB, free: 177.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/1.728, allocations: 6.206 MB / 0.6025 GB, free: 175.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009292/1.729, allocations: 66.94 kB / 0.6026 GB, free: 175.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004714/1.734, allocations: 4.823 MB / 0.6073 GB, free: 171.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002183/1.736, allocations: 1.036 MB / 0.6083 GB, free: 170.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/1.738, allocations: 175.8 kB / 0.6084 GB, free: 170.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007447/1.738, allocations: 0.6858 MB / 0.6091 GB, free: 170.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009219/1.748, allocations: 3.364 MB / 0.6124 GB, free: 168.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01227/1.76, allocations: 8.75 MB / 0.6209 GB, free: 157.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.772, allocations: 5.282 MB / 0.6261 GB, free: 152.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001699/1.772, allocations: 59.94 kB / 0.6262 GB, free: 152.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.05089/1.823, allocations: 14.72 MB / 0.6405 GB, free: 138.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/1.824, allocations: 92.03 kB / 0.6406 GB, free: 138.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03314/1.857, allocations: 6.76 MB / 0.6472 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02395/1.881, allocations: 3.257 MB / 0.6504 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/1.893, allocations: 2.098 MB / 0.6524 GB, free: 126.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02924/1.923, allocations: 16.27 MB / 0.6683 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/1.934, allocations: 0.5806 MB / 0.6689 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/1.936, allocations: 0.5321 MB / 0.6694 GB, free: 108.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1099): * Single equations (assignments): 1083 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008533/1.944, allocations: 3.217 MB / 0.6726 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/1.946, allocations: 0.5171 MB / 0.6731 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02102/1.967, allocations: 6.52 MB / 0.6794 GB, free: 97.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01891/1.986, allocations: 5.616 MB / 0.6849 GB, free: 92.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01728/2.003, allocations: 5.447 MB / 0.6902 GB, free: 86.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.379e-05/2.003, allocations: 11.97 kB / 0.6903 GB, free: 86.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05104/2.054, allocations: 17.25 MB / 0.7071 GB, free: 69.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-05/2.054, allocations: 12 kB / 0.7071 GB, free: 69.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004742/2.059, allocations: 499.8 kB / 0.7076 GB, free: 68.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/2.069, allocations: 1.846 MB / 0.7094 GB, free: 66.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000874/2.07, allocations: 67.97 kB / 0.7095 GB, free: 66.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/2.09, allocations: 9.988 MB / 0.7192 GB, free: 56.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001276/2.091, allocations: 1.483 MB / 0.7207 GB, free: 54.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02823/2.119, allocations: 9.756 MB / 0.7302 GB, free: 44.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/2.122, allocations: 0.584 MB / 0.7308 GB, free: 44.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002555/2.124, allocations: 67.27 kB / 0.7308 GB, free: 44.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005887/2.13, allocations: 211.7 kB / 0.731 GB, free: 43.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/2.131, allocations: 189.5 kB / 0.7312 GB, free: 43.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00035/2.132, allocations: 89.55 kB / 0.7313 GB, free: 43.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01042/2.142, allocations: 3.914 MB / 0.7351 GB, free: 39.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.142, allocations: 0 / 0.7351 GB, free: 39.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01292/2.155, allocations: 1.706 MB / 0.7368 GB, free: 38.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * 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 (221): * Single equations (assignments): 211 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0288/2.184, allocations: 10.41 MB / 0.7469 GB, free: 27.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02367/2.208, allocations: 9.02 MB / 0.7558 GB, free: 18.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/2.208, allocations: 4.125 kB / 0.7558 GB, free: 18.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009968/2.218, allocations: 3.346 MB / 0.759 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007277/2.225, allocations: 0.7645 MB / 0.7598 GB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3559/2.581, allocations: 33.34 MB / 0.7923 GB, free: 157.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01295/2.594, allocations: 4.967 MB / 0.7972 GB, free: 155.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01458/2.609, allocations: 2.892 MB / 0.8 GB, free: 155.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008603/2.618, allocations: 3.119 MB / 0.8031 GB, free: 152.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.913e-06/2.618, allocations: 3.938 kB / 0.8031 GB, free: 152.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3616/2.979, allocations: 124.4 MB / 0.9245 GB, free: 32.27 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/2.98, allocations: 239.2 kB / 0.9248 GB, free: 32.03 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/10.79, allocations: 0 / 0.9248 GB, free: 32.03 MB / 458.7 MB