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.0111/0.0111, allocations: 107.6 kB / 21.98 MB, free: 5.223 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.001934/0.001934, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.491/1.491, allocations: 230.6 MB / 259 MB, free: 8.035 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.002403/0.002403, allocations: 59.91 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2995, allocations: 53.37 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02148/0.321, allocations: 18.55 MB / 451.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.3358, allocations: 6.224 MB / 457.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00443/0.3402, allocations: 171.1 kB / 458.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.3525, allocations: 6.102 MB / 464.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008083/0.3606, allocations: 2.617 MB / 466.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006055/0.3667, allocations: 2.537 MB / 469.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.3783, allocations: 7.105 MB / 476.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.3895, allocations: 5.773 MB / 482.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.3957, allocations: 2.793 MB / 485 MB, free: 2.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006958/0.4027, allocations: 3.762 MB / 488.8 MB, free: 15.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.4052, allocations: 0.625 MB / 489.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005619/0.4108, allocations: 2.06 MB / 491.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00579/0.4166, allocations: 3.44 MB / 494.9 MB, free: 8.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008822/0.4254, allocations: 3.745 MB / 498.7 MB, free: 5.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02014/0.4456, allocations: 12 MB / 0.4987 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4456, allocations: 0 / 0.4987 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4456, allocations: 0 / 0.4987 GB, free: 9.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005212/0.4461, allocations: 0 / 0.4987 GB, free: 9.133 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.02726/0.4734, allocations: 8.463 MB / 0.507 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4734, allocations: 8.031 kB / 0.507 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.4834, allocations: 2.41 MB / 0.5093 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01165/0.4951, allocations: 4.142 MB / 0.5134 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005542/0.4956, allocations: 435.2 kB / 0.5138 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003269/0.4989, allocations: 0.6557 MB / 0.5144 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04332/0.5422, allocations: 16.46 MB / 0.5305 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004243/0.5427, allocations: 55.58 kB / 0.5306 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002732/0.5454, allocations: 259.8 kB / 0.5308 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004574/0.55, allocations: 2.467 MB / 0.5332 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5578/1.108, allocations: 14.15 MB / 0.547 GB, free: 90.11 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.07352/1.181, allocations: 62.35 MB / 0.6079 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01822/1.199, allocations: 6.624 MB / 0.6144 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004103/1.204, allocations: 3.539 MB / 0.6178 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02314/1.227, allocations: 14.42 MB / 0.6319 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/1.227, allocations: 60.56 kB / 0.632 GB, free: 8.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 6.793e-06/1.227, allocations: 3.938 kB / 0.632 GB, free: 8.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.07165/1.298, allocations: 26.71 MB / 0.6581 GB, free: 13.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001634/1.3, allocations: 1.594 MB / 0.6596 GB, free: 12.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009924/1.31, allocations: 5.76 MB / 0.6653 GB, free: 6.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007189/1.311, allocations: 61.7 kB / 0.6653 GB, free: 6.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004672/1.315, allocations: 4.915 MB / 0.6701 GB, free: 1.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.317, allocations: 1.101 MB / 0.6712 GB, free: 312 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003058/1.32, allocations: 1.821 MB / 0.673 GB, free: 14.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/1.321, allocations: 301.1 kB / 0.6733 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005815/1.326, allocations: 3.359 MB / 0.6765 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/1.338, allocations: 8.701 MB / 0.685 GB, free: 15.45 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01957/1.357, allocations: 13.03 MB / 0.6978 GB, free: 15.78 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002191/1.357, allocations: 52 kB / 0.6978 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03749/1.395, allocations: 14.52 MB / 0.712 GB, free: 1.176 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002843/1.395, allocations: 88 kB / 0.7121 GB, free: 1.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01941/1.414, allocations: 6.529 MB / 0.7184 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/1.429, allocations: 3.314 MB / 0.7217 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008/1.437, allocations: 2.09 MB / 0.7237 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02518/1.462, allocations: 16.44 MB / 0.7398 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009761/1.471, allocations: 0.5813 MB / 0.7403 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002199/1.474, allocations: 0.5273 MB / 0.7409 GB, free: 2.852 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.32/1.794, allocations: 3.152 MB / 0.7439 GB, free: 183.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.795, allocations: 0.535 MB / 0.7445 GB, free: 183.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.808, allocations: 6.221 MB / 0.7505 GB, free: 182.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009352/1.818, allocations: 5.324 MB / 0.7557 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008556/1.826, allocations: 5.158 MB / 0.7608 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.152e-05/1.826, allocations: 10.97 kB / 0.7608 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02574/1.852, allocations: 16.41 MB / 0.7768 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.852, allocations: 7.469 kB / 0.7768 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.854, allocations: 497.9 kB / 0.7773 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004886/1.859, allocations: 1.852 MB / 0.7791 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003624/1.86, allocations: 73.14 kB / 0.7792 GB, free: 171 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/1.87, allocations: 10.08 MB / 0.789 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007358/1.87, allocations: 1.455 MB / 0.7904 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.883, allocations: 9.604 MB / 0.7998 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.885, allocations: 0.5029 MB / 0.8003 GB, free: 149.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006293/1.886, allocations: 55.98 kB / 0.8004 GB, free: 149.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.888, allocations: 215.7 kB / 0.8006 GB, free: 149.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/1.888, allocations: 198.6 kB / 0.8008 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.888, allocations: 83.81 kB / 0.8008 GB, free: 148.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004627/1.893, allocations: 3.571 MB / 0.8043 GB, free: 145.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/1.893, allocations: 0 / 0.8043 GB, free: 145.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007411/1.9, allocations: 1.666 MB / 0.806 GB, free: 143.7 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.0007542/1.901, allocations: 289.9 kB / 0.8062 GB, free: 143.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.913, allocations: 8.567 MB / 0.8146 GB, free: 134.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.914, allocations: 0 / 0.8146 GB, free: 134.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004653/1.918, allocations: 2.96 MB / 0.8175 GB, free: 131.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/1.923, allocations: 0.8562 MB / 0.8183 GB, free: 131.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.945, allocations: 15.9 MB / 0.8338 GB, free: 115.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004444/1.949, allocations: 4.745 MB / 0.8385 GB, free: 110.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/1.951, allocations: 430 kB / 0.8389 GB, free: 109.9 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/1.951, allocations: 3.938 kB / 0.8389 GB, free: 109.9 MB / 0.545 GB Notification: Performance of Templates: time 0.5633/2.514, allocations: 292 MB / 1.124 GB, free: 34.03 MB / 0.5607 GB " [Timeout remaining time 657] 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/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.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.5738321440294385] 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.5251019769348204 2.535625715 2.087056871 Calling exit ...