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.001463/0.001463, allocations: 113.1 kB / 21.85 MB, free: 84 kB / 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.001663/0.001663, allocations: 216.4 kB / 25.13 MB, free: 3.609 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.35/1.35, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2134/0.2134, allocations: 46.95 MB / 362.1 MB, free: 4.23 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.002265/0.002265, allocations: 79.88 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3581, allocations: 66.08 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01255/0.3707, allocations: 10.94 MB / 0.573 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008899/0.3796, allocations: 4.115 MB / 0.577 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.3816, allocations: 83.56 kB / 0.5771 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005056/0.3867, allocations: 2.605 MB / 0.5797 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005469/0.3922, allocations: 1.821 MB / 0.5814 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.3941, allocations: 0.7369 MB / 0.5822 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006558/0.4007, allocations: 4.219 MB / 0.5863 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003989/0.4047, allocations: 2.698 MB / 0.5889 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.4072, allocations: 1.515 MB / 0.5904 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/0.4101, allocations: 2.118 MB / 0.5925 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007476/0.4109, allocations: 312 kB / 0.5928 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.4133, allocations: 1.151 MB / 0.5939 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.4155, allocations: 1.932 MB / 0.5958 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002938/0.4184, allocations: 2.132 MB / 0.5979 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008926/0.4274, allocations: 6.805 MB / 0.6045 GB, free: 8.883 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4274, allocations: 0 / 0.6045 GB, free: 8.883 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4274, allocations: 0 / 0.6045 GB, free: 8.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001819/0.4276, allocations: 0 / 0.6045 GB, free: 8.883 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.009706/0.4373, allocations: 4.645 MB / 0.609 GB, free: 4.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4373, allocations: 8.031 kB / 0.609 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006655/0.444, allocations: 1.983 MB / 0.611 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006032/0.45, allocations: 2.283 MB / 0.6132 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.4502, allocations: 238.4 kB / 0.6134 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.4515, allocations: 403.5 kB / 0.6138 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.4691, allocations: 9.76 MB / 0.6234 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.4692, allocations: 43.64 kB / 0.6234 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004047/0.4696, allocations: 155.8 kB / 0.6235 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/0.4721, allocations: 1.755 MB / 0.6253 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.4886, allocations: 8.184 MB / 0.6333 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05113/0.5398, allocations: 38.11 MB / 0.6705 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008896/0.5487, allocations: 3.188 MB / 0.6736 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/0.5509, allocations: 1.502 MB / 0.675 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.5618, allocations: 6.403 MB / 0.6813 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.5618, allocations: 55.5 kB / 0.6814 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=144): time 4.288e-06/0.5618, allocations: 0 / 0.6814 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.03872/0.6005, allocations: 14.11 MB / 0.6951 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001604/0.6022, allocations: 1.589 MB / 0.6967 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005812/0.608, allocations: 3.816 MB / 0.7004 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003986/0.6084, allocations: 57.62 kB / 0.7005 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002787/0.6111, allocations: 3.158 MB / 0.7035 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.6123, allocations: 0.6746 MB / 0.7042 GB, free: 384 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001982/0.6143, allocations: 1.227 MB / 0.7054 GB, free: 15.13 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6144, allocations: 301.1 kB / 0.7057 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/0.6179, allocations: 2.034 MB / 0.7077 GB, free: 12.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006684/0.6245, allocations: 5.734 MB / 0.7133 GB, free: 5.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.6359, allocations: 8.357 MB / 0.7214 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.636, allocations: 40 kB / 0.7215 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02182/0.6579, allocations: 9.34 MB / 0.7306 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/0.658, allocations: 68.02 kB / 0.7307 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2802/0.9381, allocations: 3.59 MB / 0.7342 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008787/0.9469, allocations: 2.356 MB / 0.7365 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/0.9505, allocations: 1.37 MB / 0.7378 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/0.9576, allocations: 6.734 MB / 0.7444 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/0.9612, allocations: 399.5 kB / 0.7448 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/0.9616, allocations: 369.5 kB / 0.7451 GB, free: 147.8 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.002086/0.9637, allocations: 2.013 MB / 0.7471 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/0.964, allocations: 353.8 kB / 0.7474 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.9647, allocations: 436.3 kB / 0.7478 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0038/0.9685, allocations: 2.513 MB / 0.7503 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.9685, allocations: 7.219 kB / 0.7503 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.9685, allocations: 7.281 kB / 0.7503 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.9799, allocations: 9.088 MB / 0.7592 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/0.9799, allocations: 4 kB / 0.7592 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.9808, allocations: 260.5 kB / 0.7594 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/0.9833, allocations: 1.071 MB / 0.7605 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.9834, allocations: 49.72 kB / 0.7605 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.9872, allocations: 4.909 MB / 0.7653 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006209/0.9878, allocations: 1.445 MB / 0.7667 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/0.994, allocations: 5.376 MB / 0.772 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007671/0.9947, allocations: 329.7 kB / 0.7723 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.995, allocations: 39.92 kB / 0.7723 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.9962, allocations: 132.3 kB / 0.7725 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.9964, allocations: 116.6 kB / 0.7726 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.452e-05/0.9965, allocations: 55.41 kB / 0.7726 GB, free: 123.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002415/0.9989, allocations: 2.358 MB / 0.7749 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9989, allocations: 0 / 0.7749 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003622/1.003, allocations: 1.006 MB / 0.7759 GB, free: 120.3 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.000309/1.003, allocations: 169.7 kB / 0.7761 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006764/1.01, allocations: 5.206 MB / 0.7812 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.01, allocations: 4 kB / 0.7812 GB, free: 115 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002761/1.012, allocations: 1.862 MB / 0.783 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.014, allocations: 451.9 kB / 0.7834 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.026, allocations: 9.78 MB / 0.793 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/1.028, allocations: 3.14 MB / 0.796 GB, free: 99.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000726/1.029, allocations: 277.6 kB / 0.7963 GB, free: 99.33 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/1.029, allocations: 0 / 0.7963 GB, free: 99.33 MB / 0.5606 GB Notification: Performance of Templates: time 0.1079/1.136, allocations: 127.9 MB / 0.9212 GB, free: 3.355 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.153126796009019] 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.1455225078389049 1.1584392510000001 0.72800853 Calling exit ...