Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001349/0.001349, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002129/0.002129, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 44.92 MB / 359.6 MB, free: 6.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.Spring2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 67.91 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3531, allocations: 65.47 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01469/0.3678, allocations: 12.52 MB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009951/0.3777, allocations: 4.406 MB / 0.5748 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.3815, allocations: 87.56 kB / 0.5749 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006734/0.3882, allocations: 2.943 MB / 0.5777 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.3943, allocations: 2.128 MB / 0.5798 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.3968, allocations: 0.9282 MB / 0.5807 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009843/0.4066, allocations: 5.595 MB / 0.5862 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005759/0.4124, allocations: 3.165 MB / 0.5893 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.4167, allocations: 1.853 MB / 0.5911 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005323/0.422, allocations: 2.804 MB / 0.5938 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.4236, allocations: 384 kB / 0.5942 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.4272, allocations: 1.256 MB / 0.5954 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003878/0.4311, allocations: 2.341 MB / 0.5977 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005918/0.437, allocations: 2.579 MB / 0.6002 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.4505, allocations: 7.955 MB / 0.608 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4505, allocations: 0 / 0.608 GB, free: 4.555 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4505, allocations: 0 / 0.608 GB, free: 4.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003517/0.4508, allocations: 0 / 0.608 GB, free: 4.555 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.01689/0.4677, allocations: 5.908 MB / 0.6138 GB, free: 14.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.4678, allocations: 16.02 kB / 0.6138 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.4782, allocations: 2.486 MB / 0.6162 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006787/0.485, allocations: 2.714 MB / 0.6189 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/0.4854, allocations: 295.5 kB / 0.6191 GB, free: 9.023 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002494/0.4879, allocations: 0.6048 MB / 0.6197 GB, free: 8.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0262/0.5141, allocations: 12.16 MB / 0.6316 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003318/0.5144, allocations: 51.58 kB / 0.6317 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001765/0.5162, allocations: 179.8 kB / 0.6318 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003854/0.52, allocations: 2.143 MB / 0.6339 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/0.5448, allocations: 10.79 MB / 0.6445 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07517/0.62, allocations: 47.54 MB / 0.6909 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/0.6354, allocations: 4.83 MB / 0.6956 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/0.6395, allocations: 2.408 MB / 0.6979 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02268/0.6622, allocations: 10.3 MB / 0.708 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.128e-05/0.6622, allocations: 67.81 kB / 0.7081 GB, free: 11.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=219): time 6.202e-06/0.6623, allocations: 0 / 0.7081 GB, free: 11.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=258): time 0.07157/0.7338, allocations: 24.44 MB / 0.7319 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3138/1.048, allocations: 4.581 MB / 0.7364 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007304/1.055, allocations: 4.543 MB / 0.7408 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007393/1.056, allocations: 68.69 kB / 0.7409 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/1.057, allocations: 3.661 MB / 0.7445 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.059, allocations: 1.074 MB / 0.7455 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/1.06, allocations: 1.549 MB / 0.747 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/1.061, allocations: 301.1 kB / 0.7473 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/1.065, allocations: 3.296 MB / 0.7506 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00569/1.07, allocations: 7.616 MB / 0.758 GB, free: 144 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.081, allocations: 11.52 MB / 0.7692 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.081, allocations: 47.7 kB / 0.7693 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04036/1.121, allocations: 16.35 MB / 0.7853 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002213/1.121, allocations: 72 kB / 0.7853 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02993/1.151, allocations: 9.592 MB / 0.7947 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02928/1.181, allocations: 6.923 MB / 0.8014 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/1.186, allocations: 1.723 MB / 0.8031 GB, free: 99.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02777/1.214, allocations: 23.55 MB / 0.8261 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007446/1.221, allocations: 0.6653 MB / 0.8268 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/1.223, allocations: 468.1 kB / 0.8272 GB, free: 74.23 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.005442/1.228, allocations: 2.343 MB / 0.8295 GB, free: 71.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/1.23, allocations: 433.1 kB / 0.8299 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/1.231, allocations: 0.6188 MB / 0.8305 GB, free: 70.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01309/1.244, allocations: 6.466 MB / 0.8368 GB, free: 64.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-05/1.245, allocations: 12 kB / 0.8369 GB, free: 64.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.737e-05/1.245, allocations: 15.95 kB / 0.8369 GB, free: 64.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03317/1.278, allocations: 15.23 MB / 0.8517 GB, free: 48.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/1.278, allocations: 8 kB / 0.8518 GB, free: 48.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.28, allocations: 451.3 kB / 0.8522 GB, free: 48.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009408/1.289, allocations: 3.373 MB / 0.8555 GB, free: 45.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000613/1.29, allocations: 83.94 kB / 0.8556 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/1.307, allocations: 18.41 MB / 0.8735 GB, free: 25.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002297/1.31, allocations: 4.391 MB / 0.8778 GB, free: 21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/1.328, allocations: 10.71 MB / 0.8883 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.33, allocations: 424.9 kB / 0.8887 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.331, allocations: 71.97 kB / 0.8888 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/1.334, allocations: 303.5 kB / 0.8891 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006404/1.335, allocations: 219.1 kB / 0.8893 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.335, allocations: 83.95 kB / 0.8893 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003874/1.339, allocations: 2.811 MB / 0.8921 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.339, allocations: 0 / 0.8921 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008057/1.347, allocations: 1.578 MB / 0.8936 GB, free: 4.648 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.0006211/1.348, allocations: 216.4 kB / 0.8938 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01877/1.367, allocations: 9.089 MB / 0.9027 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.367, allocations: 4 kB / 0.9027 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01075/1.377, allocations: 4.303 MB / 0.9069 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005264/1.383, allocations: 0.5662 MB / 0.9075 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/1.413, allocations: 14.08 MB / 0.9212 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004821/1.418, allocations: 3.683 MB / 0.9248 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/1.42, allocations: 363.3 kB / 0.9252 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.42, allocations: 0 / 0.9252 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of Templates: time 0.8831/2.303, allocations: 325.6 MB / 1.243 GB, free: 241.7 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.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 -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.0.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2AlgLoopMain.cpp:48: ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:50: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:100: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:148: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:197: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:247: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:296: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:345: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:74:393: error: use of undeclared identifier 'body_P_Q_start_' tmp192 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:50: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:100: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:148: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:197: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:247: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:296: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:345: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:76:393: error: use of undeclared identifier 'body_P_Q_start_' tmp193 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:78:50: error: use of undeclared identifier 'body_P_Q_start_' tmp194 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:78:99: error: use of undeclared identifier 'body_P_Q_start_' tmp194 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2Algloop667.cpp:78:151: error: use of undeclared identifier 'body_P_Q_start_' tmp194 = 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.0.0_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 6.836274893954396] 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.3135145797859877 2.32340594 1.870217781 Calling exit ...