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.001401/0.001401, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001492/0.001492, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.001617/0.001617, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2645, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02025/0.2848, allocations: 15.95 MB / 448.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2986, allocations: 5.937 MB / 454.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/0.3023, allocations: 175.1 kB / 454.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.314, allocations: 5.841 MB / 460.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007225/0.3212, allocations: 2.618 MB / 462.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005673/0.3269, allocations: 2.459 MB / 465.3 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.338, allocations: 7.109 MB / 472.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009534/0.3476, allocations: 5.723 MB / 478.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.3532, allocations: 2.805 MB / 480.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006513/0.3597, allocations: 3.473 MB / 484.4 MB, free: 2.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.3617, allocations: 0.625 MB / 485 MB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004685/0.3664, allocations: 1.904 MB / 486.9 MB, free: 15.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004775/0.3712, allocations: 3.44 MB / 490.4 MB, free: 12.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00495/0.3761, allocations: 2.832 MB / 493.2 MB, free: 9.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.3923, allocations: 12.06 MB / 0.4934 GB, free: 13.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3923, allocations: 0 / 0.4934 GB, free: 13.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3923, allocations: 0 / 0.4934 GB, free: 13.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003433/0.3927, allocations: 0 / 0.4934 GB, free: 13.45 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.02067/0.4133, allocations: 8.445 MB / 0.5017 GB, free: 4.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4134, allocations: 16.03 kB / 0.5017 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008401/0.4218, allocations: 2.403 MB / 0.5041 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.4324, allocations: 4.165 MB / 0.5081 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004236/0.4328, allocations: 435.2 kB / 0.5085 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.4348, allocations: 0.6557 MB / 0.5092 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/0.4697, allocations: 16.51 MB / 0.5253 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002251/0.4699, allocations: 55.52 kB / 0.5254 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001246/0.4711, allocations: 259.8 kB / 0.5256 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/0.4751, allocations: 2.467 MB / 0.528 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4372/0.9123, allocations: 14.12 MB / 0.5418 GB, free: 91.88 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.05886/0.9712, allocations: 57.8 MB / 0.5982 GB, free: 41.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/0.9893, allocations: 6.625 MB / 0.6047 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003672/0.993, allocations: 3.533 MB / 0.6082 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02146/1.014, allocations: 13.66 MB / 0.6215 GB, free: 17.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/1.014, allocations: 60.5 kB / 0.6216 GB, free: 17.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=253): time 5.851e-06/1.014, allocations: 0 / 0.6216 GB, free: 17.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=269): time 0.06324/1.078, allocations: 26.76 MB / 0.6477 GB, free: 7.156 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001828/1.08, allocations: 1.564 MB / 0.6492 GB, free: 5.453 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.091, allocations: 5.615 MB / 0.6547 GB, free: 15.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007793/1.092, allocations: 69.47 kB / 0.6548 GB, free: 15.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004855/1.097, allocations: 4.945 MB / 0.6596 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.098, allocations: 1.097 MB / 0.6607 GB, free: 9.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004297/1.103, allocations: 1.814 MB / 0.6624 GB, free: 8.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/1.103, allocations: 308.9 kB / 0.6627 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006163/1.109, allocations: 3.359 MB / 0.666 GB, free: 4.336 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01336/1.122, allocations: 8.697 MB / 0.6745 GB, free: 8.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02041/1.143, allocations: 13.03 MB / 0.6872 GB, free: 9.316 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002608/1.143, allocations: 56 kB / 0.6873 GB, free: 9.262 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.03821/1.181, allocations: 14.48 MB / 0.7014 GB, free: 10.75 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003157/1.182, allocations: 91.98 kB / 0.7015 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01946/1.201, allocations: 6.529 MB / 0.7079 GB, free: 4.102 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01439/1.215, allocations: 3.314 MB / 0.7111 GB, free: 0.7578 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008228/1.224, allocations: 2.098 MB / 0.7132 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/1.248, allocations: 16.18 MB / 0.729 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008168/1.256, allocations: 0.5813 MB / 0.7295 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002108/1.258, allocations: 0.5273 MB / 0.7301 GB, free: 12.74 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.008264/1.266, allocations: 3.162 MB / 0.7331 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001791/1.268, allocations: 0.5044 MB / 0.7336 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/1.283, allocations: 6.174 MB / 0.7397 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2806/1.563, allocations: 5.325 MB / 0.7449 GB, free: 184.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00957/1.573, allocations: 5.154 MB / 0.7499 GB, free: 184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-05/1.573, allocations: 14.53 kB / 0.7499 GB, free: 184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.6, allocations: 14.69 MB / 0.7643 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/1.6, allocations: 7.812 kB / 0.7643 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/1.602, allocations: 0.4891 MB / 0.7648 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005035/1.607, allocations: 1.851 MB / 0.7666 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002618/1.607, allocations: 69.95 kB / 0.7666 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/1.617, allocations: 9.946 MB / 0.7763 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007534/1.618, allocations: 1.441 MB / 0.7777 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/1.632, allocations: 9.559 MB / 0.7871 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/1.634, allocations: 470.3 kB / 0.7875 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/1.635, allocations: 59.98 kB / 0.7876 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/1.638, allocations: 219.1 kB / 0.7878 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005837/1.639, allocations: 201.3 kB / 0.788 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/1.639, allocations: 75.98 kB / 0.7881 GB, free: 160.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005557/1.645, allocations: 3.251 MB / 0.7912 GB, free: 157.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.645, allocations: 0 / 0.7912 GB, free: 157.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008283/1.653, allocations: 1.659 MB / 0.7929 GB, free: 155.7 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.001022/1.654, allocations: 278.4 kB / 0.7931 GB, free: 155.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.667, allocations: 8.568 MB / 0.8015 GB, free: 146.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.667, allocations: 4 kB / 0.8015 GB, free: 146.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00488/1.672, allocations: 2.97 MB / 0.8044 GB, free: 143.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005598/1.678, allocations: 0.7777 MB / 0.8052 GB, free: 143.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/1.705, allocations: 15.86 MB / 0.8206 GB, free: 127.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00718/1.712, allocations: 4.247 MB / 0.8248 GB, free: 123 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/1.714, allocations: 415.3 kB / 0.8252 GB, free: 122.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.714, allocations: 0 / 0.8252 GB, free: 122.6 MB / 0.545 GB Notification: Performance of Templates: time 0.4951/2.209, allocations: 292.5 MB / 1.111 GB, free: 45.52 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.189539832063019] 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.2187865539453924 2.227955419 1.833090744 Calling exit ...