Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 46.95 MB / 361.6 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 83.86 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.355, allocations: 66.08 MB / 0.5619 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02001/0.375, allocations: 10.23 MB / 0.5719 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.388, allocations: 3.75 MB / 0.5756 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.3911, allocations: 71.75 kB / 0.5756 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00509/0.3962, allocations: 1.167 MB / 0.5768 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008937/0.4051, allocations: 1.787 MB / 0.5785 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.4076, allocations: 499 kB / 0.579 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4178, allocations: 4.059 MB / 0.583 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00374/0.4215, allocations: 1.684 MB / 0.5846 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.4246, allocations: 1.179 MB / 0.5858 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.4293, allocations: 1.783 MB / 0.5875 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009264/0.4302, allocations: 216 kB / 0.5877 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.4338, allocations: 0.9789 MB / 0.5887 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003218/0.437, allocations: 1.616 MB / 0.5902 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00304/0.4401, allocations: 1.307 MB / 0.5915 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.4538, allocations: 6.142 MB / 0.5975 GB, free: 15.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4539, allocations: 4 kB / 0.5975 GB, free: 15.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4539, allocations: 0 / 0.5975 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002004/0.4541, allocations: 4 kB / 0.5975 GB, free: 15.39 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: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.01432/0.4684, allocations: 4.13 MB / 0.6016 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4684, allocations: 8.031 kB / 0.6016 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02318/0.4916, allocations: 3.215 MB / 0.6047 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008695/0.5003, allocations: 1.974 MB / 0.6066 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/0.5006, allocations: 180.8 kB / 0.6068 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0021/0.5027, allocations: 335.7 kB / 0.6071 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02955/0.5323, allocations: 10.29 MB / 0.6172 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.5324, allocations: 27.77 kB / 0.6172 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005265/0.5329, allocations: 115.8 kB / 0.6173 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007905/0.5408, allocations: 2.443 MB / 0.6197 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03426/0.5751, allocations: 9.808 MB / 0.6293 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06124/0.6363, allocations: 31.92 MB / 0.6604 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007889/0.6442, allocations: 3.246 MB / 0.6636 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.6474, allocations: 2.029 MB / 0.6656 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/0.6483, allocations: 429.4 kB / 0.666 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.6484, allocations: 59.36 kB / 0.6661 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 4.959e-06/0.6484, allocations: 0 / 0.6661 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.04015/0.6885, allocations: 16.46 MB / 0.6821 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001566/0.6901, allocations: 1.499 MB / 0.6836 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/0.6941, allocations: 2.703 MB / 0.6862 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004377/0.6946, allocations: 57.7 kB / 0.6863 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00214/0.6967, allocations: 2.734 MB / 0.689 GB, free: 124 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.6979, allocations: 0.9688 MB / 0.6899 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.6995, allocations: 1.108 MB / 0.691 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6997, allocations: 309.1 kB / 0.6913 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/0.7034, allocations: 2.412 MB / 0.6936 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006266/0.7097, allocations: 5.335 MB / 0.6988 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.7208, allocations: 8.422 MB / 0.7071 GB, free: 10.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.302e-05/0.7209, allocations: 28 kB / 0.7071 GB, free: 10.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02509/0.746, allocations: 9.686 MB / 0.7166 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.99e-05/0.7461, allocations: 55.94 kB / 0.7166 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01445/0.7605, allocations: 4.881 MB / 0.7214 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/0.7728, allocations: 2.468 MB / 0.7238 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/0.7774, allocations: 1.252 MB / 0.725 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009707/0.7871, allocations: 6.078 MB / 0.7309 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/0.7912, allocations: 395.6 kB / 0.7313 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007112/0.7919, allocations: 316 kB / 0.7316 GB, free: 1.266 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.2723/1.064, allocations: 2.022 MB / 0.7336 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008543/1.065, allocations: 276.1 kB / 0.7339 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.075, allocations: 5.303 MB / 0.739 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007296/1.083, allocations: 4.605 MB / 0.7435 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.083, allocations: 0 / 0.7435 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/1.083, allocations: 15.19 kB / 0.7436 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.102, allocations: 12.66 MB / 0.7559 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.102, allocations: 8.656 kB / 0.7559 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.103, allocations: 415.8 kB / 0.7563 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/1.107, allocations: 1.241 MB / 0.7575 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.108, allocations: 63.95 kB / 0.7576 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/1.111, allocations: 4.477 MB / 0.762 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000655/1.112, allocations: 1.423 MB / 0.7634 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.122, allocations: 7.999 MB / 0.7712 GB, free: 127.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000829/1.123, allocations: 250.2 kB / 0.7714 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/1.123, allocations: 49.86 kB / 0.7715 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.125, allocations: 199.7 kB / 0.7716 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/1.125, allocations: 176.6 kB / 0.7718 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001728/1.125, allocations: 75.97 kB / 0.7719 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001763/1.127, allocations: 1.534 MB / 0.7734 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.127, allocations: 0 / 0.7734 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00397/1.131, allocations: 1.029 MB / 0.7744 GB, free: 124.1 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.0004643/1.131, allocations: 192.7 kB / 0.7746 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008751/1.14, allocations: 6.043 MB / 0.7805 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.985e-05/1.14, allocations: 0 / 0.7805 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/1.145, allocations: 2.569 MB / 0.783 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.147, allocations: 307.2 kB / 0.7833 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.162, allocations: 10.87 MB / 0.7939 GB, free: 104 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002951/1.165, allocations: 2.642 MB / 0.7965 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.166, allocations: 251.4 kB / 0.7967 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.166, allocations: 3.938 kB / 0.7967 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.1319/1.298, allocations: 128.8 MB / 0.9225 GB, free: 4.348 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile [Timeout 660] make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionAlgLoopMain.cpp:24: ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.744474753271788] 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.3086175001226366 1.326447546 0.868506407 Calling exit ...