Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002072/0.002072, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 255.2 MB, free: 15.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2304/0.2304, allocations: 46.88 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 85.39 kB / 0.4924 GB, free: 26.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1223, allocations: 65.98 MB / 0.5568 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.03156/0.1538, allocations: 26.84 MB / 0.583 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.1729, allocations: 8.464 MB / 0.5913 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006179/0.1791, allocations: 235.2 kB / 0.5915 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02575/0.2048, allocations: 13.66 MB / 0.6049 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.2157, allocations: 3.832 MB / 0.6086 GB, free: 3.355 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2772/0.4928, allocations: 5.088 MB / 0.6136 GB, free: 4.746 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02083/0.5137, allocations: 12.72 MB / 0.626 GB, free: 4.684 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02244/0.5361, allocations: 14.36 MB / 0.64 GB, free: 18.51 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009978/0.5461, allocations: 5.26 MB / 0.6452 GB, free: 16.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.5581, allocations: 7.417 MB / 0.6524 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005881/0.564, allocations: 1.395 MB / 0.6538 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008782/0.5728, allocations: 2.62 MB / 0.6563 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01219/0.585, allocations: 6.685 MB / 0.6628 GB, free: 8.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01667/0.6016, allocations: 7.17 MB / 0.6698 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03354/0.6352, allocations: 23.08 MB / 0.6924 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.6352, allocations: 0 / 0.6924 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6352, allocations: 0 / 0.6924 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008098/0.636, allocations: 0 / 0.6924 GB, free: 10.5 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4224 * Number of variables: 4224 Notification: Performance of Generate backend data structure: time 0.04283/0.6788, allocations: 14.75 MB / 0.7068 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6789, allocations: 8.031 kB / 0.7068 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04313/0.722, allocations: 5.427 MB / 0.7121 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02072/0.7427, allocations: 8.394 MB / 0.7203 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008672/0.7436, allocations: 0.8394 MB / 0.7211 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00569/0.7493, allocations: 1.47 MB / 0.7226 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06607/0.8153, allocations: 29.31 MB / 0.7512 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005743/0.8159, allocations: 106.6 kB / 0.7513 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003835/0.8198, allocations: 0.5053 MB / 0.7518 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00629/0.826, allocations: 3.723 MB / 0.7554 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05684/0.8829, allocations: 24.24 MB / 0.7791 GB, free: 1.789 MB / 0.5762 GB 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.7403/1.623, allocations: 104.1 MB / 0.8807 GB, free: 155.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03501/1.658, allocations: 11.62 MB / 0.8921 GB, free: 155.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006922/1.665, allocations: 5.671 MB / 0.8976 GB, free: 155.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003239/1.668, allocations: 4.813 MB / 0.9023 GB, free: 151 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.077e-05/1.668, allocations: 80.03 kB / 0.9024 GB, free: 150.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=390): time 6.733e-06/1.668, allocations: 1.422 kB / 0.9024 GB, free: 150.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=522): time 0.3689/2.037, allocations: 125 MB / 1.024 GB, free: 49.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02893/2.066, allocations: 25.33 MB / 1.049 GB, free: 23.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01292/2.079, allocations: 9.159 MB / 1.058 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/2.081, allocations: 101.6 kB / 1.058 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.004606/2.085, allocations: 8.498 MB / 1.066 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.003054/2.088, allocations: 2.132 MB / 1.069 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006136/2.094, allocations: 3.309 MB / 1.072 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/2.094, allocations: 301.1 kB / 1.072 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01655/2.111, allocations: 9.561 MB / 1.081 GB, free: 7.426 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02781/2.139, allocations: 18.38 MB / 1.099 GB, free: 0.8945 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3531/2.492, allocations: 29.04 MB / 1.128 GB, free: 244.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003136/2.492, allocations: 90.94 kB / 1.128 GB, free: 244.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2046) (initialization): time 0.1083/2.601, allocations: 41.35 MB / 1.168 GB, free: 234.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/2.601, allocations: 137.9 kB / 1.168 GB, free: 234.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07277/2.674, allocations: 28.61 MB / 1.196 GB, free: 223.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06515/2.739, allocations: 16.7 MB / 1.213 GB, free: 211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/2.751, allocations: 3.696 MB / 1.216 GB, free: 207.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07874/2.829, allocations: 68.13 MB / 1.283 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01855/2.848, allocations: 1.793 MB / 1.284 GB, free: 136.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003575/2.851, allocations: 0.9304 MB / 1.285 GB, free: 135.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1396 * Number of states: 0 () * Number of discrete variables: 88 (freeMotionScalarInit1.arrow.arrow.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,rs3.arrow.twoHeadedArrow,rs3.arrow.headAtOrigin,rs2.arrow.twoHeadedArrow,rs2.arrow.headAtOrigin,rs1.arrow.twoHeadedArrow,rs1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1867): * Single equations (assignments): 1838 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (4,100.0%), (4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 6 systems {1, 1, 4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,33,82.8%), (1,3,100.0%), (5,20,88.0%), (8,23,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01328/2.865, allocations: 5.781 MB / 1.291 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002576/2.867, allocations: 0.8653 MB / 1.292 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/2.872, allocations: 1.535 MB / 1.293 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06719/2.94, allocations: 27.95 MB / 1.321 GB, free: 99.94 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001463/2.94, allocations: 28 kB / 1.321 GB, free: 99.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001438/2.94, allocations: 27.91 kB / 1.321 GB, free: 99.89 MB / 0.7169 GB 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 postOpt removeSimpleEquations (simulation): time 0.1213/3.061, allocations: 62.14 MB / 1.381 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.996e-05/3.061, allocations: 8.312 kB / 1.381 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004676/3.066, allocations: 0.9203 MB / 1.382 GB, free: 36.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4288/3.495, allocations: 16.66 MB / 1.399 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001599/3.496, allocations: 170.6 kB / 1.399 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0848/3.581, allocations: 73.84 MB / 1.471 GB, free: 203.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03027/3.611, allocations: 25.09 MB / 1.495 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08/3.691, allocations: 40.92 MB / 1.535 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/3.695, allocations: 0.9579 MB / 1.536 GB, free: 138.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003444/3.698, allocations: 123.9 kB / 1.536 GB, free: 138.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009312/3.707, allocations: 0.8852 MB / 1.537 GB, free: 137.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002815/3.71, allocations: 437.2 kB / 1.538 GB, free: 137.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00075/3.711, allocations: 163.3 kB / 1.538 GB, free: 137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.009116/3.72, allocations: 5.643 MB / 1.543 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/3.72, allocations: 0 / 1.543 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01849/3.738, allocations: 4.436 MB / 1.548 GB, free: 126.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (357): * Single equations (assignments): 342 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(4,100.0%), (4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 3 systems {3, 8, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(5,17,88.0%), (3,3,100.0%), (8,30,82.8%), (7,12,93.9%), (9,19,50.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001733/3.74, allocations: 268.2 kB / 1.548 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.03567/3.776, allocations: 23.61 MB / 1.571 GB, free: 103 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/3.776, allocations: 8 kB / 1.571 GB, free: 103 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01926/3.795, allocations: 11.18 MB / 1.582 GB, free: 91.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01213/3.807, allocations: 1.464 MB / 1.583 GB, free: 90.29 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06525/3.873, allocations: 35.13 MB / 1.618 GB, free: 55.03 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01616/3.889, allocations: 8.5 MB / 1.626 GB, free: 46.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004397/3.893, allocations: 0.7374 MB / 1.627 GB, free: 45.74 MB / 0.7169 GB Notification: Performance of SimCode: time 1.433e-06/3.893, allocations: 0 / 1.627 GB, free: 45.74 MB / 0.7169 GB Notification: Performance of Templates: time 2.638/6.531, allocations: 0.8613 GB / 2.488 GB, free: 211.8 MB / 0.7169 GB " [Timeout remaining time 653] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2CalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2CalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2CalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2AlgLoopMain.cpp:48: ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:60: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:130: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:198: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:267: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:337: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:406: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:475: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:74:543: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp336 = std::atan2(((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(1)) + (((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(2)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:60: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:130: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:198: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:267: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:337: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:406: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:475: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:76:543: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp337 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(2)) + (((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(4))) - (_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(1)))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:78:60: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp338 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(2)) + (((-_system->_bodyBox_P_body_P_Q_(2)) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(4))))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:78:129: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp338 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(2)) + (((-_system->_bodyBox_P_body_P_Q_(2)) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(4))))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2Algloop1417.cpp:78:201: error: use of undeclared identifier 'bodyBox_P_body_P_Q_start_' tmp338 = std::atan2(((_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(2)) + (((-_system->_bodyBox_P_body_P_Q_(2)) * bodyBox_P_body_P_Q_start_(3)) - (_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(4))))), ((_system->_bodyBox_P_body_P_Q_(1) * bodyBox_P_body_P_Q_start_(1)) + ((_system->_bodyBox_P_body_P_Q_(2) * bodyBox_P_body_P_Q_start_(2)) + ((_system->_bodyBox_P_body_P_Q_(3) * bodyBox_P_body_P_Q_start_(3)) + (_system->_bodyBox_P_body_P_Q_(4) * bodyBox_P_body_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 11.528945120051503] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]', 'bodyBox.body.Q[1]', 'bodyBox.body.Q[2]', 'bodyBox.body.Q[3]', 'bodyBox.body.Q[4]', 'bodyBox.body.frame_a.r_0[1]', 'bodyBox.body.frame_a.r_0[2]', 'bodyBox.body.frame_a.r_0[3]', 'bodyBox.body.w_a[1]', 'bodyBox.body.w_a[2]', 'bodyBox.body.w_a[3]', 'bodyBox1.body.Q[1]', 'bodyBox1.body.Q[2]', 'bodyBox1.body.Q[3]', 'bodyBox1.body.Q[4]', 'bodyBox1.body.w_a[1]', 'bodyBox1.body.w_a[2]', 'bodyBox1.body.w_a[3]', 'bodyBox2.body.Q[1]', 'bodyBox2.body.Q[2]', 'bodyBox2.body.Q[3]', 'bodyBox2.body.Q[4]', 'bodyBox2.body.frame_a.r_0[1]', 'bodyBox2.body.frame_a.r_0[2]', 'bodyBox2.body.frame_a.r_0[3]', 'bodyBox2.body.w_a[1]', 'bodyBox2.body.w_a[2]', 'bodyBox2.body.w_a[3]', 'bodyBox2.v_0[1]', 'bodyBox2.v_0[2]', 'bodyBox2.v_0[3]', 'sphericalSpherical.v_CM_0[1]', 'sphericalSpherical.v_CM_0[2]', 'sphericalSpherical.v_CM_0[3]', 'sphericalSpherical1.v_CM_0[1]', 'sphericalSpherical1.v_CM_0[2]', 'sphericalSpherical1.v_CM_0[3]'] 6.540433062007651 6.549090018 5.911255273 Calling exit ...