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.001863/0.001863, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002289/0.002289, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.529/1.529, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.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.001594/0.001594, allocations: 51.91 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2893, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02173/0.311, allocations: 16.17 MB / 440 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3266, allocations: 5.976 MB / 446 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005279/0.3319, allocations: 175.1 kB / 446.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.3442, allocations: 5.877 MB / 452 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008532/0.3527, allocations: 2.677 MB / 454.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005942/0.3586, allocations: 2.483 MB / 457.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01088/0.3695, allocations: 6.953 MB / 464.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007784/0.3773, allocations: 5.753 MB / 469.9 MB, free: 216 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005273/0.3826, allocations: 2.824 MB / 472.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006411/0.389, allocations: 3.5 MB / 476.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.3905, allocations: 0.6289 MB / 476.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003844/0.3943, allocations: 1.915 MB / 478.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003887/0.3982, allocations: 3.491 MB / 482.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004114/0.4023, allocations: 2.867 MB / 485.1 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.4175, allocations: 12.22 MB / 497.3 MB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.4175, allocations: 0 / 497.3 MB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4175, allocations: 8 kB / 497.3 MB, free: 4.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004195/0.4179, allocations: 0 / 497.3 MB, free: 4.664 MB / 398.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.02325/0.4412, allocations: 8.422 MB / 0.4939 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4412, allocations: 15.95 kB / 0.4939 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008933/0.4502, allocations: 2.375 MB / 0.4962 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.4621, allocations: 4.263 MB / 0.5004 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005297/0.4626, allocations: 435.3 kB / 0.5008 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002959/0.4656, allocations: 0.6596 MB / 0.5015 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0414/0.507, allocations: 16.68 MB / 0.5177 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003906/0.5074, allocations: 59.58 kB / 0.5178 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002261/0.5096, allocations: 267.8 kB / 0.518 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004649/0.5143, allocations: 2.518 MB / 0.5205 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03544/0.5497, allocations: 14.26 MB / 0.5344 GB, free: 1.594 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.5285/1.078, allocations: 58.23 MB / 0.5913 GB, free: 53.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/1.098, allocations: 6.595 MB / 0.5977 GB, free: 47.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/1.102, allocations: 3.535 MB / 0.6012 GB, free: 43.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02018/1.122, allocations: 13.67 MB / 0.6145 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/1.122, allocations: 56.56 kB / 0.6146 GB, free: 30.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 6.272e-06/1.122, allocations: 0 / 0.6146 GB, free: 30.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.0773/1.199, allocations: 26.73 MB / 0.6407 GB, free: 3.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001545/1.201, allocations: 1.575 MB / 0.6422 GB, free: 1.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/1.216, allocations: 5.648 MB / 0.6478 GB, free: 12.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001091/1.217, allocations: 61.7 kB / 0.6478 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008346/1.225, allocations: 4.989 MB / 0.6527 GB, free: 7.609 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003095/1.228, allocations: 1.097 MB / 0.6538 GB, free: 6.504 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005577/1.234, allocations: 1.825 MB / 0.6555 GB, free: 4.664 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/1.234, allocations: 305.3 kB / 0.6558 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01101/1.245, allocations: 3.359 MB / 0.6591 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02056/1.266, allocations: 8.711 MB / 0.6676 GB, free: 5.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0318/1.298, allocations: 13.04 MB / 0.6804 GB, free: 5.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002882/1.298, allocations: 52 kB / 0.6804 GB, free: 5.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=1170) (initialization): time 0.06389/1.362, allocations: 14.42 MB / 0.6945 GB, free: 7.426 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003901/1.362, allocations: 88 kB / 0.6946 GB, free: 7.34 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03378/1.396, allocations: 6.435 MB / 0.7009 GB, free: 0.8789 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01951/1.415, allocations: 3.224 MB / 0.704 GB, free: 13.62 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007963/1.423, allocations: 2.094 MB / 0.7061 GB, free: 11.53 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02368/1.447, allocations: 16.14 MB / 0.7218 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008478/1.456, allocations: 0.5857 MB / 0.7224 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/1.458, allocations: 0.5273 MB / 0.7229 GB, free: 9.648 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.008175/1.466, allocations: 3.195 MB / 0.726 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/1.468, allocations: 0.5006 MB / 0.7265 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.327/1.795, allocations: 6.156 MB / 0.7325 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0114/1.806, allocations: 5.311 MB / 0.7377 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008939/1.815, allocations: 5.14 MB / 0.7427 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.949e-05/1.815, allocations: 11.55 kB / 0.7427 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02678/1.842, allocations: 14.77 MB / 0.7572 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/1.842, allocations: 8.531 kB / 0.7572 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/1.844, allocations: 492.5 kB / 0.7576 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005076/1.849, allocations: 1.843 MB / 0.7594 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.849, allocations: 71.84 kB / 0.7595 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/1.86, allocations: 9.959 MB / 0.7692 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007674/1.861, allocations: 1.435 MB / 0.7706 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/1.875, allocations: 9.527 MB / 0.7799 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/1.877, allocations: 471.6 kB / 0.7804 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006663/1.877, allocations: 59.98 kB / 0.7804 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.88, allocations: 211.7 kB / 0.7806 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004623/1.88, allocations: 193.4 kB / 0.7808 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.88, allocations: 86.75 kB / 0.7809 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004466/1.885, allocations: 3.261 MB / 0.7841 GB, free: 145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.885, allocations: 0 / 0.7841 GB, free: 145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008746/1.893, allocations: 1.688 MB / 0.7857 GB, free: 143.3 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.0008337/1.894, allocations: 263.9 kB / 0.786 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.907, allocations: 8.573 MB / 0.7944 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/1.907, allocations: 0 / 0.7944 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005063/1.912, allocations: 2.957 MB / 0.7973 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006761/1.919, allocations: 0.7909 MB / 0.798 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/1.947, allocations: 15.98 MB / 0.8136 GB, free: 114.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0056/1.952, allocations: 4.291 MB / 0.8178 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/1.954, allocations: 415.4 kB / 0.8182 GB, free: 110 MB / 0.5294 GB Notification: Performance of SimCode: time 1.783e-06/1.954, allocations: 0 / 0.8182 GB, free: 110 MB / 0.5294 GB Notification: Performance of Templates: time 0.5269/2.481, allocations: 295.6 MB / 1.107 GB, free: 26.35 MB / 0.545 GB " [Timeout remaining time 658] 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_' tmp219 = 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_' tmp219 = 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_' tmp219 = 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_' tmp219 = 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_' tmp219 = 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_' tmp219 = 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_' tmp219 = 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_' tmp219 = 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_' tmp220 = 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_' tmp220 = 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_' tmp220 = 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_' tmp220 = 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_' tmp220 = 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_' tmp220 = 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_' tmp220 = 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_' tmp220 = 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_' tmp221 = 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_' tmp221 = 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_' tmp221 = 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.828717101830989] 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.490862367209047 2.500720439 2.080640529 Calling exit ...