Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 204.8 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2423/0.2423, allocations: 46.96 MB / 361.6 MB, free: 4.051 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,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.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,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.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 75.88 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3625, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01417/0.3767, allocations: 10.85 MB / 0.5724 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.3871, allocations: 4.165 MB / 0.5765 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.3895, allocations: 91.56 kB / 0.5766 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006367/0.3959, allocations: 2.819 MB / 0.5793 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006192/0.4021, allocations: 2.132 MB / 0.5814 GB, free: 56 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.4045, allocations: 0.9321 MB / 0.5823 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009566/0.4141, allocations: 5.595 MB / 0.5878 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004982/0.4191, allocations: 3.169 MB / 0.5909 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.4227, allocations: 1.854 MB / 0.5927 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004929/0.4277, allocations: 2.804 MB / 0.5954 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.4289, allocations: 384 kB / 0.5958 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.4317, allocations: 1.128 MB / 0.5969 GB, free: 104 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002954/0.4347, allocations: 2.337 MB / 0.5992 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003567/0.4382, allocations: 1.946 MB / 0.6011 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.4488, allocations: 7.994 MB / 0.6089 GB, free: 3.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4488, allocations: 0 / 0.6089 GB, free: 3.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4488, allocations: 0 / 0.6089 GB, free: 3.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002776/0.4491, allocations: 0 / 0.6089 GB, free: 3.777 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01594/0.4651, allocations: 5.905 MB / 0.6146 GB, free: 13.81 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4651, allocations: 15.97 kB / 0.6147 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.4758, allocations: 2.482 MB / 0.6171 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007672/0.4835, allocations: 2.738 MB / 0.6198 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.4838, allocations: 287.5 kB / 0.62 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002554/0.4864, allocations: 0.6047 MB / 0.6206 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02621/0.5126, allocations: 12.28 MB / 0.6326 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002412/0.5128, allocations: 51.58 kB / 0.6327 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/0.5142, allocations: 179.8 kB / 0.6328 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/0.5178, allocations: 2.147 MB / 0.6349 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/0.5419, allocations: 10.75 MB / 0.6454 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07753/0.6195, allocations: 44.91 MB / 0.6893 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/0.6357, allocations: 4.827 MB / 0.694 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004453/0.6401, allocations: 2.408 MB / 0.6963 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02341/0.6636, allocations: 9.708 MB / 0.7058 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.6636, allocations: 55.81 kB / 0.7059 GB, free: 14.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=219): time 6.302e-06/0.6636, allocations: 4 kB / 0.7059 GB, free: 14.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=258): time 0.07257/0.7362, allocations: 24.46 MB / 0.7298 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004226/0.7404, allocations: 4.512 MB / 0.7342 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3312/1.072, allocations: 4.315 MB / 0.7384 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007697/1.072, allocations: 64.94 kB / 0.7385 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/1.074, allocations: 3.683 MB / 0.7421 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.076, allocations: 1.075 MB / 0.7431 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/1.078, allocations: 1.549 MB / 0.7446 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/1.078, allocations: 305.1 kB / 0.7449 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/1.082, allocations: 3.288 MB / 0.7481 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005729/1.088, allocations: 7.674 MB / 0.7556 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/1.098, allocations: 11.52 MB / 0.7669 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.098, allocations: 47.69 kB / 0.7669 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04127/1.14, allocations: 16.31 MB / 0.7828 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002398/1.14, allocations: 68 kB / 0.7829 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02958/1.169, allocations: 9.605 MB / 0.7923 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02908/1.199, allocations: 6.923 MB / 0.799 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/1.205, allocations: 1.716 MB / 0.8007 GB, free: 99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02667/1.231, allocations: 23.13 MB / 0.8233 GB, free: 75.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/1.238, allocations: 0.6745 MB / 0.824 GB, free: 74.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001571/1.24, allocations: 455.9 kB / 0.8244 GB, free: 74.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (923): * Single equations (assignments): 902 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 5 systems {(4,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {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): 4 systems {(1,1,100.0%), (5,13,100.0%), (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.004968/1.245, allocations: 2.344 MB / 0.8267 GB, free: 71.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.246, allocations: 401.4 kB / 0.8271 GB, free: 71.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/1.248, allocations: 0.5878 MB / 0.8276 GB, free: 70.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01298/1.261, allocations: 6.47 MB / 0.834 GB, free: 64.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-05/1.261, allocations: 8 kB / 0.834 GB, free: 64.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.953e-05/1.261, allocations: 15.95 kB / 0.834 GB, free: 64.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/1.291, allocations: 13.97 MB / 0.8476 GB, free: 50.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.678e-05/1.291, allocations: 4 kB / 0.8476 GB, free: 50.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.293, allocations: 459.3 kB / 0.8481 GB, free: 49.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009363/1.302, allocations: 3.369 MB / 0.8514 GB, free: 46.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007041/1.303, allocations: 79.94 kB / 0.8514 GB, free: 46.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.319, allocations: 18.17 MB / 0.8692 GB, free: 27.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002407/1.322, allocations: 4.318 MB / 0.8734 GB, free: 22.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.34, allocations: 10.68 MB / 0.8838 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.341, allocations: 377.5 kB / 0.8842 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.342, allocations: 67.98 kB / 0.8842 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/1.345, allocations: 299.5 kB / 0.8845 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008115/1.346, allocations: 221.3 kB / 0.8847 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003954/1.347, allocations: 87.16 kB / 0.8848 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004452/1.351, allocations: 2.484 MB / 0.8873 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.351, allocations: 0 / 0.8873 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008174/1.359, allocations: 1.566 MB / 0.8888 GB, free: 6.664 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($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],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],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.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 (195): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 5 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 3 systems {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): 4 systems {(1,1,100.0%), (5,8,100.0%), (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.0008882/1.36, allocations: 219 kB / 0.889 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01719/1.377, allocations: 9.083 MB / 0.8979 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.377, allocations: 384 / 0.8979 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01/1.387, allocations: 4.31 MB / 0.9021 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/1.392, allocations: 0.4935 MB / 0.9026 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/1.423, allocations: 14.02 MB / 0.9162 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007203/1.43, allocations: 3.174 MB / 0.9193 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.432, allocations: 343.3 kB / 0.9197 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of SimCode: time 1.904e-06/1.432, allocations: 0 / 0.9197 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.9266/2.358, allocations: 325.4 MB / 1.237 GB, free: 240.9 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.o OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2AlgLoopMain.cpp:48: ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:50: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:100: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:148: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:197: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:247: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:296: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:345: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:393: error: use of undeclared identifier 'body_P_Q_start_' tmp162 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:50: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:100: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:148: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:197: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:247: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:296: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:345: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:393: error: use of undeclared identifier 'body_P_Q_start_' tmp163 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:78:50: error: use of undeclared identifier 'body_P_Q_start_' tmp164 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:78:99: error: use of undeclared identifier 'body_P_Q_start_' tmp164 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:78:151: error: use of undeclared identifier 'body_P_Q_start_' tmp164 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.114919941988774] 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]', 'body1.Q[1]', 'body1.Q[2]', 'body1.Q[3]', 'body1.Q[4]', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]', 'body2.Q[1]', 'body2.Q[2]', 'body2.Q[3]', 'body2.Q[4]', 'body2.frame_a.r_0[1]', 'body2.frame_a.r_0[2]', 'body2.frame_a.r_0[3]', 'body2.v_0[1]', 'body2.v_0[2]', 'body2.v_0[3]', 'body2.w_a[1]', 'body2.w_a[2]', 'body2.w_a[3]'] 2.3692819999996573 2.380905377 1.929223695 Calling exit ...