Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.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.001328/0.001328, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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: 210.1 kB / 24.5 MB, free: 4.152 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 46.94 MB / 361.6 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 75.88 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3947, allocations: 66.03 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01346/0.4082, allocations: 11.21 MB / 0.5728 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009131/0.4173, allocations: 4.139 MB / 0.5769 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.4196, allocations: 75.62 kB / 0.5769 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006041/0.4256, allocations: 2.858 MB / 0.5797 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.432, allocations: 1.798 MB / 0.5815 GB, free: 280 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.4343, allocations: 0.6902 MB / 0.5822 GB, free: 15.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006731/0.441, allocations: 3.681 MB / 0.5857 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005369/0.4464, allocations: 2.874 MB / 0.5886 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.4499, allocations: 1.523 MB / 0.59 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00416/0.454, allocations: 2.145 MB / 0.5921 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.4553, allocations: 332 kB / 0.5925 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.4586, allocations: 1.229 MB / 0.5937 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003059/0.4617, allocations: 1.92 MB / 0.5955 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004424/0.4661, allocations: 2.148 MB / 0.5976 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.478, allocations: 6.847 MB / 0.6043 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.478, allocations: 0 / 0.6043 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.478, allocations: 0 / 0.6043 GB, free: 8.758 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003098/0.4783, allocations: 0 / 0.6043 GB, free: 8.758 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.01383/0.4921, allocations: 4.61 MB / 0.6088 GB, free: 4.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4922, allocations: 11.97 kB / 0.6088 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008055/0.5002, allocations: 1.96 MB / 0.6107 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007021/0.5073, allocations: 2.098 MB / 0.6128 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.5076, allocations: 242.5 kB / 0.613 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.5094, allocations: 411.6 kB / 0.6134 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/0.5321, allocations: 9.744 MB / 0.6229 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.5322, allocations: 43.64 kB / 0.623 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004335/0.5326, allocations: 159.8 kB / 0.6231 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002836/0.5355, allocations: 1.763 MB / 0.6248 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.5535, allocations: 8.07 MB / 0.6327 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/0.6135, allocations: 38.12 MB / 0.67 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009916/0.6235, allocations: 3.154 MB / 0.673 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.6261, allocations: 1.553 MB / 0.6746 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01358/0.6397, allocations: 6.287 MB / 0.6807 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.6397, allocations: 55.5 kB / 0.6807 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 4.048e-06/0.6397, allocations: 0 / 0.6807 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.03251/0.6722, allocations: 12.25 MB / 0.6927 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001671/0.6739, allocations: 1.603 MB / 0.6943 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006296/0.6802, allocations: 3.808 MB / 0.698 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.6806, allocations: 41.7 kB / 0.698 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002958/0.6835, allocations: 3.131 MB / 0.7011 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/0.6846, allocations: 0.6281 MB / 0.7017 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/0.6863, allocations: 1.179 MB / 0.7029 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6865, allocations: 305.1 kB / 0.7031 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.6897, allocations: 2.041 MB / 0.7051 GB, free: 15.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006461/0.6961, allocations: 5.646 MB / 0.7106 GB, free: 7.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.7071, allocations: 8.275 MB / 0.7187 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.7072, allocations: 36 kB / 0.7188 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02315/0.7304, allocations: 9.224 MB / 0.7278 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.7306, allocations: 63.98 kB / 0.7278 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01177/0.7424, allocations: 3.654 MB / 0.7314 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2838/1.026, allocations: 2.307 MB / 0.7337 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/1.03, allocations: 1.327 MB / 0.735 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00816/1.038, allocations: 7.297 MB / 0.7421 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/1.043, allocations: 400.3 kB / 0.7425 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007594/1.043, allocations: 357 kB / 0.7428 GB, free: 146.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (713): * Single equations (assignments): 704 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002746/1.046, allocations: 2.006 MB / 0.7448 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005208/1.047, allocations: 335.4 kB / 0.7451 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006842/1.047, allocations: 444.8 kB / 0.7455 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004038/1.051, allocations: 2.488 MB / 0.7479 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.051, allocations: 3 kB / 0.7479 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.051, allocations: 7.828 kB / 0.7479 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.064, allocations: 8.293 MB / 0.756 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.064, allocations: 7.938 kB / 0.756 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.065, allocations: 246 kB / 0.7563 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/1.067, allocations: 1.045 MB / 0.7573 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.067, allocations: 31.98 kB / 0.7573 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/1.072, allocations: 5.127 MB / 0.7623 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006736/1.072, allocations: 1.479 MB / 0.7638 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/1.079, allocations: 5.21 MB / 0.7689 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.08, allocations: 331.7 kB / 0.7692 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/1.081, allocations: 28 kB / 0.7692 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.082, allocations: 139.8 kB / 0.7693 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/1.082, allocations: 98.7 kB / 0.7694 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.082, allocations: 47.92 kB / 0.7695 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002579/1.085, allocations: 2.35 MB / 0.7718 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.085, allocations: 0 / 0.7718 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003865/1.089, allocations: 1.027 MB / 0.7728 GB, free: 123.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003934/1.089, allocations: 158 kB / 0.7729 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007426/1.096, allocations: 5.187 MB / 0.778 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/1.096, allocations: 0 / 0.778 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00328/1.1, allocations: 1.929 MB / 0.7799 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.102, allocations: 435.8 kB / 0.7803 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/1.115, allocations: 9.745 MB / 0.7898 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/1.118, allocations: 3.12 MB / 0.7929 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/1.119, allocations: 271.4 kB / 0.7931 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.119, allocations: 0 / 0.7931 GB, free: 102.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.1184/1.237, allocations: 127.8 MB / 0.9179 GB, free: 7.043 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.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 OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:310: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:498: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp121 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:310: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:498: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp122 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) + (((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1)))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:78:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp123 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2)) + (((-_system->_body_P_body_P_Q_(2)) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:78:120: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp123 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2)) + (((-_system->_body_P_body_P_Q_(2)) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:78:186: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp123 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2)) + (((-_system->_body_P_body_P_Q_(2)) * body_P_body_P_Q_start_(3)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))))), ((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + ((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2)) + ((_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3)) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.631726640975103] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.body.Q[1]', 'body.body.Q[2]', 'body.body.Q[3]', 'body.body.Q[4]', 'body.body.frame_a.r_0[1]', 'body.body.frame_a.r_0[2]', 'body.body.frame_a.r_0[3]', 'body.body.w_a[1]', 'body.body.w_a[2]', 'body.body.w_a[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]'] 1.2477489800658077 1.263799125 0.782087116 Calling exit ...