Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.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.001682/0.001682, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 214.1 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2265/0.2265, allocations: 44.94 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] 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.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion") [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.003407/0.003407, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4198, allocations: 65.47 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01336/0.4331, allocations: 10.24 MB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009008/0.4421, allocations: 3.739 MB / 0.5718 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.444, allocations: 75.69 kB / 0.5719 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.4472, allocations: 1.164 MB / 0.5731 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004943/0.4522, allocations: 1.779 MB / 0.5748 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.4537, allocations: 0.4912 MB / 0.5753 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006067/0.4598, allocations: 4.056 MB / 0.5792 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002943/0.4627, allocations: 1.688 MB / 0.5809 GB, free: 136 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.4651, allocations: 1.187 MB / 0.582 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.4682, allocations: 1.779 MB / 0.5838 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007959/0.4689, allocations: 216 kB / 0.584 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.4713, allocations: 0.9789 MB / 0.5849 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002047/0.4734, allocations: 1.612 MB / 0.5865 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.4754, allocations: 1.311 MB / 0.5878 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008064/0.4835, allocations: 6.137 MB / 0.5938 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4835, allocations: 0 / 0.5938 GB, free: 2.867 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4835, allocations: 4 kB / 0.5938 GB, free: 2.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001579/0.4837, allocations: 0 / 0.5938 GB, free: 2.863 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.008693/0.4923, allocations: 4.134 MB / 0.5978 GB, free: 14.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.4924, allocations: 12.03 kB / 0.5978 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.5037, allocations: 3.215 MB / 0.601 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005431/0.5091, allocations: 1.977 MB / 0.6029 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.5093, allocations: 180.8 kB / 0.6031 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/0.5103, allocations: 335.7 kB / 0.6034 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/0.5283, allocations: 10.29 MB / 0.6135 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.5284, allocations: 31.77 kB / 0.6135 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003905/0.5288, allocations: 119.8 kB / 0.6136 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004158/0.533, allocations: 2.443 MB / 0.616 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/0.5534, allocations: 9.81 MB / 0.6256 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04968/0.6031, allocations: 31.91 MB / 0.6567 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007572/0.6106, allocations: 3.235 MB / 0.6599 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/0.6137, allocations: 2.027 MB / 0.6619 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009281/0.6147, allocations: 441.2 kB / 0.6623 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.6147, allocations: 55.38 kB / 0.6623 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 5.4e-06/0.6147, allocations: 3.938 kB / 0.6623 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.0388/0.6535, allocations: 16.46 MB / 0.6784 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001549/0.6551, allocations: 1.495 MB / 0.6799 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/0.6588, allocations: 2.714 MB / 0.6825 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004275/0.6593, allocations: 57.69 kB / 0.6826 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002162/0.6614, allocations: 2.726 MB / 0.6852 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/0.6628, allocations: 0.9689 MB / 0.6862 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.6645, allocations: 1.108 MB / 0.6873 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6646, allocations: 305.1 kB / 0.6876 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003697/0.6683, allocations: 2.412 MB / 0.6899 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006588/0.6749, allocations: 5.342 MB / 0.6951 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.6862, allocations: 8.422 MB / 0.7034 GB, free: 14.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/0.6863, allocations: 32 kB / 0.7034 GB, free: 14.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02359/0.7099, allocations: 9.69 MB / 0.7128 GB, free: 4.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/0.71, allocations: 56.05 kB / 0.7129 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01408/0.7241, allocations: 4.877 MB / 0.7177 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/0.7364, allocations: 2.46 MB / 0.7201 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00695/0.7434, allocations: 1.248 MB / 0.7213 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.758, allocations: 6.086 MB / 0.7272 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/0.7645, allocations: 391.7 kB / 0.7276 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.7657, allocations: 316 kB / 0.7279 GB, free: 4.742 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 660 * Array equations: 8 * 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.005451/0.7711, allocations: 2.032 MB / 0.7299 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009/0.772, allocations: 270.2 kB / 0.7301 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3301/1.102, allocations: 5.306 MB / 0.7353 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007549/1.11, allocations: 4.594 MB / 0.7398 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/1.11, allocations: 4.75 kB / 0.7398 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.11, allocations: 13.48 kB / 0.7398 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/1.129, allocations: 12.67 MB / 0.7522 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/1.129, allocations: 8 kB / 0.7522 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.131, allocations: 404 kB / 0.7526 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004129/1.135, allocations: 1.23 MB / 0.7538 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003477/1.135, allocations: 75.05 kB / 0.7539 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/1.139, allocations: 4.472 MB / 0.7582 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007376/1.14, allocations: 1.431 MB / 0.7596 GB, free: 142 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.151, allocations: 7.997 MB / 0.7674 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008989/1.152, allocations: 252.8 kB / 0.7677 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/1.152, allocations: 51.98 kB / 0.7677 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.154, allocations: 195.7 kB / 0.7679 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/1.154, allocations: 168.8 kB / 0.7681 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.154, allocations: 76.8 kB / 0.7682 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001755/1.156, allocations: 1.538 MB / 0.7697 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.156, allocations: 3.406 kB / 0.7697 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003911/1.16, allocations: 1.022 MB / 0.7707 GB, free: 130.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (192): * Single equations (assignments): 182 * Array equations: 6 * 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.0004624/1.16, allocations: 201.8 kB / 0.7709 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009348/1.169, allocations: 6.038 MB / 0.7767 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.981e-05/1.169, allocations: 4 kB / 0.7768 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003972/1.173, allocations: 2.563 MB / 0.7793 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.176, allocations: 317.7 kB / 0.7796 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.189, allocations: 10.88 MB / 0.7902 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/1.192, allocations: 2.638 MB / 0.7928 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.193, allocations: 255.4 kB / 0.793 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.193, allocations: 0 / 0.793 GB, free: 107.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1191/1.312, allocations: 128.8 MB / 0.9187 GB, free: 11.08 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:55: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:177: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:238: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:300: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:361: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:422: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:74:482: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp68 = std::atan2(((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(1)) + (((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(2)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:55: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:177: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:238: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:300: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:361: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:422: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:76:482: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp69 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(2)) + (((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(4))) - (_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(1)))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:55: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp70 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:116: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp70 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionAlgloop450.cpp:78:180: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp70 = std::atan2(((_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(2)) + (((-_system->_freeMotion_P_Q_(2)) * freeMotion_P_Q_start_(3)) - (_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(4))))), ((_system->_freeMotion_P_Q_(1) * freeMotion_P_Q_start_(1)) + ((_system->_freeMotion_P_Q_(2) * freeMotion_P_Q_start_(2)) + ((_system->_freeMotion_P_Q_(3) * freeMotion_P_Q_start_(3)) + (_system->_freeMotion_P_Q_(4) * freeMotion_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.952621115837246] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.Q[1]', 'freeMotion.Q[2]', 'freeMotion.Q[3]', 'freeMotion.Q[4]', 'freeMotion.r_rel_a[1]', 'freeMotion.r_rel_a[2]', 'freeMotion.r_rel_a[3]', 'freeMotion.v_rel_a[1]', 'freeMotion.v_rel_a[2]', 'freeMotion.v_rel_a[3]', 'freeMotion.w_rel_b[1]', 'freeMotion.w_rel_b[2]', 'freeMotion.w_rel_b[3]'] 1.3259290321730077 1.337026534 0.850246996 Calling exit ...