Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001477/0.001477, allocations: 115 kB / 18.46 MB, free: 4.621 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.001408/0.001408, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.577/1.577, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2554/0.2554, allocations: 46.93 MB / 357.8 MB, free: 10.33 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+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.1.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.1.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.89 kB / 0.4921 GB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1592, allocations: 66 MB / 0.5565 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse): time 0.02329/0.1825, allocations: 20.12 MB / 0.5762 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.1982, allocations: 6.014 MB / 0.582 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005408/0.2036, allocations: 171.1 kB / 0.5822 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.2166, allocations: 6.031 MB / 0.5881 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.227, allocations: 3.104 MB / 0.5911 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.2309, allocations: 1.443 MB / 0.5925 GB, free: 364 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3549/0.5859, allocations: 9.417 MB / 0.6017 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/0.5977, allocations: 6.786 MB / 0.6084 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009736/0.6075, allocations: 3.321 MB / 0.6116 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.6177, allocations: 4.654 MB / 0.6161 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00412/0.6218, allocations: 0.7203 MB / 0.6169 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006943/0.6288, allocations: 1.734 MB / 0.6185 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006609/0.6354, allocations: 4.046 MB / 0.6225 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009528/0.6449, allocations: 4.435 MB / 0.6268 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02034/0.6653, allocations: 13.43 MB / 0.6399 GB, free: 5.836 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6653, allocations: 0 / 0.6399 GB, free: 5.836 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6653, allocations: 0 / 0.6399 GB, free: 5.836 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006093/0.6659, allocations: 0 / 0.6399 GB, free: 5.836 MB / 462.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.03207/0.698, allocations: 9.519 MB / 0.6492 GB, free: 12.38 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.698, allocations: 8.031 kB / 0.6492 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02722/0.7252, allocations: 3.884 MB / 0.653 GB, free: 8.477 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/0.7418, allocations: 5.545 MB / 0.6585 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007181/0.7426, allocations: 487.8 kB / 0.6589 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00455/0.7471, allocations: 0.9925 MB / 0.6599 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04925/0.7964, allocations: 18.09 MB / 0.6776 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007214/0.7971, allocations: 86.41 kB / 0.6776 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003798/0.8009, allocations: 304.4 kB / 0.6779 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005168/0.806, allocations: 2.756 MB / 0.6806 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04022/0.8463, allocations: 15.42 MB / 0.6957 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/0.9658, allocations: 70.02 MB / 0.7641 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02651/0.9923, allocations: 7.794 MB / 0.7717 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006344/0.9987, allocations: 3.536 MB / 0.7751 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03485/1.034, allocations: 18.13 MB / 0.7928 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.241e-05/1.034, allocations: 67.12 kB / 0.7929 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=303): time 6.673e-06/1.034, allocations: 0 / 0.7929 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=331): time 0.1016/1.135, allocations: 31.31 MB / 0.8235 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006453/1.142, allocations: 6.627 MB / 0.8299 GB, free: 44 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/1.158, allocations: 6.578 MB / 0.8364 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001223/1.16, allocations: 76.67 kB / 0.8364 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.006402/1.166, allocations: 5.454 MB / 0.8418 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.003041/1.169, allocations: 1.397 MB / 0.8431 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007494/1.177, allocations: 2.123 MB / 0.8452 GB, free: 468 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.177, allocations: 309.1 kB / 0.8455 GB, free: 156 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6219/1.799, allocations: 4.425 MB / 0.8498 GB, free: 222.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/1.811, allocations: 10.27 MB / 0.8598 GB, free: 213.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/1.828, allocations: 15.45 MB / 0.8749 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000274/1.829, allocations: 58.03 kB / 0.875 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1358) (initialization): time 0.06115/1.89, allocations: 21.28 MB / 0.8958 GB, free: 195.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/1.89, allocations: 97.38 kB / 0.8959 GB, free: 195.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05197/1.942, allocations: 12.57 MB / 0.9081 GB, free: 190.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03805/1.98, allocations: 8.571 MB / 0.9165 GB, free: 181.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007616/1.988, allocations: 2.386 MB / 0.9188 GB, free: 179 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03549/2.023, allocations: 22.67 MB / 0.941 GB, free: 155.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/2.039, allocations: 0.8917 MB / 0.9418 GB, free: 154.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003321/2.043, allocations: 0.6131 MB / 0.9424 GB, free: 154.2 MB / 0.6544 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.01196/2.055, allocations: 3.467 MB / 0.9458 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002111/2.057, allocations: 0.614 MB / 0.9464 GB, free: 150.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/2.06, allocations: 0.8526 MB / 0.9473 GB, free: 149.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0152/2.075, allocations: 7.983 MB / 0.9551 GB, free: 141.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.464e-05/2.075, allocations: 8 kB / 0.9551 GB, free: 141.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.832e-05/2.075, allocations: 15.94 kB / 0.9551 GB, free: 141.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03739/2.112, allocations: 20.73 MB / 0.9753 GB, free: 120.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-05/2.112, allocations: 4 kB / 0.9753 GB, free: 120.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/2.116, allocations: 0.6293 MB / 0.9759 GB, free: 120.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/2.127, allocations: 3.883 MB / 0.9797 GB, free: 116.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/2.128, allocations: 109.7 kB / 0.9798 GB, free: 116.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/2.141, allocations: 15.03 MB / 0.9945 GB, free: 100.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003697/2.145, allocations: 6.404 MB / 1.001 GB, free: 93.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02645/2.171, allocations: 13.46 MB / 1.014 GB, free: 80.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/2.173, allocations: 0.6811 MB / 1.015 GB, free: 79.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002538/2.176, allocations: 91.97 kB / 1.015 GB, free: 79.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005292/2.181, allocations: 399.3 kB / 1.015 GB, free: 78.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/2.183, allocations: 257.5 kB / 1.015 GB, free: 78.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008413/2.183, allocations: 107.8 kB / 1.015 GB, free: 78.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.008251/2.192, allocations: 4.077 MB / 1.019 GB, free: 74.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/2.192, allocations: 0 / 1.019 GB, free: 74.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01332/2.205, allocations: 2.207 MB / 1.022 GB, free: 72.32 MB / 0.6544 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.001311/2.206, allocations: 248.9 kB / 1.022 GB, free: 72.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02359/2.23, allocations: 12.66 MB / 1.034 GB, free: 59.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/2.23, allocations: 0 / 1.034 GB, free: 59.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/2.242, allocations: 6.284 MB / 1.04 GB, free: 52.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009661/2.252, allocations: 0.9092 MB / 1.041 GB, free: 51.64 MB / 0.6544 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.04433/2.296, allocations: 21.28 MB / 1.062 GB, free: 30.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01221/2.308, allocations: 5.339 MB / 1.067 GB, free: 24.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/2.311, allocations: 0.4993 MB / 1.068 GB, free: 24.43 MB / 0.6544 GB Notification: Performance of SimCode: time 1.573e-06/2.311, allocations: 0 / 1.068 GB, free: 24.43 MB / 0.6544 GB Notification: Performance of Templates: time 1.799/4.11, allocations: 0.616 GB / 1.684 GB, free: 177 MB / 0.6857 GB " [Timeout remaining time 656] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgLoopMain.cpp:60: ./OMCppModelicaTest_4.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.0_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 9.291519399994286] 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]'] 4.120246929000132 4.131322023 3.463295498 Calling exit ...