Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.8 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 51.91 kB / 366.8 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1218, allocations: 52.14 MB / 418.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02381/0.1456, allocations: 18.75 MB / 437.7 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01534/0.1609, allocations: 6.221 MB / 443.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.1658, allocations: 143.6 kB / 444.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2615/0.4272, allocations: 6.102 MB / 450.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008956/0.4362, allocations: 2.662 MB / 452.8 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005881/0.442, allocations: 2.532 MB / 455.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01334/0.4554, allocations: 6.947 MB / 462.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009165/0.4646, allocations: 6.553 MB / 468.9 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0059/0.4705, allocations: 2.792 MB / 471.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007296/0.4778, allocations: 3.778 MB / 475.4 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002712/0.4805, allocations: 0.632 MB / 476.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005659/0.4861, allocations: 2.072 MB / 478.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004533/0.4907, allocations: 3.486 MB / 481.6 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006665/0.4973, allocations: 3.798 MB / 485.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.5154, allocations: 12.16 MB / 497.6 MB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5154, allocations: 0 / 497.6 MB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5154, allocations: 4 kB / 497.6 MB, free: 2.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004455/0.5158, allocations: 0 / 497.6 MB, free: 2.703 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2352 * Number of variables: 2352 Notification: Performance of Generate backend data structure: time 0.0264/0.5422, allocations: 8.509 MB / 0.4942 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.5423, allocations: 8.031 kB / 0.4942 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.5523, allocations: 2.374 MB / 0.4966 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.5626, allocations: 4.335 MB / 0.5008 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/0.563, allocations: 429.9 kB / 0.5012 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/0.5654, allocations: 0.6631 MB / 0.5018 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03693/0.6024, allocations: 16.62 MB / 0.5181 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002495/0.6026, allocations: 64.17 kB / 0.5181 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/0.6039, allocations: 262.9 kB / 0.5184 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004162/0.608, allocations: 2.523 MB / 0.5209 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03269/0.6407, allocations: 14.28 MB / 0.5348 GB, free: 28 kB / 430.1 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.0963/0.737, allocations: 63.01 MB / 0.5963 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02305/0.7601, allocations: 7.058 MB / 0.6032 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005708/0.7658, allocations: 3.525 MB / 0.6067 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02778/0.7935, allocations: 16.45 MB / 0.6227 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.975e-05/0.7936, allocations: 60.5 kB / 0.6228 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=253): time 5.591e-06/0.7936, allocations: 0 / 0.6228 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=269): time 0.5628/1.356, allocations: 27.49 MB / 0.6496 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001389/1.358, allocations: 1.701 MB / 0.6513 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01433/1.372, allocations: 5.786 MB / 0.6569 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/1.373, allocations: 63.27 kB / 0.657 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00489/1.378, allocations: 4.958 MB / 0.6618 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002397/1.38, allocations: 1.1 MB / 0.6629 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004037/1.385, allocations: 1.821 MB / 0.6647 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/1.385, allocations: 307.8 kB / 0.665 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006322/1.391, allocations: 3.355 MB / 0.6683 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008528/1.399, allocations: 8.715 MB / 0.6768 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/1.413, allocations: 13.04 MB / 0.6895 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002789/1.414, allocations: 51.53 kB / 0.6896 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1170) (initialization): time 0.03197/1.446, allocations: 14.68 MB / 0.7039 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/1.446, allocations: 83.91 kB / 0.704 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01535/1.461, allocations: 6.673 MB / 0.7105 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01286/1.474, allocations: 3.222 MB / 0.7136 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00701/1.481, allocations: 2.09 MB / 0.7157 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/1.498, allocations: 17.03 MB / 0.7323 GB, free: 114 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009295/1.507, allocations: 0.5701 MB / 0.7329 GB, free: 113.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/1.509, allocations: 0.5363 MB / 0.7334 GB, free: 112.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1106): * Single equations (assignments): 1090 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {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 {(3,3,100.0%), (3,3,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006886/1.516, allocations: 3.194 MB / 0.7365 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/1.517, allocations: 0.5354 MB / 0.737 GB, free: 109.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.528, allocations: 6.402 MB / 0.7433 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008773/1.537, allocations: 5.529 MB / 0.7487 GB, free: 97.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008274/1.545, allocations: 5.373 MB / 0.7539 GB, free: 91.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-05/1.545, allocations: 17.2 kB / 0.754 GB, free: 91.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02547/1.571, allocations: 16.76 MB / 0.7703 GB, free: 74.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.348e-05/1.571, allocations: 8.984 kB / 0.7703 GB, free: 74.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/1.573, allocations: 496 kB / 0.7708 GB, free: 74.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/1.578, allocations: 1.844 MB / 0.7726 GB, free: 72.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004022/1.578, allocations: 77.55 kB / 0.7727 GB, free: 72.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/1.588, allocations: 10.38 MB / 0.7828 GB, free: 61.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007615/1.589, allocations: 1.561 MB / 0.7843 GB, free: 59.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.603, allocations: 9.572 MB / 0.7937 GB, free: 50.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/1.605, allocations: 0.5794 MB / 0.7943 GB, free: 49.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/1.606, allocations: 67.92 kB / 0.7943 GB, free: 49.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/1.608, allocations: 211.6 kB / 0.7945 GB, free: 49.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/1.609, allocations: 181.6 kB / 0.7947 GB, free: 48.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.609, allocations: 83.97 kB / 0.7948 GB, free: 48.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004886/1.614, allocations: 3.588 MB / 0.7983 GB, free: 45.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.614, allocations: 0 / 0.7983 GB, free: 45.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01061/1.625, allocations: 1.695 MB / 0.7999 GB, free: 43.62 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (223): * Single equations (assignments): 213 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,100.0%), (3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008757/1.626, allocations: 273.5 kB / 0.8002 GB, free: 43.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01283/1.638, allocations: 8.703 MB / 0.8087 GB, free: 34.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.638, allocations: 4 kB / 0.8087 GB, free: 34.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/1.643, allocations: 3.189 MB / 0.8118 GB, free: 31.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006895/1.65, allocations: 0.8658 MB / 0.8127 GB, free: 30.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02687/1.677, allocations: 15.87 MB / 0.8282 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/1.682, allocations: 4.784 MB / 0.8328 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/1.683, allocations: 427.4 kB / 0.8332 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of SimCode: time 1.203e-06/1.683, allocations: 0 / 0.8332 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of Templates: time 0.8385/2.522, allocations: 295.1 MB / 1.121 GB, free: 137.7 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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 OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgLoopMain.cpp:39: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:53: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:154: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:205: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:258: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:308: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:359: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:74:410: error: use of undeclared identifier 'joint_P_Q_start_' tmp252 = std::atan2(((((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:53: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:154: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:205: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:258: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:308: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:359: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:76:410: error: use of undeclared identifier 'joint_P_Q_start_' tmp253 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1))) + (_system->_joint_P_Q_(1) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:78:53: error: use of undeclared identifier 'joint_P_Q_start_' tmp254 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(2))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:78:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp254 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(2))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop932.cpp:78:154: error: use of undeclared identifier 'joint_P_Q_start_' tmp254 = std::atan2(((((_system->_joint_P_Q_(4) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(2))) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(3))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(4))), ((((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + (_system->_joint_P_Q_(2) * joint_P_Q_start_(2))) + (_system->_joint_P_Q_(3) * joint_P_Q_start_(3))) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.547707085963339] Failed to read output from testmodel.py, exit status != 0: ['time', 'bodyOfConstraint.body.w_a[1]', 'bodyOfConstraint.body.w_a[2]', 'bodyOfConstraint.body.w_a[3]'] 2.5309898108243942 2.539733334 2.022037706 Calling exit ...