Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001719/0.001719, allocations: 115.8 kB / 19.18 MB, free: 3.762 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.002161/0.002161, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.2 MB / 255.1 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 64.08 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.221/0.3262, allocations: 18.5 MB / 446.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.3415, allocations: 6.177 MB / 452.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.3459, allocations: 142.1 kB / 452.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.3581, allocations: 6.088 MB / 458.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008306/0.3664, allocations: 2.609 MB / 461.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005715/0.3721, allocations: 2.499 MB / 463.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.384, allocations: 7.11 MB / 471 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008676/0.3926, allocations: 6.528 MB / 477.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006128/0.3988, allocations: 2.766 MB / 480.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006558/0.4053, allocations: 3.758 MB / 484 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001917/0.4072, allocations: 0.6289 MB / 484.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/0.4124, allocations: 2.06 MB / 486.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004708/0.4171, allocations: 3.436 MB / 490.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006816/0.424, allocations: 3.749 MB / 493.9 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.442, allocations: 11.99 MB / 0.494 GB, free: 2.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.442, allocations: 4 kB / 0.494 GB, free: 2.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.442, allocations: 0 / 0.494 GB, free: 2.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004082/0.4424, allocations: 0 / 0.494 GB, free: 2.539 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02285/0.4652, allocations: 8.539 MB / 0.5024 GB, free: 9.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4653, allocations: 8.031 kB / 0.5024 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009231/0.4745, allocations: 2.395 MB / 0.5047 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009699/0.4842, allocations: 4.233 MB / 0.5088 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004216/0.4846, allocations: 424.2 kB / 0.5092 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/0.487, allocations: 0.6712 MB / 0.5099 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04547/0.5324, allocations: 16.45 MB / 0.526 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004301/0.5329, allocations: 59.52 kB / 0.526 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/0.5351, allocations: 272.9 kB / 0.5263 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004431/0.5395, allocations: 2.455 MB / 0.5287 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04376/0.5833, allocations: 14.15 MB / 0.5425 GB, free: 15.76 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0963/0.6796, allocations: 62.57 MB / 0.6036 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02411/0.7037, allocations: 7.083 MB / 0.6105 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005951/0.7096, allocations: 3.515 MB / 0.614 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4484/1.158, allocations: 16.5 MB / 0.6301 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.158, allocations: 59.17 kB / 0.6301 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=253): time 4.949e-06/1.158, allocations: 0 / 0.6301 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=269): time 0.0687/1.227, allocations: 27.52 MB / 0.657 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000989/1.228, allocations: 1.692 MB / 0.6587 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006383/1.234, allocations: 5.757 MB / 0.6643 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005972/1.235, allocations: 71.52 kB / 0.6643 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002149/1.237, allocations: 4.925 MB / 0.6692 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.238, allocations: 1.095 MB / 0.6702 GB, free: 138 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/1.24, allocations: 1.817 MB / 0.672 GB, free: 136.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.377e-05/1.24, allocations: 301.1 kB / 0.6723 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003807/1.244, allocations: 3.355 MB / 0.6756 GB, free: 132.5 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005964/1.25, allocations: 8.704 MB / 0.6841 GB, free: 121.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/1.262, allocations: 13.03 MB / 0.6968 GB, free: 105.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001711/1.262, allocations: 52 kB / 0.6968 GB, free: 105.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02728/1.289, allocations: 14.75 MB / 0.7112 GB, free: 90.72 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.293e-05/1.289, allocations: 84 kB / 0.7113 GB, free: 90.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01435/1.304, allocations: 6.751 MB / 0.7179 GB, free: 83.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01275/1.316, allocations: 3.316 MB / 0.7211 GB, free: 80.45 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006952/1.323, allocations: 2.094 MB / 0.7232 GB, free: 78.36 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/1.34, allocations: 17.05 MB / 0.7398 GB, free: 60.49 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007612/1.348, allocations: 0.5735 MB / 0.7404 GB, free: 59.91 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.349, allocations: 0.5346 MB / 0.7409 GB, free: 59.38 MB / 0.5138 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.004989/1.354, allocations: 3.15 MB / 0.744 GB, free: 56.22 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.355, allocations: 0.5316 MB / 0.7445 GB, free: 55.69 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.366, allocations: 6.43 MB / 0.7508 GB, free: 49.16 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008895/1.375, allocations: 5.559 MB / 0.7562 GB, free: 43.51 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008457/1.383, allocations: 5.379 MB / 0.7615 GB, free: 38.04 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-05/1.383, allocations: 15.95 kB / 0.7615 GB, free: 38.03 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02599/1.409, allocations: 16.64 MB / 0.7777 GB, free: 21.22 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.409, allocations: 8 kB / 0.7778 GB, free: 21.21 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.412, allocations: 495.2 kB / 0.7782 GB, free: 20.73 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005195/1.417, allocations: 1.847 MB / 0.78 GB, free: 18.86 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004158/1.417, allocations: 75.88 kB / 0.7801 GB, free: 18.79 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.428, allocations: 10.4 MB / 0.7903 GB, free: 7.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007926/1.429, allocations: 1.554 MB / 0.7918 GB, free: 6.273 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/1.445, allocations: 9.598 MB / 0.8011 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.446, allocations: 0.5871 MB / 0.8017 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.448, allocations: 59.98 kB / 0.8018 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/1.45, allocations: 215.7 kB / 0.802 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/1.451, allocations: 181.5 kB / 0.8022 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/1.451, allocations: 83.98 kB / 0.8022 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006935/1.458, allocations: 3.575 MB / 0.8057 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.458, allocations: 0 / 0.8057 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0096/1.468, allocations: 1.672 MB / 0.8074 GB, free: 6.113 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.001104/1.469, allocations: 283.5 kB / 0.8076 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0169/1.486, allocations: 8.713 MB / 0.8161 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.486, allocations: 384 / 0.8161 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00637/1.492, allocations: 3.197 MB / 0.8193 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005191/1.497, allocations: 0.8659 MB / 0.8201 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.287/1.784, allocations: 15.74 MB / 0.8355 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007936/1.792, allocations: 4.74 MB / 0.8401 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/1.794, allocations: 428.1 kB / 0.8405 GB, free: 172.4 MB / 0.545 GB Notification: Performance of SimCode: time 2.956e-06/1.794, allocations: 0 / 0.8405 GB, free: 172.4 MB / 0.545 GB Notification: Performance of Templates: time 0.5878/2.382, allocations: 292 MB / 1.126 GB, free: 98.8 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgLoopMain.cpp:39: ./OMCppModelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.393108530901372] 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.3915230508428067 2.400671909 1.956289836 Calling exit ...