Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.579/1.579, allocations: 171.2 MB / 186.7 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003596, allocations: 11.98 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06939/0.06978, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.317/0.3868, allocations: 70.31 MB / 342.2 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04527/0.4322, allocations: 16.63 MB / 358.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0198/0.452, allocations: 367 kB / 359.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.4663, allocations: 3.624 MB / 362.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03476/0.5011, allocations: 9.897 MB / 372.7 MB, free: 8.457 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005952/0.5071, allocations: 1.225 MB / 374 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008925/0.516, allocations: 3.96 MB / 377.9 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01769/0.5338, allocations: 9.419 MB / 387.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003729/0.5375, allocations: 1.659 MB / 389 MB, free: 8.098 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.5416, allocations: 2.017 MB / 391 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.5428, allocations: 223.9 kB / 391.2 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.5468, allocations: 1.42 MB / 392.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004049/0.5509, allocations: 2.615 MB / 395.3 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.5533, allocations: 1.353 MB / 396.6 MB, free: 460 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.5678, allocations: 9.555 MB / 406.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.71e-06/0.5679, allocations: 0 / 406.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.371e-06/0.5679, allocations: 0 / 406.2 MB, free: 6.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002502/0.5682, allocations: 0 / 406.2 MB, free: 6.871 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.01986/0.588, allocations: 7.191 MB / 413.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5881, allocations: 11.97 kB / 413.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/0.6081, allocations: 2.705 MB / 416.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/0.6287, allocations: 4.779 MB / 420.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008306/0.6295, allocations: 423.1 kB / 421.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004024/0.6336, allocations: 0.6556 MB / 421.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06136/0.695, allocations: 16.94 MB / 438.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002881/0.6953, allocations: 67.36 kB / 438.9 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/0.6969, allocations: 259.8 kB / 439.2 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005238/0.7022, allocations: 2.557 MB / 441.8 MB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4115/1.114, allocations: 14.59 MB / 456.3 MB, free: 118.9 MB / 362.8 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.08865/1.202, allocations: 63.76 MB / 0.5079 GB, free: 61 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02495/1.227, allocations: 7.32 MB / 0.5151 GB, free: 53.53 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02915/1.257, allocations: 15.99 MB / 0.5307 GB, free: 37.21 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/1.257, allocations: 60.5 kB / 0.5307 GB, free: 37.14 MB / 362.8 MB Notification: Performance of pre-optimization done (n=248): time 7.185e-06/1.257, allocations: 0 / 0.5307 GB, free: 37.14 MB / 362.8 MB Notification: Performance of matching and sorting (n=264): time 0.08584/1.343, allocations: 27.84 MB / 0.5579 GB, free: 8.938 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00118/1.344, allocations: 1.61 MB / 0.5595 GB, free: 7.16 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.355, allocations: 6.21 MB / 0.5656 GB, free: 0.9297 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000584/1.355, allocations: 67.38 kB / 0.5656 GB, free: 0.8594 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2003/1.556, allocations: 4.658 MB / 0.5702 GB, free: 112.2 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/1.557, allocations: 1.037 MB / 0.5712 GB, free: 111.6 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006899/1.558, allocations: 175.2 kB / 0.5713 GB, free: 111.6 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0006162/1.558, allocations: 0.6858 MB / 0.572 GB, free: 111.3 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007948/1.566, allocations: 3.34 MB / 0.5753 GB, free: 110.5 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.577, allocations: 8.761 MB / 0.5838 GB, free: 102.1 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.588, allocations: 5.268 MB / 0.589 GB, free: 100.1 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002308/1.588, allocations: 51.31 kB / 0.589 GB, free: 100.1 MB / 362.8 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.03261/1.621, allocations: 13.62 MB / 0.6023 GB, free: 94.95 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/1.621, allocations: 95.98 kB / 0.6024 GB, free: 94.95 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01404/1.635, allocations: 5.842 MB / 0.6081 GB, free: 92.5 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008007/1.643, allocations: 2.267 MB / 0.6103 GB, free: 90.89 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008366/1.651, allocations: 2.09 MB / 0.6124 GB, free: 88.86 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/1.669, allocations: 14.55 MB / 0.6266 GB, free: 73.52 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008763/1.678, allocations: 0.5836 MB / 0.6272 GB, free: 72.93 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/1.68, allocations: 0.5329 MB / 0.6277 GB, free: 72.4 MB / 362.8 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): 2 * Torn equation systems: 6 * 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: 0 * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.006794/1.686, allocations: 3.222 MB / 0.6308 GB, free: 69.17 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.687, allocations: 0.5128 MB / 0.6313 GB, free: 68.65 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.703, allocations: 6.516 MB / 0.6377 GB, free: 62.04 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01306/1.716, allocations: 5.617 MB / 0.6432 GB, free: 56.34 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01246/1.728, allocations: 5.447 MB / 0.6485 GB, free: 50.8 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.504e-05/1.728, allocations: 15.95 kB / 0.6485 GB, free: 50.78 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03795/1.766, allocations: 17.26 MB / 0.6654 GB, free: 33.35 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.962e-05/1.767, allocations: 12.22 kB / 0.6654 GB, free: 33.34 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/1.77, allocations: 491.2 kB / 0.6658 GB, free: 32.86 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006829/1.776, allocations: 1.854 MB / 0.6677 GB, free: 30.98 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005937/1.777, allocations: 71.97 kB / 0.6677 GB, free: 30.91 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/1.791, allocations: 9.975 MB / 0.6775 GB, free: 20.54 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001012/1.792, allocations: 1.481 MB / 0.6789 GB, free: 18.91 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/1.812, allocations: 9.749 MB / 0.6884 GB, free: 8.957 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.813, allocations: 0.5917 MB / 0.689 GB, free: 8.34 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/1.814, allocations: 59.98 kB / 0.6891 GB, free: 8.281 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00374/1.818, allocations: 221.8 kB / 0.6893 GB, free: 8.066 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007568/1.819, allocations: 185.5 kB / 0.6895 GB, free: 7.883 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003163/1.819, allocations: 84.09 kB / 0.6895 GB, free: 7.801 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.007504/1.827, allocations: 3.918 MB / 0.6934 GB, free: 3.883 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.552e-06/1.827, allocations: 0 / 0.6934 GB, free: 3.883 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.009596/1.836, allocations: 1.695 MB / 0.695 GB, free: 2.199 MB / 362.8 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.001158/1.838, allocations: 270.9 kB / 0.6953 GB, free: 1.938 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.218/2.056, allocations: 8.959 MB / 0.704 GB, free: 123.1 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/2.056, allocations: 1.406 kB / 0.704 GB, free: 123.1 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007691/2.063, allocations: 3.355 MB / 0.7073 GB, free: 122 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/2.068, allocations: 0.7713 MB / 0.7081 GB, free: 121.7 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/2.101, allocations: 18.61 MB / 0.7262 GB, free: 112 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009855/2.111, allocations: 4.969 MB / 0.7311 GB, free: 110.3 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/2.113, allocations: 445.2 kB / 0.7315 GB, free: 110.3 MB / 378.8 MB Notification: Performance of SimCode: time 1.811e-06/2.113, allocations: 0 / 0.7315 GB, free: 110.3 MB / 378.8 MB Notification: Performance of Templates: time 0.7685/2.882, allocations: 277.2 MB / 1.002 GB, free: 119.2 MB / 394.8 MB