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.00137/0.00137, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001485/0.001485, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.499/1.499, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.003082/0.003082, allocations: 67.89 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.306, allocations: 53.4 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.01992/0.3259, allocations: 15.97 MB / 448.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.3407, allocations: 5.93 MB / 454.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.3447, allocations: 171.1 kB / 454.5 MB, free: 376 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01213/0.3569, allocations: 5.845 MB / 460.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008177/0.365, allocations: 2.626 MB / 462.9 MB, free: 7.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.3706, allocations: 2.456 MB / 465.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.3816, allocations: 7.105 MB / 472.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007832/0.3894, allocations: 5.722 MB / 478.2 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005364/0.3948, allocations: 2.808 MB / 481 MB, free: 5.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/0.4011, allocations: 3.465 MB / 484.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001842/0.4029, allocations: 0.625 MB / 485.1 MB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.4074, allocations: 1.904 MB / 487 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004071/0.4115, allocations: 3.44 MB / 490.4 MB, free: 12.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004999/0.4165, allocations: 2.84 MB / 493.3 MB, free: 9.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0188/0.4353, allocations: 12.06 MB / 0.4935 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.4353, allocations: 0 / 0.4935 GB, free: 13.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4353, allocations: 0 / 0.4935 GB, free: 13.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004835/0.4358, allocations: 0 / 0.4935 GB, free: 13.23 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.02464/0.4604, allocations: 8.449 MB / 0.5018 GB, free: 4.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4605, allocations: 8.031 kB / 0.5018 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008329/0.4688, allocations: 2.41 MB / 0.5041 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.4798, allocations: 4.169 MB / 0.5082 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/0.4802, allocations: 431.2 kB / 0.5086 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002228/0.4824, allocations: 0.6518 MB / 0.5092 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03829/0.5207, allocations: 16.51 MB / 0.5254 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003836/0.5211, allocations: 59.5 kB / 0.5254 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002605/0.5237, allocations: 259.8 kB / 0.5257 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00432/0.528, allocations: 2.467 MB / 0.5281 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.514/1.042, allocations: 14.12 MB / 0.5419 GB, free: 91.73 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.06394/1.106, allocations: 57.8 MB / 0.5983 GB, free: 40.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/1.125, allocations: 6.616 MB / 0.6048 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/1.129, allocations: 3.533 MB / 0.6082 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02265/1.152, allocations: 13.66 MB / 0.6216 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/1.152, allocations: 64.5 kB / 0.6216 GB, free: 17.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 8.516e-06/1.152, allocations: 3.984 kB / 0.6216 GB, free: 17.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.07114/1.223, allocations: 26.76 MB / 0.6478 GB, free: 6.777 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001575/1.225, allocations: 1.571 MB / 0.6493 GB, free: 5.066 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.237, allocations: 5.614 MB / 0.6548 GB, free: 15.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007309/1.237, allocations: 65.92 kB / 0.6548 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004834/1.242, allocations: 4.948 MB / 0.6597 GB, free: 10.53 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/1.244, allocations: 1.097 MB / 0.6607 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005074/1.249, allocations: 1.814 MB / 0.6625 GB, free: 7.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/1.249, allocations: 309.1 kB / 0.6628 GB, free: 7.289 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006415/1.256, allocations: 3.359 MB / 0.6661 GB, free: 3.922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/1.268, allocations: 8.704 MB / 0.6746 GB, free: 8.566 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/1.288, allocations: 13.02 MB / 0.6873 GB, free: 8.902 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003274/1.288, allocations: 52.28 kB / 0.6873 GB, free: 8.852 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03888/1.327, allocations: 14.49 MB / 0.7015 GB, free: 10.33 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003721/1.328, allocations: 87.94 kB / 0.7016 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01963/1.347, allocations: 6.533 MB / 0.708 GB, free: 3.684 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/1.362, allocations: 3.314 MB / 0.7112 GB, free: 348 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008513/1.37, allocations: 2.094 MB / 0.7132 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/1.394, allocations: 16.17 MB / 0.729 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008176/1.402, allocations: 0.5813 MB / 0.7296 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/1.404, allocations: 0.5234 MB / 0.7301 GB, free: 12.34 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.008453/1.412, allocations: 3.171 MB / 0.7332 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/1.414, allocations: 0.5005 MB / 0.7337 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.429, allocations: 6.166 MB / 0.7397 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.309/1.738, allocations: 5.328 MB / 0.7449 GB, free: 184.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009436/1.747, allocations: 5.159 MB / 0.75 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-05/1.747, allocations: 11.25 kB / 0.75 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02877/1.776, allocations: 14.69 MB / 0.7643 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/1.776, allocations: 9 kB / 0.7643 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.778, allocations: 0.4924 MB / 0.7648 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00534/1.784, allocations: 1.845 MB / 0.7666 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003645/1.784, allocations: 66.16 kB / 0.7667 GB, free: 178.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/1.795, allocations: 9.968 MB / 0.7764 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008178/1.796, allocations: 1.441 MB / 0.7778 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.81, allocations: 9.561 MB / 0.7871 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.812, allocations: 473 kB / 0.7876 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/1.813, allocations: 59.98 kB / 0.7877 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/1.816, allocations: 215.7 kB / 0.7879 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/1.816, allocations: 197.4 kB / 0.788 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.817, allocations: 79.98 kB / 0.7881 GB, free: 160 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005622/1.822, allocations: 3.244 MB / 0.7913 GB, free: 156.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.822, allocations: 0 / 0.7913 GB, free: 156.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008539/1.831, allocations: 1.661 MB / 0.7929 GB, free: 155.1 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.001067/1.832, allocations: 283.5 kB / 0.7932 GB, free: 154.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.845, allocations: 8.566 MB / 0.8015 GB, free: 146.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.845, allocations: 0 / 0.8015 GB, free: 146.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004853/1.85, allocations: 2.967 MB / 0.8044 GB, free: 143.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006385/1.856, allocations: 0.7849 MB / 0.8052 GB, free: 142.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/1.886, allocations: 15.86 MB / 0.8207 GB, free: 126.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006667/1.893, allocations: 4.247 MB / 0.8249 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001601/1.894, allocations: 407.4 kB / 0.8252 GB, free: 122 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.894, allocations: 0 / 0.8252 GB, free: 122 MB / 0.545 GB Notification: Performance of Templates: time 0.5498/2.444, allocations: 292.5 MB / 1.111 GB, free: 45.27 MB / 0.5607 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 -DOMC_BUILD -DUSE_THREAD -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_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_' tmp225 = 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_' tmp225 = 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_' tmp225 = 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_' tmp225 = 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_' tmp225 = 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_' tmp225 = 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_' tmp225 = 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_' tmp225 = 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_' tmp226 = 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_' tmp226 = 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_' tmp226 = 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_' tmp226 = 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_' tmp226 = 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_' tmp226 = 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_' tmp226 = 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_' tmp226 = 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_' tmp227 = 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_' tmp227 = 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_' tmp227 = 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.8540153009817] 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.45604134676978 2.465218094 2.027294081 Calling exit ...