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.001797/0.001797, 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.002067/0.002067, 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.581/1.581, allocations: 230.6 MB / 258.2 MB, free: 7.754 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.2478/0.2478, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.002094/0.002094, allocations: 71.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4254, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01386/0.4393, allocations: 9.769 MB / 0.5713 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.4499, allocations: 3.902 MB / 0.5752 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.4525, allocations: 75.62 kB / 0.5752 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006309/0.4589, allocations: 2.73 MB / 0.5779 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005998/0.4649, allocations: 1.813 MB / 0.5797 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.4669, allocations: 0.6941 MB / 0.5803 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006171/0.4731, allocations: 3.673 MB / 0.5839 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004854/0.4779, allocations: 2.862 MB / 0.5867 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.4811, allocations: 1.523 MB / 0.5882 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.4851, allocations: 2.017 MB / 0.5902 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.4862, allocations: 332 kB / 0.5905 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002624/0.4888, allocations: 1.084 MB / 0.5916 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.491, allocations: 1.92 MB / 0.5934 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.4932, allocations: 1.596 MB / 0.595 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.5025, allocations: 6.879 MB / 0.6017 GB, free: 11.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5025, allocations: 0 / 0.6017 GB, free: 11.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5025, allocations: 0 / 0.6017 GB, free: 11.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001908/0.5027, allocations: 0 / 0.6017 GB, free: 11.13 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.009733/0.5125, allocations: 4.607 MB / 0.6062 GB, free: 6.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5125, allocations: 8.031 kB / 0.6062 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006671/0.5192, allocations: 1.96 MB / 0.6081 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005082/0.5243, allocations: 2.106 MB / 0.6102 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.5245, allocations: 242.6 kB / 0.6104 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009295/0.5254, allocations: 411.6 kB / 0.6108 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.545, allocations: 9.798 MB / 0.6204 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.5451, allocations: 43.64 kB / 0.6204 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004271/0.5455, allocations: 159.8 kB / 0.6206 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00284/0.5484, allocations: 1.763 MB / 0.6223 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.5659, allocations: 8.058 MB / 0.6302 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05601/0.6219, allocations: 35.72 MB / 0.665 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.632, allocations: 3.149 MB / 0.6681 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.6346, allocations: 1.553 MB / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/0.6481, allocations: 5.892 MB / 0.6754 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/0.6482, allocations: 55.56 kB / 0.6754 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=141): time 6.032e-06/0.6482, allocations: 0 / 0.6754 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=148): time 0.03384/0.682, allocations: 12.23 MB / 0.6874 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001622/0.6836, allocations: 1.58 MB / 0.6889 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006241/0.6899, allocations: 3.527 MB / 0.6924 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003477/0.6902, allocations: 49.7 kB / 0.6924 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002567/0.6928, allocations: 3.155 MB / 0.6955 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009347/0.6937, allocations: 0.6282 MB / 0.6961 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001689/0.6954, allocations: 1.175 MB / 0.6973 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6956, allocations: 313.1 kB / 0.6976 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.699, allocations: 2.03 MB / 0.6995 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007243/0.7062, allocations: 5.662 MB / 0.7051 GB, free: 13.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.7184, allocations: 8.268 MB / 0.7132 GB, free: 3.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/0.7185, allocations: 36 kB / 0.7132 GB, free: 3.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02588/0.7444, allocations: 9.204 MB / 0.7222 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.7446, allocations: 60.19 kB / 0.7222 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01195/0.7566, allocations: 3.651 MB / 0.7258 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.7674, allocations: 2.32 MB / 0.7281 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/0.7722, allocations: 1.322 MB / 0.7294 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4137/1.186, allocations: 7.152 MB / 0.7363 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005751/1.192, allocations: 395.7 kB / 0.7367 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/1.193, allocations: 362.8 kB / 0.7371 GB, free: 146.6 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.003769/1.197, allocations: 1.997 MB / 0.739 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/1.197, allocations: 311.5 kB / 0.7393 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/1.198, allocations: 395.5 kB / 0.7397 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004334/1.202, allocations: 2.502 MB / 0.7421 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.202, allocations: 3.938 kB / 0.7421 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.202, allocations: 7.312 kB / 0.7421 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.216, allocations: 7.42 MB / 0.7494 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.216, allocations: 3.688 kB / 0.7494 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/1.217, allocations: 246.1 kB / 0.7496 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/1.22, allocations: 1.042 MB / 0.7506 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/1.22, allocations: 34.06 kB / 0.7507 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/1.224, allocations: 5.049 MB / 0.7556 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007286/1.225, allocations: 1.448 MB / 0.757 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/1.232, allocations: 5.186 MB / 0.7621 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/1.233, allocations: 274.7 kB / 0.7623 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/1.233, allocations: 31.98 kB / 0.7624 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.235, allocations: 139.7 kB / 0.7625 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/1.235, allocations: 95.72 kB / 0.7626 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.235, allocations: 51.91 kB / 0.7627 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002526/1.238, allocations: 2.009 MB / 0.7646 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.238, allocations: 0 / 0.7646 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004903/1.242, allocations: 1.014 MB / 0.7656 GB, free: 129.4 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.0004017/1.243, allocations: 157 kB / 0.7658 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008464/1.251, allocations: 5.192 MB / 0.7708 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/1.251, allocations: 4 kB / 0.7708 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.255, allocations: 1.927 MB / 0.7727 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.257, allocations: 374.1 kB / 0.7731 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.273, allocations: 9.691 MB / 0.7825 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/1.276, allocations: 2.585 MB / 0.7851 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009747/1.277, allocations: 259.4 kB / 0.7853 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.277, allocations: 0 / 0.7853 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.1313/1.408, allocations: 127.4 MB / 0.9098 GB, free: 13.76 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 -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.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_' 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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.0_ModelicaTest.MultiBody.Frames.AngularVelocityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.108843625988811] 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.418762369081378 1.433818944 0.927822359 Calling exit ...