Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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.001369/0.001369, 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.001394/0.001394, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 230.4 MB / 255.4 MB, free: 9.082 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001847/0.001847, allocations: 71.83 kB / 374.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.259, allocations: 53.31 MB / 428 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02181/0.2808, allocations: 18.51 MB / 446.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.2947, allocations: 6.186 MB / 452.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.2987, allocations: 143.6 kB / 452.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.3104, allocations: 6.079 MB / 459 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00785/0.3183, allocations: 2.607 MB / 461.6 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006175/0.3245, allocations: 2.506 MB / 464.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.3359, allocations: 7.108 MB / 471.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.3466, allocations: 6.518 MB / 477.7 MB, free: 6.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006882/0.3535, allocations: 2.769 MB / 480.5 MB, free: 3.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006922/0.3604, allocations: 3.758 MB / 484.2 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002517/0.363, allocations: 0.6289 MB / 484.9 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/0.3682, allocations: 2.06 MB / 486.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00493/0.3731, allocations: 3.432 MB / 490.3 MB, free: 9.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006988/0.3801, allocations: 3.749 MB / 494.1 MB, free: 5.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01609/0.3962, allocations: 12 MB / 0.4942 GB, free: 9.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3962, allocations: 0 / 0.4942 GB, free: 9.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3962, allocations: 4 kB / 0.4942 GB, free: 9.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003539/0.3966, allocations: 0 / 0.4942 GB, free: 9.707 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01977/0.4163, allocations: 8.528 MB / 0.5026 GB, free: 1.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4164, allocations: 11.97 kB / 0.5026 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009036/0.4254, allocations: 2.406 MB / 0.5049 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009355/0.4348, allocations: 4.233 MB / 0.5091 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.4351, allocations: 427.2 kB / 0.5095 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.4372, allocations: 0.6558 MB / 0.5101 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03392/0.4711, allocations: 16.46 MB / 0.5262 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/0.4713, allocations: 63.52 kB / 0.5262 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007106/0.472, allocations: 263.8 kB / 0.5265 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003848/0.4758, allocations: 2.459 MB / 0.5289 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4487/0.9246, allocations: 14.15 MB / 0.5427 GB, free: 91.09 MB / 446.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.07373/0.9983, allocations: 62.56 MB / 0.6038 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/1.018, allocations: 7.092 MB / 0.6107 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004153/1.022, allocations: 3.522 MB / 0.6142 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0237/1.046, allocations: 16.51 MB / 0.6303 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/1.046, allocations: 60.56 kB / 0.6304 GB, free: 6.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 1.252e-05/1.046, allocations: 0 / 0.6304 GB, free: 6.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.07294/1.119, allocations: 27.51 MB / 0.6572 GB, free: 10.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001591/1.12, allocations: 1.701 MB / 0.6589 GB, free: 8.738 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009301/1.13, allocations: 5.762 MB / 0.6645 GB, free: 3.109 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008076/1.13, allocations: 61.7 kB / 0.6646 GB, free: 3.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004193/1.135, allocations: 4.921 MB / 0.6694 GB, free: 14.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001728/1.136, allocations: 1.097 MB / 0.6704 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002994/1.139, allocations: 1.81 MB / 0.6722 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/1.14, allocations: 305.1 kB / 0.6725 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005962/1.145, allocations: 3.363 MB / 0.6758 GB, free: 7.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.157, allocations: 8.7 MB / 0.6843 GB, free: 12.14 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01751/1.174, allocations: 13.02 MB / 0.697 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001989/1.174, allocations: 55.94 kB / 0.6971 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03564/1.21, allocations: 14.74 MB / 0.7114 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002358/1.21, allocations: 91.28 kB / 0.7115 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01885/1.229, allocations: 6.755 MB / 0.7181 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01418/1.243, allocations: 3.314 MB / 0.7214 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00732/1.25, allocations: 2.094 MB / 0.7234 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3072/1.558, allocations: 17.04 MB / 0.7401 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008255/1.566, allocations: 0.5823 MB / 0.7406 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/1.568, allocations: 0.537 MB / 0.7411 GB, free: 179.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 859 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.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 (1103): * Single equations (assignments): 1087 * 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.006898/1.575, allocations: 3.155 MB / 0.7442 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.577, allocations: 0.5359 MB / 0.7448 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.589, allocations: 6.425 MB / 0.751 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009271/1.598, allocations: 5.554 MB / 0.7564 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008784/1.607, allocations: 5.381 MB / 0.7617 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.949e-05/1.607, allocations: 11.53 kB / 0.7617 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/1.633, allocations: 16.64 MB / 0.778 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/1.633, allocations: 8 kB / 0.778 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.636, allocations: 0.4887 MB / 0.7784 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/1.641, allocations: 1.854 MB / 0.7803 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/1.641, allocations: 66.97 kB / 0.7803 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.651, allocations: 10.39 MB / 0.7905 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007613/1.652, allocations: 1.556 MB / 0.792 GB, free: 152.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/1.665, allocations: 9.598 MB / 0.8014 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/1.667, allocations: 0.5781 MB / 0.8019 GB, free: 143.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000587/1.668, allocations: 59.92 kB / 0.802 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/1.67, allocations: 219.5 kB / 0.8022 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000452/1.671, allocations: 180.6 kB / 0.8024 GB, free: 142.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/1.671, allocations: 87.41 kB / 0.8025 GB, free: 142.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004541/1.675, allocations: 3.579 MB / 0.8059 GB, free: 139.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.675, allocations: 0 / 0.8059 GB, free: 139.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008027/1.683, allocations: 1.666 MB / 0.8076 GB, free: 137.4 MB / 0.545 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.0007734/1.684, allocations: 289.7 kB / 0.8078 GB, free: 137.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.696, allocations: 8.706 MB / 0.8164 GB, free: 128.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.696, allocations: 4 kB / 0.8164 GB, free: 128.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004563/1.701, allocations: 3.201 MB / 0.8195 GB, free: 125.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/1.706, allocations: 0.8549 MB / 0.8203 GB, free: 124.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/1.729, allocations: 15.75 MB / 0.8357 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004318/1.733, allocations: 4.738 MB / 0.8403 GB, free: 103.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.735, allocations: 423.4 kB / 0.8407 GB, free: 103.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.162e-06/1.735, allocations: 0 / 0.8407 GB, free: 103.3 MB / 0.545 GB Notification: Performance of Templates: time 0.5336/2.269, allocations: 292 MB / 1.126 GB, free: 28.52 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgLoopMain.cpp:39: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:51: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:153: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:204: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:256: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:307: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:358: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:408: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:51: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:153: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:204: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:256: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:307: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:358: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:408: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:78:51: error: use of undeclared identifier 'joint_P_Q_start_' tmp259 = 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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:78:102: error: use of undeclared identifier 'joint_P_Q_start_' tmp259 = 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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:78:156: error: use of undeclared identifier 'joint_P_Q_start_' tmp259 = 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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.0593433901667595] 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.2784420899115503 2.287832871 1.889110002 Calling exit ...