Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 51.94 kB / 348.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3495, allocations: 49.16 MB / 397.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02158/0.3711, allocations: 19.58 MB / 417.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.3895, allocations: 6.328 MB / 423.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006426/0.3959, allocations: 177.1 kB / 423.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01272/0.4086, allocations: 6.152 MB / 429.8 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00991/0.4185, allocations: 2.736 MB / 432.6 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006518/0.425, allocations: 2.549 MB / 435.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01277/0.4378, allocations: 7.07 MB / 442.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/0.4511, allocations: 5.846 MB / 448 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007289/0.4584, allocations: 2.867 MB / 450.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00729/0.4657, allocations: 3.863 MB / 454.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002667/0.4683, allocations: 0.6484 MB / 455.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005963/0.4743, allocations: 2.083 MB / 457.5 MB, free: 7.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006061/0.4804, allocations: 3.553 MB / 461.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01172/0.4921, allocations: 3.866 MB / 464.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02321/0.5153, allocations: 12.4 MB / 477.3 MB, free: 3.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.5153, allocations: 4 kB / 477.3 MB, free: 3.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5153, allocations: 0 / 477.3 MB, free: 3.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005448/0.5158, allocations: 0 / 477.3 MB, free: 3.344 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02794/0.5438, allocations: 8.57 MB / 485.9 MB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5438, allocations: 12.03 kB / 485.9 MB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.5546, allocations: 2.391 MB / 488.3 MB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.5689, allocations: 4.38 MB / 492.7 MB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005817/0.5695, allocations: 435.4 kB / 493.1 MB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003398/0.5729, allocations: 0.6675 MB / 493.8 MB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04491/0.6178, allocations: 16.93 MB / 0.4987 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004457/0.6183, allocations: 59.5 kB / 0.4988 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002707/0.621, allocations: 275.8 kB / 0.4991 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004898/0.6259, allocations: 2.584 MB / 0.5016 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03745/0.6633, allocations: 14.57 MB / 0.5158 GB, free: 15.36 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.6334/1.297, allocations: 63.93 MB / 0.5782 GB, free: 107 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02181/1.319, allocations: 6.693 MB / 0.5848 GB, free: 106.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/1.324, allocations: 3.585 MB / 0.5883 GB, free: 106 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02339/1.347, allocations: 14.64 MB / 0.6026 GB, free: 100.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.347, allocations: 66.31 kB / 0.6026 GB, free: 100.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 4.949e-06/1.347, allocations: 0 / 0.6026 GB, free: 100.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.06654/1.414, allocations: 27.12 MB / 0.6291 GB, free: 78.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001112/1.415, allocations: 1.597 MB / 0.6307 GB, free: 76.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008161/1.423, allocations: 5.9 MB / 0.6364 GB, free: 71.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000891/1.424, allocations: 69.45 kB / 0.6365 GB, free: 71.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003227/1.427, allocations: 5.049 MB / 0.6414 GB, free: 66.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001902/1.429, allocations: 1.125 MB / 0.6425 GB, free: 65.24 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002391/1.432, allocations: 1.856 MB / 0.6443 GB, free: 63.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/1.432, allocations: 304.8 kB / 0.6446 GB, free: 63.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004069/1.436, allocations: 3.422 MB / 0.648 GB, free: 59.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006982/1.443, allocations: 8.867 MB / 0.6566 GB, free: 48.17 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/1.456, allocations: 13.27 MB / 0.6696 GB, free: 32.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00018/1.456, allocations: 56 kB / 0.6696 GB, free: 32.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03156/1.488, allocations: 14.68 MB / 0.684 GB, free: 17.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/1.488, allocations: 84 kB / 0.6841 GB, free: 17.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01734/1.506, allocations: 6.548 MB / 0.6905 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/1.518, allocations: 3.232 MB / 0.6936 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007687/1.526, allocations: 2.144 MB / 0.6957 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/1.55, allocations: 16.42 MB / 0.7117 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/1.56, allocations: 0.5887 MB / 0.7123 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/1.563, allocations: 0.539 MB / 0.7128 GB, free: 3.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * Number of states: 0 () * Number of discrete variables: 60 (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 (1128): * Single equations (assignments): 1112 * 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.01125/1.575, allocations: 3.238 MB / 0.716 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002806/1.578, allocations: 0.5433 MB / 0.7165 GB, free: 15.46 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/1.597, allocations: 6.33 MB / 0.7227 GB, free: 9.094 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01254/1.609, allocations: 5.416 MB / 0.728 GB, free: 3.648 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01175/1.621, allocations: 5.254 MB / 0.7331 GB, free: 14.36 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-05/1.621, allocations: 11.95 kB / 0.7332 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04609/1.667, allocations: 17.24 MB / 0.75 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/1.667, allocations: 12 kB / 0.75 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/1.67, allocations: 0.5038 MB / 0.7505 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005832/1.676, allocations: 1.85 MB / 0.7523 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005676/1.676, allocations: 75.91 kB / 0.7524 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/1.691, allocations: 10.08 MB / 0.7622 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3329/2.024, allocations: 1.461 MB / 0.7636 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/2.043, allocations: 9.848 MB / 0.7733 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/2.046, allocations: 0.5196 MB / 0.7738 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008413/2.047, allocations: 65.28 kB / 0.7738 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/2.049, allocations: 218.5 kB / 0.774 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005921/2.05, allocations: 209.3 kB / 0.7742 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/2.05, allocations: 91.56 kB / 0.7743 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006888/2.057, allocations: 3.661 MB / 0.7779 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/2.057, allocations: 3.656 kB / 0.7779 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01024/2.067, allocations: 1.714 MB / 0.7796 GB, free: 182 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (233): * Single equations (assignments): 223 * 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.0009622/2.068, allocations: 276.7 kB / 0.7798 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0145/2.082, allocations: 8.729 MB / 0.7884 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.082, allocations: 0 / 0.7884 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0049/2.087, allocations: 3.013 MB / 0.7913 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005356/2.093, allocations: 0.8716 MB / 0.7922 GB, free: 177 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03051/2.123, allocations: 16.37 MB / 0.8081 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00547/2.129, allocations: 4.863 MB / 0.8129 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/2.13, allocations: 446 kB / 0.8133 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.583e-06/2.13, allocations: 3.938 kB / 0.8133 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.5738/2.704, allocations: 300.8 MB / 1.107 GB, free: 50.4 MB / 0.5294 GB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgLoopMain.cpp:39: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:53: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:154: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:205: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:258: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:308: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:359: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:74:410: error: use of undeclared identifier 'joint_P_Q_start_' tmp256 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:53: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:154: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:205: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:258: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:308: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:359: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:76:410: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:78:53: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:78:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop954.cpp:78:154: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.937912059016526] 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.7150969801004976 2.724192111 2.206309689 Calling exit ...