Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001779/0.001779, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 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.001734/0.001734, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 254.8 MB, free: 15.07 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+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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 51.92 kB / 374.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1245, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.265/0.3895, allocations: 18.5 MB / 446 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.4064, allocations: 6.174 MB / 452.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00601/0.4124, allocations: 172.8 kB / 452.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01348/0.4259, allocations: 6.084 MB / 458.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.438, allocations: 2.608 MB / 461 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007077/0.4451, allocations: 2.497 MB / 463.5 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0145/0.4596, allocations: 7.109 MB / 470.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.4726, allocations: 6.533 MB / 477.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006883/0.4795, allocations: 2.797 MB / 480 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007262/0.4868, allocations: 3.762 MB / 483.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002639/0.4894, allocations: 0.625 MB / 484.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/0.4957, allocations: 2.056 MB / 486.4 MB, free: 5.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005748/0.5014, allocations: 3.436 MB / 489.8 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008834/0.5103, allocations: 3.749 MB / 493.6 MB, free: 14.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02062/0.5309, allocations: 12.01 MB / 0.4937 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.5309, allocations: 0 / 0.4937 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5309, allocations: 0 / 0.4937 GB, free: 2.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000464/0.5313, allocations: 0 / 0.4937 GB, free: 2.109 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.02599/0.5573, allocations: 8.528 MB / 0.5021 GB, free: 9.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5574, allocations: 8.031 kB / 0.5021 GB, free: 9.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.5677, allocations: 2.406 MB / 0.5044 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.5788, allocations: 4.237 MB / 0.5086 GB, free: 2.742 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/0.5793, allocations: 428.3 kB / 0.509 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003095/0.5824, allocations: 0.6596 MB / 0.5096 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03941/0.6218, allocations: 16.46 MB / 0.5257 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003492/0.6222, allocations: 59.45 kB / 0.5258 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002231/0.6244, allocations: 263.9 kB / 0.526 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004256/0.6286, allocations: 2.465 MB / 0.5284 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03377/0.6624, allocations: 14.16 MB / 0.5422 GB, free: 15.32 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.1119/0.7743, allocations: 62.56 MB / 0.6033 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/0.7992, allocations: 7.086 MB / 0.6102 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006332/0.8055, allocations: 3.52 MB / 0.6137 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4873/1.293, allocations: 16.5 MB / 0.6298 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/1.293, allocations: 67.78 kB / 0.6299 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=253): time 6.342e-06/1.293, allocations: 0 / 0.6299 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=269): time 0.08285/1.376, allocations: 27.52 MB / 0.6567 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001201/1.377, allocations: 1.695 MB / 0.6584 GB, free: 144.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009075/1.386, allocations: 5.763 MB / 0.664 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007061/1.387, allocations: 61.7 kB / 0.6641 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002468/1.389, allocations: 4.916 MB / 0.6689 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.391, allocations: 1.096 MB / 0.6699 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/1.393, allocations: 1.821 MB / 0.6717 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/1.393, allocations: 301.1 kB / 0.672 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003807/1.397, allocations: 3.366 MB / 0.6753 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006045/1.403, allocations: 8.702 MB / 0.6838 GB, free: 120.6 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/1.415, allocations: 13.02 MB / 0.6965 GB, free: 105 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001433/1.415, allocations: 63.81 kB / 0.6966 GB, free: 104.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03141/1.446, allocations: 14.75 MB / 0.711 GB, free: 90.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/1.446, allocations: 84 kB / 0.711 GB, free: 90.02 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01643/1.463, allocations: 6.756 MB / 0.7176 GB, free: 83.17 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/1.476, allocations: 3.306 MB / 0.7209 GB, free: 79.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007076/1.483, allocations: 2.098 MB / 0.7229 GB, free: 77.73 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.5, allocations: 17.03 MB / 0.7396 GB, free: 59.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008739/1.509, allocations: 0.5891 MB / 0.7401 GB, free: 59.29 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/1.511, allocations: 0.5279 MB / 0.7406 GB, free: 58.76 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.006611/1.518, allocations: 3.161 MB / 0.7437 GB, free: 55.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.519, allocations: 0.5355 MB / 0.7443 GB, free: 55.06 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.532, allocations: 6.427 MB / 0.7505 GB, free: 48.54 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009412/1.541, allocations: 5.544 MB / 0.7559 GB, free: 42.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008968/1.55, allocations: 5.385 MB / 0.7612 GB, free: 37.43 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/1.55, allocations: 15.95 kB / 0.7612 GB, free: 37.41 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03181/1.582, allocations: 16.65 MB / 0.7775 GB, free: 20.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/1.582, allocations: 12.03 kB / 0.7775 GB, free: 20.59 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/1.585, allocations: 495.2 kB / 0.778 GB, free: 20.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005556/1.59, allocations: 1.846 MB / 0.7798 GB, free: 18.23 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000661/1.591, allocations: 68.42 kB / 0.7798 GB, free: 18.17 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.602, allocations: 10.4 MB / 0.79 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008759/1.603, allocations: 1.564 MB / 0.7915 GB, free: 5.645 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/1.621, allocations: 9.604 MB / 0.8009 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.623, allocations: 0.5793 MB / 0.8015 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001821/1.625, allocations: 55.98 kB / 0.8015 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/1.629, allocations: 215.7 kB / 0.8017 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009178/1.63, allocations: 189.5 kB / 0.8019 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004971/1.63, allocations: 79.98 kB / 0.802 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009734/1.64, allocations: 3.575 MB / 0.8055 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.9e-07/1.64, allocations: 0 / 0.8055 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01272/1.653, allocations: 1.664 MB / 0.8071 GB, free: 5.492 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.001556/1.654, allocations: 282.1 kB / 0.8074 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0212/1.676, allocations: 8.718 MB / 0.8159 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.676, allocations: 0 / 0.8159 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007328/1.683, allocations: 3.193 MB / 0.819 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008284/1.691, allocations: 0.8514 MB / 0.8198 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3081/1.999, allocations: 15.75 MB / 0.8352 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00775/2.007, allocations: 4.741 MB / 0.8398 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/2.009, allocations: 424.6 kB / 0.8402 GB, free: 172.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/2.009, allocations: 0 / 0.8402 GB, free: 172.3 MB / 0.545 GB Notification: Performance of Templates: time 0.5322/2.541, allocations: 292 MB / 1.125 GB, free: 98 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -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_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgLoopMain.cpp:39: ./OMCppModelica_4.1.0_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.7591128640051465] 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.551839417021256 2.560810596 2.02733589 Calling exit ...