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.001399/0.001399, allocations: 103.6 kB / 21.18 MB, free: 0.668 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.001493/0.001493, allocations: 209.1 kB / 24.48 MB, free: 3.965 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.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.001507/0.001507, allocations: 59.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2788, allocations: 53.37 MB / 432.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02033/0.2991, allocations: 15.96 MB / 448.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.3128, allocations: 5.934 MB / 454.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003985/0.3168, allocations: 175.1 kB / 454.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.3282, allocations: 5.838 MB / 460.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007702/0.3359, allocations: 2.622 MB / 462.9 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005572/0.3415, allocations: 2.456 MB / 465.3 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.3517, allocations: 7.112 MB / 472.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007803/0.3595, allocations: 5.762 MB / 478.2 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004975/0.3645, allocations: 2.805 MB / 481 MB, free: 5.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005836/0.3703, allocations: 3.758 MB / 484.7 MB, free: 2.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.372, allocations: 0.625 MB / 485.4 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/0.3759, allocations: 1.919 MB / 487.3 MB, free: 15.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003699/0.3796, allocations: 3.448 MB / 490.7 MB, free: 12.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004049/0.3837, allocations: 2.824 MB / 493.6 MB, free: 9.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.3978, allocations: 12.06 MB / 0.4938 GB, free: 13.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3978, allocations: 0 / 0.4938 GB, free: 13.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3978, allocations: 0 / 0.4938 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003685/0.3982, allocations: 0 / 0.4938 GB, free: 13.27 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.02042/0.4186, allocations: 8.457 MB / 0.502 GB, free: 4.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4186, allocations: 8.031 kB / 0.502 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008218/0.4268, allocations: 2.406 MB / 0.5044 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.4384, allocations: 4.161 MB / 0.5085 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.4389, allocations: 431.2 kB / 0.5089 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/0.4418, allocations: 0.6596 MB / 0.5095 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03549/0.4773, allocations: 16.52 MB / 0.5256 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/0.4776, allocations: 55.52 kB / 0.5257 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/0.4795, allocations: 263.8 kB / 0.5259 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004289/0.4838, allocations: 2.455 MB / 0.5283 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5311/1.015, allocations: 14.13 MB / 0.5421 GB, free: 91.98 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.07136/1.086, allocations: 57.79 MB / 0.5986 GB, free: 41.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.105, allocations: 6.616 MB / 0.605 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/1.109, allocations: 3.54 MB / 0.6085 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02135/1.131, allocations: 13.66 MB / 0.6218 GB, free: 17.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/1.131, allocations: 60.5 kB / 0.6219 GB, free: 17.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 6.422e-06/1.131, allocations: 0 / 0.6219 GB, free: 17.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.06577/1.197, allocations: 26.77 MB / 0.648 GB, free: 7.133 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001647/1.198, allocations: 1.571 MB / 0.6496 GB, free: 5.422 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00924/1.207, allocations: 5.61 MB / 0.655 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008233/1.208, allocations: 65.45 kB / 0.6551 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005204/1.213, allocations: 4.947 MB / 0.6599 GB, free: 10.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00205/1.215, allocations: 1.105 MB / 0.661 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002932/1.218, allocations: 1.814 MB / 0.6628 GB, free: 7.969 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/1.219, allocations: 305.1 kB / 0.6631 GB, free: 7.668 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005604/1.224, allocations: 3.359 MB / 0.6664 GB, free: 4.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01175/1.236, allocations: 8.7 MB / 0.6749 GB, free: 8.949 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01867/1.255, allocations: 13.03 MB / 0.6876 GB, free: 9.277 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/1.255, allocations: 52 kB / 0.6876 GB, free: 9.227 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03447/1.289, allocations: 14.48 MB / 0.7018 GB, free: 10.71 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/1.289, allocations: 87.94 kB / 0.7019 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01731/1.307, allocations: 6.529 MB / 0.7082 GB, free: 4.066 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01357/1.32, allocations: 3.314 MB / 0.7115 GB, free: 0.7227 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007674/1.328, allocations: 2.086 MB / 0.7135 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/1.35, allocations: 16.18 MB / 0.7293 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008137/1.358, allocations: 0.5774 MB / 0.7299 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.36, allocations: 0.5351 MB / 0.7304 GB, free: 12.72 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.006555/1.367, allocations: 3.171 MB / 0.7335 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.368, allocations: 0.5005 MB / 0.734 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/1.38, allocations: 6.166 MB / 0.74 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2755/1.656, allocations: 5.323 MB / 0.7452 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01067/1.667, allocations: 5.157 MB / 0.7502 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.993e-05/1.667, allocations: 18.98 kB / 0.7502 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03293/1.7, allocations: 14.69 MB / 0.7646 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/1.7, allocations: 7.406 kB / 0.7646 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/1.702, allocations: 493.8 kB / 0.7651 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005197/1.707, allocations: 1.852 MB / 0.7669 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/1.708, allocations: 76.89 kB / 0.767 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/1.718, allocations: 9.95 MB / 0.7767 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007663/1.719, allocations: 1.445 MB / 0.7781 GB, free: 170.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.733, allocations: 9.56 MB / 0.7874 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.735, allocations: 472.1 kB / 0.7879 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/1.736, allocations: 59.98 kB / 0.7879 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.739, allocations: 211.7 kB / 0.7881 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005637/1.739, allocations: 199.5 kB / 0.7883 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/1.74, allocations: 83.97 kB / 0.7884 GB, free: 160.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005251/1.745, allocations: 3.251 MB / 0.7916 GB, free: 157.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.745, allocations: 0 / 0.7916 GB, free: 157.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008605/1.753, allocations: 1.659 MB / 0.7932 GB, free: 155.9 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.001143/1.755, allocations: 278.8 kB / 0.7935 GB, free: 155.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.768, allocations: 8.572 MB / 0.8018 GB, free: 147.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/1.768, allocations: 1.875 kB / 0.8018 GB, free: 147.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004966/1.773, allocations: 2.963 MB / 0.8047 GB, free: 144.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/1.778, allocations: 0.7815 MB / 0.8055 GB, free: 143.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02836/1.807, allocations: 15.87 MB / 0.821 GB, free: 127.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/1.814, allocations: 4.245 MB / 0.8251 GB, free: 123.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.816, allocations: 407.4 kB / 0.8255 GB, free: 122.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/1.816, allocations: 0 / 0.8255 GB, free: 122.7 MB / 0.545 GB Notification: Performance of Templates: time 0.4966/2.312, allocations: 292.5 MB / 1.111 GB, free: 45.65 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 -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_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_' 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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraintCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.209479489014484] 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.3222737449686974 2.3326657060000002 1.932322497 Calling exit ...