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.008024/0.008024, allocations: 107.9 kB / 21.97 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002054, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.553/1.553, allocations: 230.5 MB / 258.9 MB, free: 7.988 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.2517/0.2517, allocations: 46.93 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.002642/0.002642, allocations: 83.84 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3989, allocations: 66.08 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse): time 0.02515/0.4241, allocations: 20.16 MB / 0.5824 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01853/0.4426, allocations: 6.037 MB / 0.5883 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005214/0.4478, allocations: 171 kB / 0.5885 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01291/0.4607, allocations: 6.07 MB / 0.5944 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.471, allocations: 3.093 MB / 0.5974 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.4752, allocations: 1.451 MB / 0.5988 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.491, allocations: 9.442 MB / 0.6081 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009552/0.5006, allocations: 6.183 MB / 0.6141 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007873/0.5084, allocations: 3.303 MB / 0.6173 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008606/0.5171, allocations: 4.662 MB / 0.6219 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002838/0.5199, allocations: 0.7188 MB / 0.6226 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.5249, allocations: 1.744 MB / 0.6243 GB, free: 4.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005978/0.5309, allocations: 4.048 MB / 0.6282 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009406/0.5403, allocations: 4.406 MB / 0.6325 GB, free: 12.44 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02086/0.5611, allocations: 13.42 MB / 0.6456 GB, free: 14.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5611, allocations: 8 kB / 0.6457 GB, free: 14.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5611, allocations: 0 / 0.6457 GB, free: 14.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0005278/0.5617, allocations: 3.938 kB / 0.6457 GB, free: 14.96 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.02635/0.588, allocations: 9.452 MB / 0.6549 GB, free: 5.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.5881, allocations: 8.031 kB / 0.6549 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02284/0.6109, allocations: 3.884 MB / 0.6587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/0.6251, allocations: 5.429 MB / 0.664 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005675/0.6257, allocations: 497.2 kB / 0.6645 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003904/0.6296, allocations: 0.9872 MB / 0.6654 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04314/0.6727, allocations: 18.08 MB / 0.6831 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003635/0.6731, allocations: 91.34 kB / 0.6832 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001919/0.675, allocations: 303.8 kB / 0.6835 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004405/0.6794, allocations: 2.76 MB / 0.6862 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0369/0.7163, allocations: 15.42 MB / 0.7012 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7258/1.442, allocations: 70.02 MB / 0.7696 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/1.462, allocations: 7.332 MB / 0.7768 GB, free: 106.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004397/1.467, allocations: 3.53 MB / 0.7802 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02222/1.489, allocations: 15.15 MB / 0.795 GB, free: 95.16 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/1.489, allocations: 64.56 kB / 0.7951 GB, free: 95.09 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=303): time 6.142e-06/1.489, allocations: 0 / 0.7951 GB, free: 95.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=331): time 0.06938/1.558, allocations: 30.26 MB / 0.8246 GB, free: 65.12 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002965/1.561, allocations: 6.208 MB / 0.8307 GB, free: 58.39 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007664/1.569, allocations: 6.581 MB / 0.8371 GB, free: 51.94 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000891/1.57, allocations: 77.3 kB / 0.8372 GB, free: 51.86 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002601/1.572, allocations: 5.464 MB / 0.8425 GB, free: 46.79 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.574, allocations: 1.401 MB / 0.8439 GB, free: 45.41 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002537/1.576, allocations: 2.118 MB / 0.8459 GB, free: 43.29 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/1.577, allocations: 309.1 kB / 0.8462 GB, free: 42.98 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005253/1.582, allocations: 4.424 MB / 0.8506 GB, free: 38.55 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007877/1.59, allocations: 10.27 MB / 0.8606 GB, free: 25.48 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/1.605, allocations: 15.46 MB / 0.8757 GB, free: 7.145 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001637/1.606, allocations: 56 kB / 0.8757 GB, free: 7.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1358) (initialization): time 0.05943/1.665, allocations: 21.28 MB / 0.8965 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/1.665, allocations: 92 kB / 0.8966 GB, free: 1.633 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04141/1.707, allocations: 12.58 MB / 0.9089 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03963/1.746, allocations: 8.582 MB / 0.9173 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008854/1.755, allocations: 2.386 MB / 0.9196 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03586/1.791, allocations: 22.03 MB / 0.9411 GB, free: 3.215 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/1.801, allocations: 0.8974 MB / 0.942 GB, free: 2.32 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002518/1.804, allocations: 0.6093 MB / 0.9426 GB, free: 1.711 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.01246/1.816, allocations: 3.475 MB / 0.946 GB, free: 14.23 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002493/1.819, allocations: 0.6246 MB / 0.9466 GB, free: 13.6 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/1.822, allocations: 0.841 MB / 0.9474 GB, free: 12.75 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01769/1.839, allocations: 7.987 MB / 0.9552 GB, free: 4.664 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.064e-05/1.839, allocations: 8 kB / 0.9552 GB, free: 4.656 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.603e-05/1.84, allocations: 15.94 kB / 0.9552 GB, free: 4.641 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04529/1.885, allocations: 20.45 MB / 0.9752 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.594e-05/1.885, allocations: 4 kB / 0.9752 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003396/1.888, allocations: 0.6401 MB / 0.9758 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0121/1.9, allocations: 3.868 MB / 0.9796 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/1.901, allocations: 111.9 kB / 0.9797 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3403/2.242, allocations: 14.42 MB / 0.9938 GB, free: 234.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003224/2.245, allocations: 5.983 MB / 0.9997 GB, free: 228.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/2.267, allocations: 13.46 MB / 1.013 GB, free: 225.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/2.269, allocations: 0.6138 MB / 1.013 GB, free: 225.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2.27, allocations: 85.14 kB / 1.013 GB, free: 225.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/2.274, allocations: 405 kB / 1.014 GB, free: 225.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007693/2.275, allocations: 265.8 kB / 1.014 GB, free: 225.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/2.275, allocations: 105.9 kB / 1.014 GB, free: 225.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005862/2.281, allocations: 4.083 MB / 1.018 GB, free: 223.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/2.281, allocations: 0 / 1.018 GB, free: 223.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01017/2.291, allocations: 2.203 MB / 1.02 GB, free: 223.5 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.0008682/2.292, allocations: 248.1 kB / 1.021 GB, free: 223.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02183/2.314, allocations: 11.91 MB / 1.032 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/2.314, allocations: 0 / 1.032 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01073/2.324, allocations: 5.532 MB / 1.038 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/2.331, allocations: 0.9203 MB / 1.039 GB, free: 211.5 MB / 0.67 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.03156/2.362, allocations: 21.43 MB / 1.059 GB, free: 190.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006181/2.368, allocations: 5.34 MB / 1.065 GB, free: 185.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/2.37, allocations: 0.4953 MB / 1.065 GB, free: 185 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/2.37, allocations: 3.938 kB / 1.065 GB, free: 184.9 MB / 0.67 GB Notification: Performance of Templates: time 1.164/3.534, allocations: 0.616 GB / 1.681 GB, free: 73.35 MB / 0.6857 GB " [Timeout remaining time 656] 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: 8.4645999239292] 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.545475327875465 3.56484723 2.999399412 Calling exit ...