Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 205.9 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.92 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.frame_a.r_0.1.|bodyCylinder.body.frame_a.r_0.2.|bodyCylinder.body.frame_a.r_0.3.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.body.w_a.3.|bodyCylinder.v_0.1.|bodyCylinder.v_0.2.|bodyCylinder.v_0.3.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.frame_a.r_0.1.|bodyShape.body.frame_a.r_0.2.|bodyShape.body.frame_a.r_0.3.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.89 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 65.48 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse): time 0.02362/0.3902, allocations: 20.15 MB / 0.5779 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.4044, allocations: 6.049 MB / 0.5838 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003797/0.4082, allocations: 167.1 kB / 0.584 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.4202, allocations: 6.059 MB / 0.5899 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008572/0.4288, allocations: 3.108 MB / 0.593 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.4323, allocations: 1.447 MB / 0.5944 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0147/0.447, allocations: 9.446 MB / 0.6036 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009742/0.4567, allocations: 6.179 MB / 0.6096 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00761/0.4643, allocations: 3.307 MB / 0.6129 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007692/0.472, allocations: 4.665 MB / 0.6174 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.4743, allocations: 0.7227 MB / 0.6181 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.4787, allocations: 1.737 MB / 0.6198 GB, free: 8.422 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005675/0.4844, allocations: 4.048 MB / 0.6238 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008559/0.493, allocations: 4.402 MB / 0.6281 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02019/0.5131, allocations: 13.42 MB / 0.6412 GB, free: 2.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5131, allocations: 0 / 0.6412 GB, free: 2.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5131, allocations: 0 / 0.6412 GB, free: 2.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000573/0.5137, allocations: 8 kB / 0.6412 GB, free: 2.457 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.02809/0.5418, allocations: 9.452 MB / 0.6504 GB, free: 8.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.5419, allocations: 8.031 kB / 0.6504 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02485/0.5667, allocations: 3.884 MB / 0.6542 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.5825, allocations: 5.436 MB / 0.6595 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006171/0.5831, allocations: 489.2 kB / 0.66 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003986/0.5871, allocations: 0.9912 MB / 0.6609 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04454/0.6316, allocations: 18.08 MB / 0.6786 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004335/0.632, allocations: 87.34 kB / 0.6787 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002289/0.6343, allocations: 303.8 kB / 0.679 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004669/0.639, allocations: 2.749 MB / 0.6817 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03887/0.6779, allocations: 15.43 MB / 0.6967 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6644/1.342, allocations: 70 MB / 0.7651 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02023/1.362, allocations: 7.338 MB / 0.7723 GB, free: 110 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005034/1.367, allocations: 3.535 MB / 0.7757 GB, free: 108.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02413/1.392, allocations: 15.14 MB / 0.7905 GB, free: 99.57 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.392, allocations: 72.03 kB / 0.7906 GB, free: 99.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 5.591e-06/1.392, allocations: 0 / 0.7906 GB, free: 99.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=331): time 0.06788/1.46, allocations: 30.26 MB / 0.8201 GB, free: 69.55 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003008/1.463, allocations: 6.215 MB / 0.8262 GB, free: 62.81 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007987/1.471, allocations: 6.584 MB / 0.8326 GB, free: 56.36 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/1.472, allocations: 77.06 kB / 0.8327 GB, free: 56.28 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003461/1.475, allocations: 5.454 MB / 0.838 GB, free: 51.21 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/1.477, allocations: 1.402 MB / 0.8394 GB, free: 49.83 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/1.48, allocations: 2.115 MB / 0.8415 GB, free: 47.71 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.592e-05/1.48, allocations: 309.1 kB / 0.8418 GB, free: 47.41 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/1.485, allocations: 4.43 MB / 0.8461 GB, free: 42.97 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007195/1.492, allocations: 10.27 MB / 0.8561 GB, free: 29.93 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/1.506, allocations: 15.45 MB / 0.8712 GB, free: 11.62 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001616/1.506, allocations: 56 kB / 0.8713 GB, free: 11.57 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1358) (initialization): time 0.0574/1.564, allocations: 21.28 MB / 0.892 GB, free: 6.203 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003021/1.564, allocations: 97.5 kB / 0.8921 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04382/1.608, allocations: 12.57 MB / 0.9044 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04082/1.649, allocations: 8.578 MB / 0.9128 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009344/1.658, allocations: 2.39 MB / 0.9151 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03669/1.695, allocations: 22.04 MB / 0.9366 GB, free: 7.691 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009774/1.705, allocations: 0.8932 MB / 0.9375 GB, free: 6.797 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0022/1.707, allocations: 0.6072 MB / 0.9381 GB, free: 6.191 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.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 (1278): * Single equations (assignments): 1251 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * 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): 10 systems {(4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008871/1.716, allocations: 3.474 MB / 0.9415 GB, free: 2.711 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/1.718, allocations: 0.617 MB / 0.9421 GB, free: 2.09 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/1.721, allocations: 0.8449 MB / 0.9429 GB, free: 1.238 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01893/1.74, allocations: 7.987 MB / 0.9507 GB, free: 9.148 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.455e-05/1.74, allocations: 8 kB / 0.9507 GB, free: 9.141 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.991e-05/1.74, allocations: 15.94 kB / 0.9508 GB, free: 9.125 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05175/1.792, allocations: 20.47 MB / 0.9707 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-05/1.792, allocations: 8 kB / 0.9708 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003544/1.795, allocations: 0.6357 MB / 0.9714 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01297/1.808, allocations: 3.872 MB / 0.9752 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009728/1.809, allocations: 107.9 kB / 0.9753 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.828, allocations: 14.42 MB / 0.9893 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3429/2.171, allocations: 5.987 MB / 0.9952 GB, free: 234.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/2.194, allocations: 13.46 MB / 1.008 GB, free: 231.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/2.196, allocations: 0.6055 MB / 1.009 GB, free: 231.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/2.197, allocations: 88.25 kB / 1.009 GB, free: 231.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/2.201, allocations: 407.8 kB / 1.009 GB, free: 231.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006967/2.202, allocations: 260.8 kB / 1.01 GB, free: 231.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/2.202, allocations: 106.3 kB / 1.01 GB, free: 231.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005735/2.208, allocations: 4.077 MB / 1.014 GB, free: 230.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/2.208, allocations: 0 / 1.014 GB, free: 230.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01004/2.218, allocations: 2.212 MB / 1.016 GB, free: 229.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[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 (267): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 14 * 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): 10 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 4 systems {4, 4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (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.0008878/2.219, allocations: 252.4 kB / 1.016 GB, free: 229.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02173/2.24, allocations: 11.9 MB / 1.028 GB, free: 224.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/2.24, allocations: 8 kB / 1.028 GB, free: 224.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0113/2.252, allocations: 5.532 MB / 1.033 GB, free: 219.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006267/2.258, allocations: 0.9218 MB / 1.034 GB, free: 218.8 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03428/2.292, allocations: 21.43 MB / 1.055 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007012/2.299, allocations: 5.336 MB / 1.06 GB, free: 193.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/2.302, allocations: 0.4954 MB / 1.061 GB, free: 192.6 MB / 0.67 GB Notification: Performance of SimCode: time 2.034e-06/2.302, allocations: 0 / 1.061 GB, free: 192.6 MB / 0.67 GB Notification: Performance of Templates: time 1.082/3.383, allocations: 0.616 GB / 1.677 GB, free: 76.21 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.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.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgLoopMain.cpp:60: ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:62: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:136: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:208: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:281: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:355: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:428: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:501: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:74:573: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp294 = std::atan2(((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(1)) + (((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(2)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:62: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:136: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:208: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:281: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:355: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:428: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:501: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:76:573: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp295 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(2)) + (((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(4))) - (_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(1)))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:78:62: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp296 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(2)) + (((-_system->_bodyShape_P_body_P_Q_(2)) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(4))))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:78:135: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp296 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(2)) + (((-_system->_bodyShape_P_body_P_Q_(2)) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(4))))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgloop932.cpp:78:211: error: use of undeclared identifier 'bodyShape_P_body_P_Q_start_' tmp296 = std::atan2(((_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(2)) + (((-_system->_bodyShape_P_body_P_Q_(2)) * bodyShape_P_body_P_Q_start_(3)) - (_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(4))))), ((_system->_bodyShape_P_body_P_Q_(1) * bodyShape_P_body_P_Q_start_(1)) + ((_system->_bodyShape_P_body_P_Q_(2) * bodyShape_P_body_P_Q_start_(2)) + ((_system->_bodyShape_P_body_P_Q_(3) * bodyShape_P_body_P_Q_start_(3)) + (_system->_bodyShape_P_body_P_Q_(4) * bodyShape_P_body_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.338045611046255] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]', 'bodyBox.body.Q[1]', 'bodyBox.body.Q[2]', 'bodyBox.body.Q[3]', 'bodyBox.body.Q[4]', 'bodyBox.body.frame_a.r_0[1]', 'bodyBox.body.frame_a.r_0[2]', 'bodyBox.body.frame_a.r_0[3]', 'bodyBox.body.w_a[1]', 'bodyBox.body.w_a[2]', 'bodyBox.body.w_a[3]', 'bodyBox.v_0[1]', 'bodyBox.v_0[2]', 'bodyBox.v_0[3]', 'bodyCylinder.body.Q[1]', 'bodyCylinder.body.Q[2]', 'bodyCylinder.body.Q[3]', 'bodyCylinder.body.Q[4]', 'bodyCylinder.body.frame_a.r_0[1]', 'bodyCylinder.body.frame_a.r_0[2]', 'bodyCylinder.body.frame_a.r_0[3]', 'bodyCylinder.body.w_a[1]', 'bodyCylinder.body.w_a[2]', 'bodyCylinder.body.w_a[3]', 'bodyCylinder.v_0[1]', 'bodyCylinder.v_0[2]', 'bodyCylinder.v_0[3]', 'bodyShape.body.Q[1]', 'bodyShape.body.Q[2]', 'bodyShape.body.Q[3]', 'bodyShape.body.Q[4]', 'bodyShape.body.frame_a.r_0[1]', 'bodyShape.body.frame_a.r_0[2]', 'bodyShape.body.frame_a.r_0[3]', 'bodyShape.body.w_a[1]', 'bodyShape.body.w_a[2]', 'bodyShape.body.w_a[3]', 'bodyShape.v_0[1]', 'bodyShape.v_0[2]', 'bodyShape.v_0[3]', 'pointMass.r_0[1]', 'pointMass.r_0[2]', 'pointMass.r_0[3]', 'pointMass.v_0[1]', 'pointMass.v_0[2]', 'pointMass.v_0[3]'] 3.3940037130378187 3.404488454 2.888623386 Calling exit ...