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.001521/0.001521, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001693/0.001693, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001672/0.001672, allocations: 63.91 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2572, allocations: 53.36 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.0218/0.279, allocations: 18.55 MB / 450.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.2928, allocations: 6.217 MB / 457.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/0.2956, allocations: 171.1 kB / 457.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.3064, allocations: 6.114 MB / 463.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007006/0.3134, allocations: 2.611 MB / 466.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005761/0.3192, allocations: 2.533 MB / 468.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01209/0.3313, allocations: 7.117 MB / 475.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008486/0.3398, allocations: 5.757 MB / 481.5 MB, free: 5.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004937/0.3447, allocations: 2.793 MB / 484.2 MB, free: 2.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.3508, allocations: 3.758 MB / 488 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.3529, allocations: 0.625 MB / 488.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/0.3578, allocations: 2.068 MB / 490.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.3626, allocations: 3.436 MB / 494.1 MB, free: 8.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006244/0.3688, allocations: 3.745 MB / 497.9 MB, free: 5.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.3865, allocations: 12.01 MB / 0.4979 GB, free: 9.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3865, allocations: 0 / 0.4979 GB, free: 9.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3865, allocations: 0 / 0.4979 GB, free: 9.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004776/0.387, allocations: 3.844 kB / 0.4979 GB, free: 9.078 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.0277/0.4147, allocations: 8.457 MB / 0.5062 GB, free: 0.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4147, allocations: 8.031 kB / 0.5062 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009571/0.4243, allocations: 2.407 MB / 0.5086 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/0.436, allocations: 4.142 MB / 0.5126 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005012/0.4365, allocations: 439.2 kB / 0.513 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/0.4392, allocations: 0.6557 MB / 0.5137 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03885/0.4781, allocations: 16.47 MB / 0.5297 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/0.4784, allocations: 55.52 kB / 0.5298 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002024/0.4804, allocations: 259.8 kB / 0.53 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004074/0.4845, allocations: 2.463 MB / 0.5324 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4488/0.9333, allocations: 14.15 MB / 0.5463 GB, free: 90.1 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.06782/1.001, allocations: 62.34 MB / 0.6071 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/1.019, allocations: 6.636 MB / 0.6136 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003965/1.023, allocations: 3.539 MB / 0.6171 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02306/1.046, allocations: 14.41 MB / 0.6312 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/1.046, allocations: 64.5 kB / 0.6312 GB, free: 8.164 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 6.913e-06/1.046, allocations: 0 / 0.6312 GB, free: 8.164 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.07299/1.119, allocations: 26.71 MB / 0.6573 GB, free: 13.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00162/1.121, allocations: 1.597 MB / 0.6589 GB, free: 11.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.133, allocations: 5.756 MB / 0.6645 GB, free: 6.328 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007418/1.134, allocations: 69.3 kB / 0.6645 GB, free: 6.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004818/1.139, allocations: 4.918 MB / 0.6693 GB, free: 1.301 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002114/1.141, allocations: 1.097 MB / 0.6704 GB, free: 200 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005513/1.146, allocations: 1.821 MB / 0.6722 GB, free: 14.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/1.146, allocations: 301.1 kB / 0.6725 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/1.153, allocations: 3.363 MB / 0.6758 GB, free: 10.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/1.165, allocations: 8.701 MB / 0.6843 GB, free: 15.34 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/1.184, allocations: 13.02 MB / 0.697 GB, free: 15.68 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002207/1.184, allocations: 56 kB / 0.697 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03695/1.221, allocations: 14.52 MB / 0.7112 GB, free: 1.066 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002994/1.221, allocations: 88.03 kB / 0.7113 GB, free: 0.9805 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01918/1.24, allocations: 6.537 MB / 0.7177 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01389/1.254, allocations: 3.314 MB / 0.7209 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007466/1.262, allocations: 2.098 MB / 0.723 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/1.284, allocations: 16.43 MB / 0.739 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/1.292, allocations: 0.5813 MB / 0.7396 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/1.294, allocations: 0.5312 MB / 0.7401 GB, free: 2.727 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 859 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1103): * Single equations (assignments): 1087 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,3,100.0%), (3,3,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2833/1.577, allocations: 3.151 MB / 0.7432 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/1.579, allocations: 0.5363 MB / 0.7437 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.592, allocations: 6.208 MB / 0.7498 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00887/1.601, allocations: 5.331 MB / 0.755 GB, free: 180.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00827/1.61, allocations: 5.156 MB / 0.76 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.393e-05/1.61, allocations: 13.73 kB / 0.76 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/1.64, allocations: 16.42 MB / 0.7761 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/1.64, allocations: 11.41 kB / 0.7761 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/1.643, allocations: 496.7 kB / 0.7765 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004813/1.647, allocations: 1.853 MB / 0.7783 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003864/1.648, allocations: 63.97 kB / 0.7784 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.658, allocations: 10.09 MB / 0.7883 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007612/1.659, allocations: 1.461 MB / 0.7897 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.673, allocations: 9.593 MB / 0.7991 GB, free: 149.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.675, allocations: 0.5041 MB / 0.7995 GB, free: 149.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/1.676, allocations: 55.98 kB / 0.7996 GB, free: 149.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/1.68, allocations: 219.7 kB / 0.7998 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005897/1.68, allocations: 193.1 kB / 0.8 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003033/1.681, allocations: 87.62 kB / 0.8001 GB, free: 148.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00649/1.687, allocations: 3.575 MB / 0.8036 GB, free: 145.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.687, allocations: 0 / 0.8036 GB, free: 145.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009393/1.696, allocations: 1.667 MB / 0.8052 GB, free: 143.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 213 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,100.0%), (3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/1.698, allocations: 279.1 kB / 0.8055 GB, free: 143.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.711, allocations: 8.571 MB / 0.8138 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.711, allocations: 0 / 0.8138 GB, free: 134.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00484/1.716, allocations: 2.962 MB / 0.8167 GB, free: 131.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/1.723, allocations: 0.8559 MB / 0.8176 GB, free: 130.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/1.752, allocations: 15.9 MB / 0.8331 GB, free: 115 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007515/1.76, allocations: 4.749 MB / 0.8377 GB, free: 110.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.761, allocations: 423.4 kB / 0.8381 GB, free: 109.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.204e-06/1.761, allocations: 0 / 0.8381 GB, free: 109.8 MB / 0.545 GB Notification: Performance of Templates: time 0.4647/2.226, allocations: 292 MB / 1.123 GB, free: 33.68 MB / 0.5607 GB " [Timeout remaining time 658] 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.041757381055504] 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.23590797604993 2.245257662 1.8563021800000001 Calling exit ...