Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001309/0.001309, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001403/0.001403, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.455/1.455, allocations: 230.5 MB / 258.1 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2596, allocations: 53.4 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01358/0.2732, allocations: 10.79 MB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008786/0.282, allocations: 3.998 MB / 447.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.2837, allocations: 67.69 kB / 447.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005699/0.2894, allocations: 2.62 MB / 449.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005807/0.2952, allocations: 1.781 MB / 451.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.2974, allocations: 0.6785 MB / 452.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006878/0.3043, allocations: 3.717 MB / 456.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005054/0.3094, allocations: 2.731 MB / 458.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.3127, allocations: 1.491 MB / 460.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.3167, allocations: 2.11 MB / 462.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.3179, allocations: 316 kB / 462.7 MB, free: 8.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.3211, allocations: 1.178 MB / 463.9 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002944/0.3241, allocations: 1.854 MB / 465.8 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004065/0.3282, allocations: 2.124 MB / 467.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3387, allocations: 6.676 MB / 474.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3387, allocations: 4 kB / 474.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3387, allocations: 0 / 474.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002619/0.339, allocations: 0 / 474.6 MB, free: 12.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01141/0.3504, allocations: 4.572 MB / 479.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3504, allocations: 8.031 kB / 479.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007488/0.3579, allocations: 1.971 MB / 481.1 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/0.3632, allocations: 1.945 MB / 483.1 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.3635, allocations: 242.2 kB / 483.3 MB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.365, allocations: 395.8 kB / 483.7 MB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.3847, allocations: 10.11 MB / 493.8 MB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.3848, allocations: 35.69 kB / 493.8 MB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004596/0.3852, allocations: 163.8 kB / 494 MB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002848/0.3881, allocations: 1.856 MB / 495.9 MB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/0.4058, allocations: 8.37 MB / 0.4924 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05358/0.4594, allocations: 39.2 MB / 0.5307 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.4698, allocations: 3.462 MB / 0.5341 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.472, allocations: 1.333 MB / 0.5354 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2284/0.7004, allocations: 5.856 MB / 0.5411 GB, free: 98.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.7005, allocations: 48.03 kB / 0.5411 GB, free: 98.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.16e-06/0.7005, allocations: 0 / 0.5411 GB, free: 98.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02804/0.7285, allocations: 12.33 MB / 0.5532 GB, free: 94.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009229/0.7294, allocations: 1.571 MB / 0.5547 GB, free: 93.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/0.7335, allocations: 3.818 MB / 0.5584 GB, free: 90.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003025/0.7338, allocations: 45.7 kB / 0.5585 GB, free: 90.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.7352, allocations: 3.238 MB / 0.5616 GB, free: 87.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/0.7357, allocations: 0.6724 MB / 0.5623 GB, free: 87.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.7369, allocations: 1.274 MB / 0.5635 GB, free: 85.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.7369, allocations: 305.1 kB / 0.5638 GB, free: 85.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.7392, allocations: 2.046 MB / 0.5658 GB, free: 83.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003299/0.7425, allocations: 5.989 MB / 0.5717 GB, free: 75.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006454/0.7489, allocations: 8.645 MB / 0.5801 GB, free: 64.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.733e-05/0.749, allocations: 40 kB / 0.5802 GB, free: 64.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01937/0.7683, allocations: 9.843 MB / 0.5898 GB, free: 55.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.7684, allocations: 64.66 kB / 0.5898 GB, free: 54.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01006/0.7785, allocations: 3.842 MB / 0.5936 GB, free: 51.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.7888, allocations: 2.726 MB / 0.5962 GB, free: 48.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/0.7926, allocations: 1.368 MB / 0.5976 GB, free: 47.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.8061, allocations: 11.28 MB / 0.6086 GB, free: 35.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/0.8108, allocations: 411.5 kB / 0.609 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009217/0.8118, allocations: 388.8 kB / 0.6094 GB, free: 34.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002984/0.8147, allocations: 2.021 MB / 0.6113 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005746/0.8153, allocations: 341.7 kB / 0.6117 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007401/0.8161, allocations: 432.4 kB / 0.6121 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005167/0.8212, allocations: 2.714 MB / 0.6147 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.8212, allocations: 7.938 kB / 0.6147 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.8213, allocations: 11.91 kB / 0.6147 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.8353, allocations: 8.415 MB / 0.623 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.8353, allocations: 0.5625 kB / 0.623 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/0.8362, allocations: 199.6 kB / 0.6231 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004176/0.8404, allocations: 1.451 MB / 0.6246 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/0.8405, allocations: 43.91 kB / 0.6246 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.8508, allocations: 9.51 MB / 0.6339 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006905/0.8515, allocations: 1.444 MB / 0.6353 GB, free: 7.453 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008028/0.8595, allocations: 5.361 MB / 0.6405 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/0.8605, allocations: 313.5 kB / 0.6408 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/0.8608, allocations: 32 kB / 0.6409 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.8621, allocations: 127.8 kB / 0.641 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.8624, allocations: 116.7 kB / 0.6411 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.8625, allocations: 39.98 kB / 0.6411 GB, free: 1.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003336/0.8658, allocations: 2.337 MB / 0.6434 GB, free: 15.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8658, allocations: 0 / 0.6434 GB, free: 15.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005779/0.8716, allocations: 1.074 MB / 0.6445 GB, free: 14.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005574/0.8722, allocations: 166.7 kB / 0.6446 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01078/0.883, allocations: 5.415 MB / 0.6499 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.883, allocations: 0 / 0.6499 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004541/0.8875, allocations: 2.09 MB / 0.652 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.8901, allocations: 406 kB / 0.6523 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.9086, allocations: 9.626 MB / 0.6617 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004143/0.9127, allocations: 3.127 MB / 0.6648 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008957/0.9136, allocations: 267.4 kB / 0.6651 GB, free: 8.816 MB / 478.1 MB Notification: Performance of SimCode: time 1.533e-06/0.9136, allocations: 3.938 kB / 0.6651 GB, free: 8.812 MB / 478.1 MB Notification: Performance of Templates: time 0.3957/1.309, allocations: 145.2 MB / 0.8068 GB, free: 117.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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 OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.184812874067575] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 1.3195581680629402 1.328140477 0.986775929 Calling exit ...