Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.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.001258/0.001258, allocations: 113.1 kB / 21.85 MB, free: 56 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 212.9 kB / 25.13 MB, free: 3.578 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.378/1.378, allocations: 230.4 MB / 258.7 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2153/0.2153, allocations: 46.94 MB / 362 MB, free: 4.238 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.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-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 79.88 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2812, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse): time 0.02119/0.3024, allocations: 19.95 MB / 0.5818 GB, free: 232 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.3154, allocations: 6.006 MB / 0.5877 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.319, allocations: 171.1 kB / 0.5878 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.3305, allocations: 6.055 MB / 0.5938 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008321/0.3388, allocations: 3.119 MB / 0.5968 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.3423, allocations: 1.447 MB / 0.5982 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.3561, allocations: 9.454 MB / 0.6074 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008238/0.3644, allocations: 6.171 MB / 0.6135 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0063/0.3707, allocations: 3.31 MB / 0.6167 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007376/0.3781, allocations: 4.658 MB / 0.6213 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002291/0.3803, allocations: 0.7188 MB / 0.622 GB, free: 6.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.3843, allocations: 1.619 MB / 0.6235 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004707/0.389, allocations: 4.052 MB / 0.6275 GB, free: 1.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005868/0.3949, allocations: 4.406 MB / 0.6318 GB, free: 12.81 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.4104, allocations: 13.5 MB / 0.645 GB, free: 15.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4104, allocations: 3.938 kB / 0.645 GB, free: 15.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4104, allocations: 0 / 0.645 GB, free: 15.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003778/0.4107, allocations: 0 / 0.645 GB, free: 15.27 MB / 494.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.02091/0.4317, allocations: 9.44 MB / 0.6542 GB, free: 5.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4317, allocations: 12.03 kB / 0.6542 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01994/0.4516, allocations: 3.888 MB / 0.658 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/0.4638, allocations: 5.429 MB / 0.6633 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/0.4642, allocations: 0.4894 MB / 0.6638 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003223/0.4674, allocations: 0.9873 MB / 0.6647 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03533/0.5027, allocations: 18.32 MB / 0.6826 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.503, allocations: 79.36 kB / 0.6827 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.504, allocations: 307.8 kB / 0.683 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003939/0.508, allocations: 2.753 MB / 0.6857 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03386/0.5418, allocations: 15.42 MB / 0.7008 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5377/1.08, allocations: 69.8 MB / 0.7689 GB, free: 110.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/1.098, allocations: 7.326 MB / 0.7761 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/1.103, allocations: 3.539 MB / 0.7795 GB, free: 107.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/1.122, allocations: 15.14 MB / 0.7943 GB, free: 95.26 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.122, allocations: 70.47 kB / 0.7944 GB, free: 95.19 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 4.819e-06/1.122, allocations: 0 / 0.7944 GB, free: 95.19 MB / 0.5607 GB Notification: Performance of matching and sorting (n=331): time 0.06478/1.186, allocations: 30.33 MB / 0.824 GB, free: 65.15 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002745/1.189, allocations: 6.219 MB / 0.8301 GB, free: 58.42 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007585/1.197, allocations: 6.583 MB / 0.8365 GB, free: 51.96 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008074/1.198, allocations: 77.06 kB / 0.8366 GB, free: 51.89 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002326/1.2, allocations: 5.462 MB / 0.8419 GB, free: 46.82 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/1.201, allocations: 1.397 MB / 0.8433 GB, free: 45.44 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/1.204, allocations: 2.118 MB / 0.8453 GB, free: 43.32 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.117e-05/1.204, allocations: 305.1 kB / 0.8456 GB, free: 43.02 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004973/1.209, allocations: 4.432 MB / 0.85 GB, free: 38.58 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009087/1.218, allocations: 10.34 MB / 0.8601 GB, free: 25.41 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.231, allocations: 15.45 MB / 0.8751 GB, free: 7.082 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.231, allocations: 56 kB / 0.8752 GB, free: 7.027 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1358) (initialization): time 0.05562/1.287, allocations: 21.29 MB / 0.896 GB, free: 1.664 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003011/1.287, allocations: 96.17 kB / 0.8961 GB, free: 1.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03953/1.327, allocations: 12.58 MB / 0.9084 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03659/1.363, allocations: 8.574 MB / 0.9167 GB, free: 12.27 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/1.371, allocations: 2.386 MB / 0.9191 GB, free: 9.879 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03252/1.404, allocations: 22.03 MB / 0.9406 GB, free: 3.156 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009631/1.413, allocations: 0.8951 MB / 0.9415 GB, free: 2.262 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/1.416, allocations: 0.6054 MB / 0.9421 GB, free: 1.656 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.007657/1.423, allocations: 3.477 MB / 0.9454 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/1.425, allocations: 0.6209 MB / 0.9461 GB, free: 13.55 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/1.427, allocations: 0.841 MB / 0.9469 GB, free: 12.7 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01628/1.444, allocations: 7.987 MB / 0.9547 GB, free: 4.609 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/1.444, allocations: 8 kB / 0.9547 GB, free: 4.602 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.905e-05/1.444, allocations: 15.94 kB / 0.9547 GB, free: 4.586 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04034/1.484, allocations: 20.46 MB / 0.9747 GB, free: 15.9 MB / 0.6701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.484, allocations: 4 kB / 0.9747 GB, free: 15.89 MB / 0.6701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/1.487, allocations: 0.628 MB / 0.9753 GB, free: 15.27 MB / 0.6701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/1.498, allocations: 3.879 MB / 0.9791 GB, free: 11.33 MB / 0.6701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006435/1.499, allocations: 107.9 kB / 0.9792 GB, free: 11.23 MB / 0.6701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2698/1.769, allocations: 14.41 MB / 0.9933 GB, free: 236.4 MB / 0.6701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002865/1.772, allocations: 5.994 MB / 0.9991 GB, free: 231.1 MB / 0.6701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/1.792, allocations: 13.45 MB / 1.012 GB, free: 227.4 MB / 0.6701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/1.793, allocations: 0.6144 MB / 1.013 GB, free: 227.4 MB / 0.6701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.795, allocations: 88.89 kB / 1.013 GB, free: 227.3 MB / 0.6701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003247/1.798, allocations: 405.5 kB / 1.013 GB, free: 227.3 MB / 0.6701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007417/1.799, allocations: 265.2 kB / 1.014 GB, free: 227.3 MB / 0.6701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/1.799, allocations: 104.2 kB / 1.014 GB, free: 227.2 MB / 0.6701 GB Notification: Performance of sorting global known variables: time 0.005667/1.804, allocations: 4.076 MB / 1.018 GB, free: 225.9 MB / 0.6701 GB Notification: Performance of sort global known variables: time 1.2e-07/1.804, allocations: 3.828 kB / 1.018 GB, free: 225.9 MB / 0.6701 GB Notification: Performance of remove unused functions: time 0.008982/1.813, allocations: 2.211 MB / 1.02 GB, free: 225.7 MB / 0.6701 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.0007686/1.814, allocations: 247.6 kB / 1.02 GB, free: 225.5 MB / 0.6701 GB Notification: Performance of simCode: created initialization part: time 0.01905/1.833, allocations: 11.91 MB / 1.032 GB, free: 216.8 MB / 0.6701 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.833, allocations: 3.906 kB / 1.032 GB, free: 216.8 MB / 0.6701 GB Notification: Performance of simCode: created simulation system equations: time 0.009846/1.843, allocations: 5.532 MB / 1.037 GB, free: 212.3 MB / 0.6701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00508/1.848, allocations: 0.9202 MB / 1.038 GB, free: 211.5 MB / 0.6701 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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.03004/1.878, allocations: 21.43 MB / 1.059 GB, free: 190.8 MB / 0.6701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005061/1.883, allocations: 5.346 MB / 1.064 GB, free: 185.5 MB / 0.6701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/1.885, allocations: 0.4954 MB / 1.065 GB, free: 185 MB / 0.6701 GB Notification: Performance of SimCode: time 1.022e-06/1.885, allocations: 3.938 kB / 1.065 GB, free: 185 MB / 0.6701 GB Notification: Performance of Templates: time 0.9999/2.885, allocations: 0.616 GB / 1.681 GB, free: 72.69 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseAlgLoopMain.cpp:60: ./OMCppModelicaTest_4.1.0-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalseCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.246884942986071] 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]'] 2.894160347059369 2.902524447 2.489823624 Calling exit ...