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.599/1.599, allocations: 171.2 MB / 184.2 MB, free: 12.05 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.603e-05, allocations: 0 / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2077, allocations: 38.77 MB / 267.6 MB, free: 9.449 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.544, allocations: 100.6 MB / 368.2 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5443, allocations: 89.12 kB / 368.3 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4477/0.9919, allocations: 127.4 MB / 495.7 MB, free: 6.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.226e-06/0.992, allocations: 0 / 495.7 MB, free: 6.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000445/0.9924, allocations: 147.9 kB / 495.8 MB, free: 6.469 MB / 362.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.461/1.453, allocations: 7.041 MB / 0.4911 GB, free: 48.61 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.453, allocations: 10.59 kB / 0.4911 GB, free: 48.61 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/1.471, allocations: 2.896 MB / 0.4939 GB, free: 48.16 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/1.493, allocations: 8.142 MB / 0.5019 GB, free: 47.75 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005632/1.494, allocations: 0.5173 MB / 0.5024 GB, free: 47.73 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002946/1.497, allocations: 0.6988 MB / 0.503 GB, free: 47.72 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04186/1.539, allocations: 17.21 MB / 0.5198 GB, free: 44.05 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000401/1.539, allocations: 83.83 kB / 0.5199 GB, free: 44.04 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002537/1.542, allocations: 336 kB / 0.5202 GB, free: 44.04 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/1.545, allocations: 1.49 MB / 0.5217 GB, free: 44.03 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03563/1.58, allocations: 14.38 MB / 0.5357 GB, free: 43.96 MB / 362.8 MB Warning: The model contains alias variables with conflicting start and/or 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.1041/1.684, allocations: 74.71 MB / 0.6087 GB, free: 23.57 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02516/1.71, allocations: 7.21 MB / 0.6157 GB, free: 17.69 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00587/1.716, allocations: 3.659 MB / 0.6193 GB, free: 14.31 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03542/1.751, allocations: 15.71 MB / 0.6347 GB, free: 0.6055 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.808e-05/1.751, allocations: 63.91 kB / 0.6347 GB, free: 0.5391 MB / 394.8 MB Notification: Performance of pre-optimization done (n=248): time 7.261e-06/1.751, allocations: 0 / 0.6347 GB, free: 0.5391 MB / 394.8 MB Notification: Performance of matching and sorting (n=264): time 0.3247/2.076, allocations: 24.21 MB / 0.6584 GB, free: 77.3 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001114/2.077, allocations: 1.604 MB / 0.6599 GB, free: 75.77 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/2.088, allocations: 5.15 MB / 0.665 GB, free: 75.26 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005948/2.089, allocations: 64.58 kB / 0.665 GB, free: 75.23 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003334/2.092, allocations: 4.685 MB / 0.6696 GB, free: 72.76 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/2.093, allocations: 1.046 MB / 0.6706 GB, free: 72.18 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/2.094, allocations: 173.3 kB / 0.6708 GB, free: 72.18 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000836/2.095, allocations: 0.6857 MB / 0.6714 GB, free: 71.85 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006829/2.102, allocations: 3.202 MB / 0.6746 GB, free: 71.82 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009665/2.112, allocations: 8.598 MB / 0.683 GB, free: 64.86 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00985/2.122, allocations: 5.186 MB / 0.688 GB, free: 64.82 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001846/2.122, allocations: 56.06 kB / 0.6881 GB, free: 64.82 MB / 394.8 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03548/2.157, allocations: 13.19 MB / 0.701 GB, free: 63.68 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.00015/2.158, allocations: 89.22 kB / 0.7011 GB, free: 63.68 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01247/2.17, allocations: 5.562 MB / 0.7065 GB, free: 62.03 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00707/2.177, allocations: 2.022 MB / 0.7085 GB, free: 61.7 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009096/2.186, allocations: 2.117 MB / 0.7105 GB, free: 61.45 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/2.202, allocations: 13.7 MB / 0.7239 GB, free: 51.6 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009638/2.212, allocations: 0.573 MB / 0.7245 GB, free: 51.44 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/2.214, allocations: 0.5273 MB / 0.725 GB, free: 51.37 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1105): * Single equations (assignments): 1091 * Array equations: 6 * 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 {1} * 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.002439/2.217, allocations: 0.7939 MB / 0.7258 GB, free: 50.73 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/2.218, allocations: 0.5188 MB / 0.7263 GB, free: 50.44 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/2.233, allocations: 6.38 MB / 0.7325 GB, free: 46.98 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01254/2.245, allocations: 5.466 MB / 0.7378 GB, free: 42.5 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01321/2.259, allocations: 5.856 MB / 0.7436 GB, free: 37.64 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/2.259, allocations: 10.59 kB / 0.7436 GB, free: 37.64 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04192/2.301, allocations: 17.06 MB / 0.7602 GB, free: 23.98 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.551e-05/2.301, allocations: 15.17 kB / 0.7602 GB, free: 23.96 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003371/2.304, allocations: 0.4958 MB / 0.7607 GB, free: 23.58 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01001/2.314, allocations: 1.787 MB / 0.7625 GB, free: 22.4 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/2.316, allocations: 67.17 kB / 0.7625 GB, free: 22.34 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03322/2.349, allocations: 9.742 MB / 0.7721 GB, free: 13.55 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2577/2.607, allocations: 1.466 MB / 0.7735 GB, free: 67.78 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/2.627, allocations: 10.74 MB / 0.784 GB, free: 65.27 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/2.629, allocations: 0.5662 MB / 0.7845 GB, free: 65.18 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/2.63, allocations: 61.36 kB / 0.7846 GB, free: 65.18 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00413/2.635, allocations: 217 kB / 0.7848 GB, free: 65.18 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009348/2.636, allocations: 192.7 kB / 0.785 GB, free: 65.17 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004485/2.636, allocations: 85.42 kB / 0.7851 GB, free: 65.17 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.008702/2.645, allocations: 3.587 MB / 0.7886 GB, free: 64.92 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.262e-06/2.645, allocations: 1.125 kB / 0.7886 GB, free: 64.92 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01074/2.656, allocations: 1.674 MB / 0.7902 GB, free: 64.92 MB / 394.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 () * 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.001238/2.657, allocations: 266.5 kB / 0.7905 GB, free: 64.83 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01715/2.674, allocations: 8.65 MB / 0.7989 GB, free: 64.03 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/2.674, allocations: 3.969 kB / 0.7989 GB, free: 64.03 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006936/2.681, allocations: 3.314 MB / 0.8021 GB, free: 63.36 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005158/2.686, allocations: 0.7651 MB / 0.8029 GB, free: 63.33 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03101/2.717, allocations: 13.3 MB / 0.8159 GB, free: 60.55 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01077/2.728, allocations: 4.966 MB / 0.8207 GB, free: 59.7 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/2.73, allocations: 432.8 kB / 0.8211 GB, free: 59.69 MB / 394.8 MB Notification: Performance of SimCode: time 2.098e-06/2.73, allocations: 0 / 0.8211 GB, free: 59.69 MB / 394.8 MB Notification: Performance of Templates: time 0.8344/3.565, allocations: 276.7 MB / 1.091 GB, free: 88.37 MB / 410.8 MB