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.001442/0.001442, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001674/0.001674, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.519/1.519, allocations: 230.5 MB / 258.1 MB, free: 7.996 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.002053/0.002053, allocations: 63.89 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2927, allocations: 53.41 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02329/0.3159, allocations: 18.55 MB / 451 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.3322, allocations: 6.211 MB / 457.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004702/0.3369, allocations: 175.1 kB / 457.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.3495, allocations: 6.114 MB / 463.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009697/0.3592, allocations: 2.607 MB / 466.1 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006711/0.3659, allocations: 2.541 MB / 468.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01329/0.3792, allocations: 7.116 MB / 475.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.3924, allocations: 5.75 MB / 481.5 MB, free: 5.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.3989, allocations: 2.808 MB / 484.3 MB, free: 2.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007197/0.4061, allocations: 3.754 MB / 488.1 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002604/0.4087, allocations: 0.625 MB / 488.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006791/0.4155, allocations: 2.056 MB / 490.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006326/0.4218, allocations: 3.452 MB / 494.2 MB, free: 8.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007911/0.4297, allocations: 3.741 MB / 497.9 MB, free: 4.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02024/0.45, allocations: 12 MB / 0.498 GB, free: 8.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.45, allocations: 4 kB / 0.498 GB, free: 8.879 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.45, allocations: 0 / 0.498 GB, free: 8.879 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000522/0.4505, allocations: 0 / 0.498 GB, free: 8.879 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.02604/0.4765, allocations: 8.457 MB / 0.5062 GB, free: 352 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4766, allocations: 8.031 kB / 0.5063 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009837/0.4864, allocations: 2.409 MB / 0.5086 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.4984, allocations: 4.142 MB / 0.5127 GB, free: 9.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005518/0.4989, allocations: 428.4 kB / 0.5131 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/0.502, allocations: 0.6635 MB / 0.5137 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/0.5424, allocations: 16.46 MB / 0.5298 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003843/0.5428, allocations: 55.52 kB / 0.5298 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/0.545, allocations: 259.8 kB / 0.5301 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004638/0.5497, allocations: 2.467 MB / 0.5325 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5272/1.077, allocations: 14.15 MB / 0.5463 GB, free: 89.77 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.08074/1.158, allocations: 62.33 MB / 0.6072 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/1.177, allocations: 6.639 MB / 0.6137 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/1.181, allocations: 3.542 MB / 0.6171 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02707/1.208, allocations: 14.42 MB / 0.6312 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/1.208, allocations: 60.5 kB / 0.6313 GB, free: 7.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 7.484e-06/1.208, allocations: 0 / 0.6313 GB, free: 7.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.07524/1.283, allocations: 26.72 MB / 0.6574 GB, free: 13.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001828/1.285, allocations: 1.594 MB / 0.6589 GB, free: 11.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/1.298, allocations: 5.76 MB / 0.6645 GB, free: 5.965 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007584/1.298, allocations: 65.7 kB / 0.6646 GB, free: 5.895 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005066/1.303, allocations: 4.915 MB / 0.6694 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002088/1.306, allocations: 1.101 MB / 0.6705 GB, free: 15.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004826/1.31, allocations: 1.814 MB / 0.6723 GB, free: 14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/1.31, allocations: 301.1 kB / 0.6725 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00647/1.317, allocations: 3.363 MB / 0.6758 GB, free: 10.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/1.33, allocations: 8.704 MB / 0.6843 GB, free: 14.98 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01992/1.349, allocations: 13.03 MB / 0.697 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/1.35, allocations: 52 kB / 0.6971 GB, free: 15.26 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03746/1.387, allocations: 14.53 MB / 0.7113 GB, free: 0.6953 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.387, allocations: 84 kB / 0.7114 GB, free: 0.6133 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01913/1.406, allocations: 6.537 MB / 0.7177 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01402/1.42, allocations: 3.31 MB / 0.721 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007882/1.428, allocations: 2.09 MB / 0.723 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0233/1.452, allocations: 16.43 MB / 0.7391 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008244/1.46, allocations: 0.5813 MB / 0.7396 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002259/1.462, allocations: 0.5273 MB / 0.7401 GB, free: 2.379 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.3588/1.821, allocations: 3.155 MB / 0.7432 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/1.822, allocations: 0.5346 MB / 0.7437 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/1.836, allocations: 6.212 MB / 0.7498 GB, free: 181.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009407/1.845, allocations: 5.325 MB / 0.755 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008498/1.854, allocations: 5.162 MB / 0.7601 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.548e-05/1.854, allocations: 15.33 kB / 0.7601 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/1.881, allocations: 16.41 MB / 0.7761 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/1.881, allocations: 14.06 kB / 0.7761 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.883, allocations: 497.5 kB / 0.7766 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004961/1.888, allocations: 1.852 MB / 0.7784 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003887/1.888, allocations: 69.38 kB / 0.7785 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009934/1.898, allocations: 10.09 MB / 0.7883 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007081/1.899, allocations: 1.457 MB / 0.7897 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.912, allocations: 9.6 MB / 0.7991 GB, free: 149 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.913, allocations: 0.503 MB / 0.7996 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006487/1.914, allocations: 59.92 kB / 0.7997 GB, free: 148.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.916, allocations: 219.7 kB / 0.7999 GB, free: 148.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/1.916, allocations: 189.3 kB / 0.8 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.916, allocations: 83.97 kB / 0.8001 GB, free: 148.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004368/1.921, allocations: 3.575 MB / 0.8036 GB, free: 144.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/1.921, allocations: 0 / 0.8036 GB, free: 144.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008336/1.929, allocations: 1.673 MB / 0.8052 GB, free: 143.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.0007476/1.93, allocations: 283.5 kB / 0.8055 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.942, allocations: 8.565 MB / 0.8139 GB, free: 134.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.942, allocations: 0 / 0.8139 GB, free: 134.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004363/1.946, allocations: 2.961 MB / 0.8168 GB, free: 131.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004439/1.951, allocations: 0.8557 MB / 0.8176 GB, free: 130.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.971, allocations: 15.9 MB / 0.8331 GB, free: 114.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004113/1.975, allocations: 4.738 MB / 0.8378 GB, free: 109.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.977, allocations: 434.1 kB / 0.8382 GB, free: 109.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/1.977, allocations: 0 / 0.8382 GB, free: 109.3 MB / 0.545 GB Notification: Performance of Templates: time 0.5537/2.531, allocations: 292 MB / 1.123 GB, free: 33.59 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:153: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:204: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:256: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:307: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:358: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:74:408: error: use of undeclared identifier 'joint_P_Q_start_' tmp257 = std::atan2(((_system->_joint_P_Q_(2) * joint_P_Q_start_(1)) + (((_system->_joint_P_Q_(4) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(2)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:51: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:103: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:153: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:204: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:256: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:307: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:358: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:76:408: error: use of undeclared identifier 'joint_P_Q_start_' tmp258 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(2)) + (((_system->_joint_P_Q_(1) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(2) * joint_P_Q_start_(4))) - (_system->_joint_P_Q_(3) * joint_P_Q_start_(1)))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:78:51: error: use of undeclared identifier 'joint_P_Q_start_' tmp259 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(2)) + (((-_system->_joint_P_Q_(2)) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(4))))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:78:102: error: use of undeclared identifier 'joint_P_Q_start_' tmp259 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(2)) + (((-_system->_joint_P_Q_(2)) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(4))))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintAlgloop929.cpp:78:156: error: use of undeclared identifier 'joint_P_Q_start_' tmp259 = std::atan2(((_system->_joint_P_Q_(4) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(2)) + (((-_system->_joint_P_Q_(2)) * joint_P_Q_start_(3)) - (_system->_joint_P_Q_(1) * joint_P_Q_start_(4))))), ((_system->_joint_P_Q_(1) * joint_P_Q_start_(1)) + ((_system->_joint_P_Q_(2) * joint_P_Q_start_(2)) + ((_system->_joint_P_Q_(3) * joint_P_Q_start_(3)) + (_system->_joint_P_Q_(4) * joint_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.627795520005748] 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.540834535844624 2.551936793 2.099014001 Calling exit ...