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.01235/0.01235, allocations: 106.4 kB / 21.98 MB, free: 5.223 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.002785/0.002785, allocations: 215.9 kB / 25.29 MB, free: 3.203 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.485/1.485, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2454/0.2454, allocations: 46.93 MB / 362.3 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-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.002693/0.002693, allocations: 75.88 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3891, allocations: 66.08 MB / 0.5628 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01326/0.4024, allocations: 11.03 MB / 0.5735 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009659/0.412, allocations: 4.119 MB / 0.5776 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.4141, allocations: 83.56 kB / 0.5776 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005068/0.4192, allocations: 2.616 MB / 0.5802 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.4243, allocations: 1.813 MB / 0.582 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.4263, allocations: 0.7447 MB / 0.5827 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006866/0.4332, allocations: 4.223 MB / 0.5868 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003538/0.4367, allocations: 2.686 MB / 0.5894 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.4392, allocations: 1.511 MB / 0.5909 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.4423, allocations: 2.126 MB / 0.593 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006339/0.4429, allocations: 312 kB / 0.5933 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.4455, allocations: 1.272 MB / 0.5945 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.4475, allocations: 1.932 MB / 0.5964 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00245/0.45, allocations: 2.132 MB / 0.5985 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008633/0.4586, allocations: 6.778 MB / 0.6051 GB, free: 8.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4586, allocations: 0 / 0.6051 GB, free: 8.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4586, allocations: 0 / 0.6051 GB, free: 8.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001606/0.4588, allocations: 3.938 kB / 0.6051 GB, free: 8.664 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.01025/0.469, allocations: 4.653 MB / 0.6097 GB, free: 3.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4691, allocations: 12.02 kB / 0.6097 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006781/0.4758, allocations: 1.979 MB / 0.6116 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005419/0.4813, allocations: 2.28 MB / 0.6138 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.4815, allocations: 242.3 kB / 0.6141 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.4825, allocations: 403.6 kB / 0.6144 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/0.5006, allocations: 9.709 MB / 0.6239 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.5007, allocations: 43.64 kB / 0.624 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/0.5011, allocations: 151.8 kB / 0.6241 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002693/0.5038, allocations: 1.767 MB / 0.6258 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.5215, allocations: 8.18 MB / 0.6338 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05438/0.5759, allocations: 38.23 MB / 0.6712 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009273/0.5851, allocations: 3.187 MB / 0.6743 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.5875, allocations: 1.502 MB / 0.6757 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.5995, allocations: 6.407 MB / 0.682 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.5995, allocations: 51.5 kB / 0.682 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=144): time 3.958e-06/0.5995, allocations: 0 / 0.682 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.03772/0.6372, allocations: 14.08 MB / 0.6958 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001627/0.6389, allocations: 1.589 MB / 0.6973 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006123/0.645, allocations: 3.82 MB / 0.7011 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004434/0.6454, allocations: 45.7 kB / 0.7011 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/0.6483, allocations: 3.162 MB / 0.7042 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.6493, allocations: 0.6747 MB / 0.7049 GB, free: 120 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001784/0.6511, allocations: 1.222 MB / 0.7061 GB, free: 14.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6513, allocations: 305.1 kB / 0.7064 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/0.6545, allocations: 2.026 MB / 0.7083 GB, free: 12.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006866/0.6614, allocations: 5.734 MB / 0.7139 GB, free: 4.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/0.6731, allocations: 8.368 MB / 0.7221 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/0.6733, allocations: 36 kB / 0.7221 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02321/0.6965, allocations: 9.337 MB / 0.7313 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.6966, allocations: 64 kB / 0.7313 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3616/1.058, allocations: 3.584 MB / 0.7348 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00938/1.068, allocations: 2.37 MB / 0.7371 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003997/1.072, allocations: 1.366 MB / 0.7385 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008103/1.08, allocations: 6.733 MB / 0.745 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/1.084, allocations: 398.1 kB / 0.7454 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000554/1.084, allocations: 372.2 kB / 0.7458 GB, free: 146.4 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.002415/1.087, allocations: 2.012 MB / 0.7477 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/1.087, allocations: 350.9 kB / 0.7481 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006284/1.088, allocations: 439.7 kB / 0.7485 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004203/1.092, allocations: 2.515 MB / 0.7509 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.092, allocations: 3.938 kB / 0.751 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.092, allocations: 7.734 kB / 0.751 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.105, allocations: 9.1 MB / 0.7598 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.105, allocations: 4 kB / 0.7599 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.106, allocations: 262.1 kB / 0.7601 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/1.108, allocations: 1.064 MB / 0.7611 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.108, allocations: 47.91 kB / 0.7612 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/1.112, allocations: 4.91 MB / 0.766 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006543/1.113, allocations: 1.445 MB / 0.7674 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006513/1.12, allocations: 5.381 MB / 0.7726 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/1.12, allocations: 325.6 kB / 0.773 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/1.121, allocations: 47.2 kB / 0.773 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.122, allocations: 131.8 kB / 0.7731 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/1.122, allocations: 112.5 kB / 0.7732 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/1.122, allocations: 47.98 kB / 0.7733 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002648/1.125, allocations: 2.354 MB / 0.7756 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.125, allocations: 0 / 0.7756 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004012/1.129, allocations: 1.006 MB / 0.7766 GB, free: 120.1 MB / 0.5606 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.0003331/1.129, allocations: 177.4 kB / 0.7767 GB, free: 119.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007221/1.137, allocations: 5.205 MB / 0.7818 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.137, allocations: 6.516 kB / 0.7818 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/1.139, allocations: 1.858 MB / 0.7836 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.142, allocations: 456 kB / 0.7841 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.154, allocations: 9.775 MB / 0.7936 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/1.157, allocations: 3.143 MB / 0.7967 GB, free: 99.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000838/1.158, allocations: 279.4 kB / 0.797 GB, free: 99.11 MB / 0.5606 GB Notification: Performance of SimCode: time 1.803e-06/1.158, allocations: 0 / 0.797 GB, free: 99.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.1294/1.287, allocations: 127.9 MB / 0.9219 GB, free: 3.148 MB / 0.5919 GB " [Timeout remaining time 659] 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0-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: 5.938129491871223] 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.2975264589767903 1.31253676 0.850602874 Calling exit ...