Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulum.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.001526/0.001526, allocations: 118.2 kB / 19.17 MB, free: 3.852 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.001638/0.001638, allocations: 205 kB / 22.12 MB, free: 0.9062 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.491/1.491, allocations: 230.2 MB / 255.2 MB, free: 15.22 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.2583/0.2583, allocations: 46.88 MB / 358.1 MB, free: 10.49 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.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|Spherical1.phi.1.|Spherical1.phi.2.|Spherical1.phi.3.|Spherical1.phi_d.1.|Spherical1.phi_d.2.|Spherical1.phi_d.3.|Spherical2.phi.1.|Spherical2.phi.2.|Spherical2.phi.3.|Spherical2.phi_d.1.|Spherical2.phi_d.2.|Spherical2.phi_d.3.|Spherical3.Q.1.|Spherical3.Q.2.|Spherical3.Q.3.|Spherical3.Q.4.|Spherical3.w_rel.1.|Spherical3.w_rel.2.|Spherical3.w_rel.3.|Spherical4.Q.1.|Spherical4.Q.2.|Spherical4.Q.3.|Spherical4.Q.4.|Spherical4.w_rel.1.|Spherical4.w_rel.2.|Spherical4.w_rel.3.|boxBody5.body.Q.1.|boxBody5.body.Q.2.|boxBody5.body.Q.3.|boxBody5.body.Q.4.|boxBody5.body.w_a.1.|boxBody5.body.w_a.2.|boxBody5.body.w_a.3.|boxBody6.body.Q.1.|boxBody6.body.Q.2.|boxBody6.body.Q.3.|boxBody6.body.Q.4.|boxBody6.body.w_a.1.|boxBody6.body.w_a.2.|boxBody6.body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulum")
translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|Spherical1.phi.1.|Spherical1.phi.2.|Spherical1.phi.3.|Spherical1.phi_d.1.|Spherical1.phi_d.2.|Spherical1.phi_d.3.|Spherical2.phi.1.|Spherical2.phi.2.|Spherical2.phi.3.|Spherical2.phi_d.1.|Spherical2.phi_d.2.|Spherical2.phi_d.3.|Spherical3.Q.1.|Spherical3.Q.2.|Spherical3.Q.3.|Spherical3.Q.4.|Spherical3.w_rel.1.|Spherical3.w_rel.2.|Spherical3.w_rel.3.|Spherical4.Q.1.|Spherical4.Q.2.|Spherical4.Q.3.|Spherical4.Q.4.|Spherical4.w_rel.1.|Spherical4.w_rel.2.|Spherical4.w_rel.3.|boxBody5.body.Q.1.|boxBody5.body.Q.2.|boxBody5.body.Q.3.|boxBody5.body.Q.4.|boxBody5.body.w_a.1.|boxBody5.body.w_a.2.|boxBody5.body.w_a.3.|boxBody6.body.Q.1.|boxBody6.body.Q.2.|boxBody6.body.Q.3.|boxBody6.body.Q.4.|boxBody6.body.w_a.1.|boxBody6.body.w_a.2.|boxBody6.body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulum") [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.002526/0.002526, allocations: 79.88 kB / 0.4924 GB, free: 7.859 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1235, allocations: 66 MB / 0.5568 GB, free: 5.738 MB / 414.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.0206/0.1441, allocations: 18.89 MB / 0.5753 GB, free: 2.758 MB / 430.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01358/0.1577, allocations: 6.419 MB / 0.5816 GB, free: 12.32 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003708/0.1614, allocations: 202.8 kB / 0.5817 GB, free: 12.12 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01111/0.1725, allocations: 5.934 MB / 0.5875 GB, free: 6.164 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.009218/0.1817, allocations: 3.638 MB / 0.5911 GB, free: 2.512 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.1858, allocations: 1.798 MB / 0.5929 GB, free: 0.7109 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 0.3022/0.488, allocations: 15.94 MB / 0.6084 GB, free: 6 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.4991, allocations: 6.296 MB / 0.6146 GB, free: 5.449 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.008535/0.5076, allocations: 3.636 MB / 0.6181 GB, free: 4.82 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.5177, allocations: 5.281 MB / 0.6233 GB, free: 3.422 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.003128/0.5208, allocations: 0.6949 MB / 0.624 GB, free: 3.422 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.006334/0.5271, allocations: 2.233 MB / 0.6261 GB, free: 3.137 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.006457/0.5336, allocations: 4.763 MB / 0.6308 GB, free: 432 kB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01122/0.5448, allocations: 4.731 MB / 0.6354 GB, free: 12.16 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02381/0.5686, allocations: 14.51 MB / 0.6496 GB, free: 14.09 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.5686, allocations: 0 / 0.6496 GB, free: 14.09 MB / 478.1 MB
Notification: Performance of FrontEnd: time 2.174e-06/0.5686, allocations: 0 / 0.6496 GB, free: 14.09 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 0.0006008/0.5692, allocations: 4 kB / 0.6496 GB, free: 14.09 MB / 478.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2557
 * Number of variables: 2557
Notification: Performance of Generate backend data structure: time 0.03665/0.6059, allocations: 11.68 MB / 0.661 GB, free: 2.465 MB / 478.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.6059, allocations: 8.031 kB / 0.661 GB, free: 2.457 MB / 478.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09014/0.6961, allocations: 12.89 MB / 0.6736 GB, free: 5.551 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02563/0.7217, allocations: 9.61 MB / 0.683 GB, free: 12.21 MB / 0.4981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004932/0.7222, allocations: 446.3 kB / 0.6834 GB, free: 11.82 MB / 0.4981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.003935/0.7261, allocations: 0.965 MB / 0.6843 GB, free: 10.94 MB / 0.4981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.04288/0.769, allocations: 19.26 MB / 0.7031 GB, free: 6.742 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/0.7694, allocations: 109.4 kB / 0.7032 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001829/0.7712, allocations: 285.2 kB / 0.7035 GB, free: 6.445 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004623/0.7759, allocations: 2.909 MB / 0.7064 GB, free: 3.578 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03709/0.8129, allocations: 17.15 MB / 0.7231 GB, free: 2.582 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1211/0.934, allocations: 79.7 MB / 0.8009 GB, free: 1.297 MB / 0.6075 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.02731/0.9613, allocations: 9.168 MB / 0.8099 GB, free: 7.992 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.008391/0.9697, allocations: 5.179 MB / 0.8149 GB, free: 2.797 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001612/0.9713, allocations: 0.9986 MB / 0.8159 GB, free: 1.645 MB / 0.6231 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.433e-05/0.9714, allocations: 76.55 kB / 0.816 GB, free: 1.559 MB / 0.6231 GB
Notification: Performance of pre-optimization done (n=322): time 5.46e-06/0.9714, allocations: 0 / 0.816 GB, free: 1.559 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=398): time 0.7949/1.766, allocations: 77.58 MB / 0.8917 GB, free: 187.2 MB / 0.6388 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.002929/1.769, allocations: 5.402 MB / 0.897 GB, free: 181.2 MB / 0.6388 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/1.78, allocations: 8.771 MB / 0.9056 GB, free: 172.6 MB / 0.6388 GB
Notification: Performance of collectPreVariables (initialization): time 0.001342/1.782, allocations: 93.56 kB / 0.9057 GB, free: 172.5 MB / 0.6388 GB
Notification: Performance of collectInitialEqns (initialization): time 0.003241/1.785, allocations: 6.103 MB / 0.9116 GB, free: 167.1 MB / 0.6388 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002382/1.787, allocations: 1.635 MB / 0.9132 GB, free: 165.6 MB / 0.6388 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.003768/1.791, allocations: 2.558 MB / 0.9157 GB, free: 163 MB / 0.6388 GB
Notification: Performance of setup shared object (initialization): time 3.325e-05/1.791, allocations: 302.3 kB / 0.916 GB, free: 162.7 MB / 0.6388 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00756/1.799, allocations: 6.668 MB / 0.9225 GB, free: 156 MB / 0.6388 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/1.809, allocations: 13.01 MB / 0.9352 GB, free: 140 MB / 0.6388 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/1.829, allocations: 20.41 MB / 0.9552 GB, free: 116.5 MB / 0.6388 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001899/1.829, allocations: 64 kB / 0.9552 GB, free: 116.4 MB / 0.6388 GB
Notification: Performance of matching and sorting (n=1582) (initialization): time 0.0936/1.923, allocations: 42.44 MB / 0.9967 GB, free: 73.91 MB / 0.6388 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0003273/1.923, allocations: 100 kB / 0.9968 GB, free: 73.82 MB / 0.6388 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0706/1.994, allocations: 29.96 MB / 1.026 GB, free: 43.78 MB / 0.6388 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0653/2.059, allocations: 23.39 MB / 1.049 GB, free: 20.31 MB / 0.6388 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009373/2.068, allocations: 2.928 MB / 1.052 GB, free: 17.38 MB / 0.6388 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3961/2.464, allocations: 54.77 MB / 1.105 GB, free: 181.9 MB / 0.6544 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/2.477, allocations: 1.27 MB / 1.106 GB, free: 181.7 MB / 0.6544 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002711/2.48, allocations: 0.6885 MB / 1.107 GB, free: 181.6 MB / 0.6544 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 987
 * Number of states: 0 ()
 * Number of discrete variables: 66 (Spherical6.sphereColor[3],Spherical6.sphereColor[2],Spherical6.sphereColor[1],Spherical5.sphereColor[3],Spherical5.sphereColor[2],Spherical5.sphereColor[1],boxBody6.color[3],boxBody6.color[2],boxBody6.color[1],boxBody6.body.sphereColor[3],boxBody6.body.sphereColor[2],boxBody6.body.sphereColor[1],boxBody5.color[3],boxBody5.color[2],boxBody5.color[1],boxBody5.body.sphereColor[3],boxBody5.body.sphereColor[2],boxBody5.body.sphereColor[1],Spherical4.sphereColor[3],Spherical4.sphereColor[2],Spherical4.sphereColor[1],Spherical3.sphereColor[3],Spherical3.sphereColor[2],Spherical3.sphereColor[1],boxBody4.color[3],boxBody4.color[2],boxBody4.color[1],boxBody4.body.sphereColor[3],boxBody4.body.sphereColor[2],boxBody4.body.sphereColor[1],boxBody3.color[3],boxBody3.color[2],boxBody3.color[1],boxBody3.body.sphereColor[3],boxBody3.body.sphereColor[2],boxBody3.body.sphereColor[1],Spherical2.sphereColor[3],Spherical2.sphereColor[2],Spherical2.sphereColor[1],Spherical1.sphereColor[3],Spherical1.sphereColor[2],Spherical1.sphereColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1425):
 * Single equations (assignments): 1401
 * Array equations: 9
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 10
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 8 systems
   {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (4,100.0%), (4,100.0%), (4,100.0%), (4,100.0%)}
 * Non-linear Jacobian (size): 2 systems
   {4, 4}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(7,14,75.5%), (7,14,75.5%), (7,14,75.5%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(4,9), (4,18)}
Notification: Performance of prepare postOptimizeDAE: time 0.007506/2.487, allocations: 3.954 MB / 1.111 GB, free: 180.2 MB / 0.6544 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002037/2.489, allocations: 0.802 MB / 1.112 GB, free: 180.2 MB / 0.6544 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03389/2.523, allocations: 16.71 MB / 1.128 GB, free: 175.1 MB / 0.6544 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03007/2.553, allocations: 15.21 MB / 1.143 GB, free: 170.8 MB / 0.6544 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.138e-05/2.553, allocations: 19.09 kB / 1.143 GB, free: 170.8 MB / 0.6544 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.785e-05/2.554, allocations: 20.44 kB / 1.143 GB, free: 170.8 MB / 0.6544 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06182/2.615, allocations: 33.16 MB / 1.175 GB, free: 143.7 MB / 0.6544 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-05/2.615, allocations: 5.594 kB / 1.175 GB, free: 143.7 MB / 0.6544 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/2.62, allocations: 0.9265 MB / 1.176 GB, free: 142.8 MB / 0.6544 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.02233/2.642, allocations: 7.745 MB / 1.184 GB, free: 135.1 MB / 0.6544 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001252/2.644, allocations: 115.9 kB / 1.184 GB, free: 135 MB / 0.6544 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04086/2.684, allocations: 36.78 MB / 1.22 GB, free: 97.76 MB / 0.6544 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002703/2.687, allocations: 4.961 MB / 1.225 GB, free: 92.43 MB / 0.6544 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04155/2.729, allocations: 24.07 MB / 1.248 GB, free: 68.75 MB / 0.6544 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002613/2.731, allocations: 0.9263 MB / 1.249 GB, free: 67.88 MB / 0.6544 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0026/2.734, allocations: 83.66 kB / 1.249 GB, free: 67.8 MB / 0.6544 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006939/2.741, allocations: 0.5888 MB / 1.25 GB, free: 67.21 MB / 0.6544 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001736/2.743, allocations: 306 kB / 1.25 GB, free: 66.91 MB / 0.6544 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005036/2.743, allocations: 115.9 kB / 1.25 GB, free: 66.79 MB / 0.6544 GB
Notification: Performance of sorting global known variables: time 0.007982/2.751, allocations: 5.582 MB / 1.256 GB, free: 61.24 MB / 0.6544 GB
Notification: Performance of sort global known variables: time 1.7e-07/2.751, allocations: 0 / 1.256 GB, free: 61.24 MB / 0.6544 GB
Notification: Performance of remove unused functions: time 0.01497/2.766, allocations: 3.074 MB / 1.259 GB, free: 58.17 MB / 0.6544 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 10
 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[6],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],Spherical1.phi[1],Spherical1.phi[2],Spherical1.phi[3],Spherical1.phi_d[1],Spherical1.phi_d[2],Spherical1.phi_d[3],Spherical2.phi[1],Spherical2.phi[2],Spherical2.phi[3],Spherical2.phi_d[1],Spherical2.phi_d[2],Spherical2.phi_d[3],Spherical3.w_rel[1],Spherical3.w_rel[2],Spherical3.w_rel[3],Spherical4.w_rel[1],Spherical4.w_rel[2],Spherical4.w_rel[3],boxBody5.body.w_a[1],boxBody5.body.w_a[2],boxBody5.body.w_a[3],boxBody6.body.w_a[1],boxBody6.body.w_a[2],boxBody6.body.w_a[3])
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (297):
 * Single equations (assignments): 282
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 9
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 6 systems
   {(2,100.0%), (2,100.0%), (4,100.0%), (4,100.0%), (4,100.0%), (4,100.0%)}
 * Non-linear Jacobian (size): 3 systems
   {8, 4, 4}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(7,14,75.5%), (7,14,75.5%), (7,14,75.5%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.001944/2.768, allocations: 254.1 kB / 1.259 GB, free: 57.93 MB / 0.6544 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17:writable] Warning: Variable Spherical2.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17:writable] Warning: Variable Spherical2.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17:writable] Warning: Variable Spherical1.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17:writable] Warning: Variable Spherical1.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state.
Notification: Performance of simCode: created initialization part: time 0.02748/2.795, allocations: 17.53 MB / 1.276 GB, free: 40.23 MB / 0.6544 GB
Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.795, allocations: 0 / 1.276 GB, free: 40.23 MB / 0.6544 GB
Notification: Performance of simCode: created simulation system equations: time 0.01416/2.81, allocations: 7.918 MB / 1.284 GB, free: 32.1 MB / 0.6544 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008822/2.818, allocations: 1.238 MB / 1.285 GB, free: 30.88 MB / 0.6544 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03843/2.857, allocations: 25.53 MB / 1.31 GB, free: 5.27 MB / 0.6544 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/2.869, allocations: 6.037 MB / 1.316 GB, free: 15.19 MB / 0.67 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003201/2.872, allocations: 0.6125 MB / 1.316 GB, free: 14.58 MB / 0.67 GB
Notification: Performance of SimCode: time 1.112e-06/2.872, allocations: 0 / 1.316 GB, free: 14.58 MB / 0.67 GB
Notification: Performance of Templates: time 1.499/4.371, allocations: 0.606 GB / 1.922 GB, free: 169.5 MB / 0.6857 GB
"
[Timeout remaining time 656]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulum.makefile [Timeout 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulum.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.SphericalDoublePendulumCalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumCalcHelperMain.cpp
In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumCalcHelperMain.cpp:25:
In file included from ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgLoopMain.cpp:48:
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:56: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                       ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:118: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                     ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:178: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                 ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:239: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                              ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:301: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                            ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:362: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                                                                                         ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:423: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:74:483: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp327 = std::atan2(((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(1)) + (((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(2)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:56: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                       ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:118: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                     ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:178: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                 ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:239: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                              ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:301: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                            ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:362: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                                                                                         ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:423: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:76:483: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp328 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(2)) + (((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(4))) - (_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(1)))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:78:56: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp329 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(2)) + (((-_system->_Spherical3_P_Q_(2)) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(4))))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                       ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:78:117: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp329 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(2)) + (((-_system->_Spherical3_P_Q_(2)) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(4))))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                    ^
./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumAlgloop826.cpp:78:181: error: use of undeclared identifier 'Spherical3_P_Q_start_'
  tmp329 = std::atan2(((_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(2)) + (((-_system->_Spherical3_P_Q_(2)) * Spherical3_P_Q_start_(3)) - (_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(4))))), ((_system->_Spherical3_P_Q_(1) * Spherical3_P_Q_start_(1)) + ((_system->_Spherical3_P_Q_(2) * Spherical3_P_Q_start_(2)) + ((_system->_Spherical3_P_Q_(3) * Spherical3_P_Q_start_(3)) + (_system->_Spherical3_P_Q_(4) * Spherical3_P_Q_start_(4))))));
                                                                                                                                                                                    ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [<builtin>: OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.SphericalDoublePendulumCalcHelperMain.o] Error 1
[Calling os._exit(0), Time elapsed: 9.228850717889145]
Failed to read output from testmodel.py, exit status != 0:
['time', 'Spherical1.phi[1]', 'Spherical1.phi[2]', 'Spherical1.phi[3]', 'Spherical1.phi_d[1]', 'Spherical1.phi_d[2]', 'Spherical1.phi_d[3]', 'Spherical2.phi[1]', 'Spherical2.phi[2]', 'Spherical2.phi[3]', 'Spherical2.phi_d[1]', 'Spherical2.phi_d[2]', 'Spherical2.phi_d[3]', 'Spherical3.Q[1]', 'Spherical3.Q[2]', 'Spherical3.Q[3]', 'Spherical3.Q[4]', 'Spherical3.w_rel[1]', 'Spherical3.w_rel[2]', 'Spherical3.w_rel[3]', 'Spherical4.Q[1]', 'Spherical4.Q[2]', 'Spherical4.Q[3]', 'Spherical4.Q[4]', 'Spherical4.w_rel[1]', 'Spherical4.w_rel[2]', 'Spherical4.w_rel[3]', 'boxBody5.body.Q[1]', 'boxBody5.body.Q[2]', 'boxBody5.body.Q[3]', 'boxBody5.body.Q[4]', 'boxBody5.body.w_a[1]', 'boxBody5.body.w_a[2]', 'boxBody5.body.w_a[3]', 'boxBody6.body.Q[1]', 'boxBody6.body.Q[2]', 'boxBody6.body.Q[3]', 'boxBody6.body.Q[4]', 'boxBody6.body.w_a[1]', 'boxBody6.body.w_a[2]', 'boxBody6.body.w_a[3]']
4.379141235956922 4.38760588 3.8164149
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0f5402d810>