Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001803/0.001803, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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.002171/0.002171, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.648/1.648, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.271/0.271, allocations: 44.93 MB / 359.6 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 71.89 kB / 0.4942 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3443, allocations: 65.47 MB / 0.5582 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01279/0.3571, allocations: 9.762 MB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008427/0.3655, allocations: 3.89 MB / 0.5715 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.3672, allocations: 79.62 kB / 0.5716 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005491/0.3727, allocations: 2.733 MB / 0.5743 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.3775, allocations: 1.802 MB / 0.576 GB, free: 5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.3792, allocations: 0.7058 MB / 0.5767 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005318/0.3845, allocations: 3.681 MB / 0.5803 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004078/0.3886, allocations: 2.859 MB / 0.5831 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.3914, allocations: 1.519 MB / 0.5846 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.3949, allocations: 2.017 MB / 0.5865 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.3961, allocations: 332 kB / 0.5869 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.399, allocations: 1.081 MB / 0.5879 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.4016, allocations: 1.924 MB / 0.5898 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003364/0.405, allocations: 1.6 MB / 0.5914 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008288/0.4133, allocations: 6.878 MB / 0.5981 GB, free: 14.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4133, allocations: 0 / 0.5981 GB, free: 14.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4133, allocations: 0 / 0.5981 GB, free: 14.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001555/0.4134, allocations: 0 / 0.5981 GB, free: 14.28 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.009726/0.4231, allocations: 4.606 MB / 0.6026 GB, free: 9.617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4232, allocations: 8.031 kB / 0.6026 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007007/0.4302, allocations: 1.956 MB / 0.6045 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006634/0.4368, allocations: 2.11 MB / 0.6066 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.4371, allocations: 250.6 kB / 0.6068 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/0.4386, allocations: 411.6 kB / 0.6072 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.4595, allocations: 9.79 MB / 0.6167 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/0.4597, allocations: 47.62 kB / 0.6168 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/0.461, allocations: 159.8 kB / 0.6169 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/0.464, allocations: 1.759 MB / 0.6187 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.4825, allocations: 8.064 MB / 0.6265 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05422/0.5367, allocations: 35.72 MB / 0.6614 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009976/0.5467, allocations: 3.15 MB / 0.6645 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.5493, allocations: 1.557 MB / 0.666 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/0.5622, allocations: 5.896 MB / 0.6718 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.5622, allocations: 47.56 kB / 0.6718 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 4.789e-06/0.5622, allocations: 0 / 0.6718 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.03297/0.5952, allocations: 12.23 MB / 0.6838 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001543/0.5968, allocations: 1.577 MB / 0.6853 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006678/0.6034, allocations: 3.535 MB / 0.6888 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.6038, allocations: 49.69 kB / 0.6888 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002679/0.6065, allocations: 3.152 MB / 0.6919 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/0.6076, allocations: 0.6282 MB / 0.6925 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002965/0.6106, allocations: 1.183 MB / 0.6937 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6108, allocations: 301.1 kB / 0.6939 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003779/0.6145, allocations: 2.041 MB / 0.6959 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006877/0.6214, allocations: 5.654 MB / 0.7015 GB, free: 292 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/0.633, allocations: 8.262 MB / 0.7095 GB, free: 6.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001982/0.6332, allocations: 36 kB / 0.7096 GB, free: 6.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02437/0.6576, allocations: 9.196 MB / 0.7185 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.6578, allocations: 66.28 kB / 0.7186 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01197/0.6698, allocations: 3.659 MB / 0.7222 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/0.6809, allocations: 2.32 MB / 0.7244 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/0.6854, allocations: 1.318 MB / 0.7257 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3934/1.079, allocations: 7.147 MB / 0.7327 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005729/1.085, allocations: 398.2 kB / 0.7331 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.086, allocations: 360.2 kB / 0.7334 GB, free: 150.8 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.004152/1.09, allocations: 2.011 MB / 0.7354 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/1.091, allocations: 303.6 kB / 0.7357 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/1.091, allocations: 404.2 kB / 0.7361 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004291/1.096, allocations: 2.493 MB / 0.7385 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.096, allocations: 5.125 kB / 0.7385 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.096, allocations: 8.094 kB / 0.7385 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.109, allocations: 7.418 MB / 0.7458 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.109, allocations: 6.688 kB / 0.7458 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.11, allocations: 247.2 kB / 0.746 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002788/1.113, allocations: 1.032 MB / 0.747 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/1.113, allocations: 39.09 kB / 0.7471 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004978/1.118, allocations: 5.061 MB / 0.752 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008495/1.119, allocations: 1.442 MB / 0.7534 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006933/1.125, allocations: 5.178 MB / 0.7585 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009441/1.126, allocations: 271.4 kB / 0.7587 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007153/1.127, allocations: 39.81 kB / 0.7588 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.129, allocations: 137.9 kB / 0.7589 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/1.129, allocations: 91.77 kB / 0.759 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.129, allocations: 47.61 kB / 0.759 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002586/1.132, allocations: 2.011 MB / 0.761 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.132, allocations: 0 / 0.761 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004747/1.137, allocations: 1.009 MB / 0.762 GB, free: 135.5 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.000369/1.137, allocations: 177.6 kB / 0.7621 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007839/1.145, allocations: 5.186 MB / 0.7672 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.145, allocations: 0 / 0.7672 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003545/1.148, allocations: 1.931 MB / 0.7691 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.151, allocations: 382.3 kB / 0.7695 GB, free: 128 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.17, allocations: 9.68 MB / 0.7789 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/1.173, allocations: 2.581 MB / 0.7814 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/1.174, allocations: 259.4 kB / 0.7817 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/1.174, allocations: 0 / 0.7817 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.1242/1.298, allocations: 127.4 MB / 0.9061 GB, free: 3.918 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.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 -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 OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:310: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:74:498: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp103 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:310: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:76:498: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp104 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:78:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp105 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:78:120: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp105 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityAlgloop651.cpp:78:186: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp105 = 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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.133753094822168] 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.3090168498456478 1.325798349 0.9091338940000001 Calling exit ...