Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.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.001605/0.001605, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.002029/0.002029, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.549/1.549, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2381/0.2381, allocations: 46.88 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Parts.BodyShape,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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 80.19 kB / 0.4924 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1766, allocations: 65.99 MB / 0.5568 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.0155/0.1921, allocations: 11.01 MB / 0.5676 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.2027, allocations: 4.101 MB / 0.5716 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.2053, allocations: 71.75 kB / 0.5716 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006009/0.2113, allocations: 2.597 MB / 0.5742 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.2174, allocations: 1.817 MB / 0.576 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.2198, allocations: 0.7292 MB / 0.5767 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007943/0.2277, allocations: 4.215 MB / 0.5808 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005639/0.2334, allocations: 2.84 MB / 0.5836 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.237, allocations: 1.491 MB / 0.585 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004204/0.2412, allocations: 2.122 MB / 0.5871 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.2425, allocations: 316 kB / 0.5874 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.2461, allocations: 1.256 MB / 0.5886 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003312/0.2495, allocations: 1.94 MB / 0.5905 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004726/0.2542, allocations: 2.128 MB / 0.5926 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3853/0.6395, allocations: 6.775 MB / 0.5992 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.6395, allocations: 0.9688 kB / 0.5992 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6395, allocations: 2.953 kB / 0.5992 GB, free: 11.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000325/0.6398, allocations: 1.422 kB / 0.5992 GB, free: 11.7 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: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.01593/0.6558, allocations: 4.721 MB / 0.6038 GB, free: 9.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.6558, allocations: 8.875 kB / 0.6038 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00882/0.6646, allocations: 1.98 MB / 0.6058 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006805/0.6714, allocations: 2.35 MB / 0.6081 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.6717, allocations: 236 kB / 0.6083 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.6732, allocations: 414.4 kB / 0.6087 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.695, allocations: 9.705 MB / 0.6182 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.6951, allocations: 44.42 kB / 0.6182 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005059/0.6956, allocations: 150.9 kB / 0.6183 GB, free: 5.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002786/0.6984, allocations: 1.762 MB / 0.6201 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.715, allocations: 8.187 MB / 0.6281 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/0.7711, allocations: 38.36 MB / 0.6655 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.7815, allocations: 3.654 MB / 0.6691 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.7841, allocations: 1.509 MB / 0.6706 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/0.7978, allocations: 7.831 MB / 0.6782 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.595e-05/0.7979, allocations: 50 kB / 0.6783 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=144): time 5.01e-06/0.7979, allocations: 0 / 0.6783 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.04293/0.8408, allocations: 14.44 MB / 0.6924 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001757/0.8426, allocations: 1.691 MB / 0.694 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007372/0.85, allocations: 3.825 MB / 0.6977 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005583/0.8505, allocations: 48.44 kB / 0.6978 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00308/0.8536, allocations: 3.163 MB / 0.7009 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.8548, allocations: 0.6714 MB / 0.7015 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002138/0.857, allocations: 1.221 MB / 0.7027 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8571, allocations: 305.1 kB / 0.703 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/0.8609, allocations: 2.033 MB / 0.705 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007695/0.8686, allocations: 5.74 MB / 0.7106 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.8811, allocations: 8.367 MB / 0.7188 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/0.8813, allocations: 40 kB / 0.7188 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02661/0.9079, allocations: 9.338 MB / 0.7279 GB, free: 10.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/0.908, allocations: 63.34 kB / 0.728 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01207/0.92, allocations: 3.599 MB / 0.7315 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/0.9317, allocations: 2.355 MB / 0.7338 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005275/0.9369, allocations: 1.372 MB / 0.7352 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.9488, allocations: 6.943 MB / 0.7419 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006189/0.955, allocations: 397.7 kB / 0.7423 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/0.9566, allocations: 372 kB / 0.7427 GB, free: 11.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (742): * Single equations (assignments): 733 * 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.005569/0.9621, allocations: 2.011 MB / 0.7446 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009225/0.9631, allocations: 349.7 kB / 0.745 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.9643, allocations: 443.6 kB / 0.7454 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005797/0.9701, allocations: 2.504 MB / 0.7478 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.9701, allocations: 7.984 kB / 0.7478 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.9701, allocations: 15.97 kB / 0.7479 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/0.9906, allocations: 9.25 MB / 0.7569 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.9906, allocations: 4 kB / 0.7569 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.992, allocations: 259.6 kB / 0.7571 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/0.9956, allocations: 1.069 MB / 0.7582 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/0.9958, allocations: 47.95 kB / 0.7582 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006747/1.003, allocations: 5.103 MB / 0.7632 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001496/1.004, allocations: 1.557 MB / 0.7647 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.014, allocations: 5.366 MB / 0.77 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.016, allocations: 406.6 kB / 0.7704 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/1.016, allocations: 43.92 kB / 0.7704 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.018, allocations: 127.8 kB / 0.7705 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003013/1.018, allocations: 108.7 kB / 0.7706 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.018, allocations: 47.98 kB / 0.7707 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0044/1.022, allocations: 2.36 MB / 0.773 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.022, allocations: 0 / 0.773 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005417/1.028, allocations: 1.011 MB / 0.774 GB, free: 10.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (126): * Single equations (assignments): 119 * 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.0004571/1.028, allocations: 166.8 kB / 0.7741 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.039, allocations: 5.364 MB / 0.7794 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.039, allocations: 0 / 0.7794 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004253/1.043, allocations: 1.998 MB / 0.7813 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/1.047, allocations: 453.3 kB / 0.7817 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/1.066, allocations: 9.726 MB / 0.7912 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004207/1.071, allocations: 3.132 MB / 0.7943 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.072, allocations: 275.4 kB / 0.7946 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of SimCode: time 1.393e-06/1.072, allocations: 0 / 0.7946 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of Templates: time 0.473/1.545, allocations: 127.9 MB / 0.9195 GB, free: 147.8 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShape.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeCalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgLoopMain.cpp:24: ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:74:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp126 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:118: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:178: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:239: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:301: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:362: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:423: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:76:483: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp127 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:78:56: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp128 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:78:117: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp128 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeAlgloop668.cpp:78:181: error: use of undeclared identifier 'freeMotion_P_Q_start_' tmp128 = 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.1.0-beta.om_ModelicaTest.MultiBody.Parts.BodyShapeCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.33802136592567] 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.5532727038953453 1.561466117 0.919618579 Calling exit ...