Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.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.001427/0.001427, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.00194/0.00194, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.535/1.535, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2627/0.2627, allocations: 46.95 MB / 361.6 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 83.86 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4209, allocations: 66.08 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.0151/0.436, allocations: 10.84 MB / 0.5725 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.4472, allocations: 4.166 MB / 0.5766 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.45, allocations: 95.5 kB / 0.5767 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006366/0.4564, allocations: 2.819 MB / 0.5794 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006731/0.4631, allocations: 2.132 MB / 0.5815 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.4656, allocations: 0.9321 MB / 0.5824 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.4757, allocations: 5.594 MB / 0.5879 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/0.4804, allocations: 3.157 MB / 0.591 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003792/0.4842, allocations: 1.85 MB / 0.5928 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004885/0.4891, allocations: 2.659 MB / 0.5954 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.4902, allocations: 384 kB / 0.5957 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.4929, allocations: 1.112 MB / 0.5968 GB, free: 76 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.4957, allocations: 2.345 MB / 0.5991 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002944/0.4987, allocations: 1.946 MB / 0.601 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.5097, allocations: 7.98 MB / 0.6088 GB, free: 3.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5097, allocations: 0 / 0.6088 GB, free: 3.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5097, allocations: 4 kB / 0.6088 GB, free: 3.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003908/0.5101, allocations: 4 kB / 0.6088 GB, free: 3.746 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.01721/0.5273, allocations: 5.905 MB / 0.6146 GB, free: 13.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5274, allocations: 12.03 kB / 0.6146 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.5378, allocations: 2.49 MB / 0.617 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008407/0.5462, allocations: 2.734 MB / 0.6197 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.5467, allocations: 291.5 kB / 0.62 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003436/0.5501, allocations: 0.6008 MB / 0.6205 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03061/0.5807, allocations: 12.28 MB / 0.6325 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002871/0.581, allocations: 51.58 kB / 0.6326 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001768/0.5828, allocations: 183.8 kB / 0.6328 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003878/0.5867, allocations: 2.139 MB / 0.6349 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02682/0.6135, allocations: 10.75 MB / 0.6454 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07541/0.6889, allocations: 44.91 MB / 0.6892 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/0.7053, allocations: 4.825 MB / 0.6939 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/0.7097, allocations: 2.417 MB / 0.6963 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0237/0.7334, allocations: 9.704 MB / 0.7058 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.7335, allocations: 59.81 kB / 0.7058 GB, free: 14.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=219): time 1.036e-05/0.7336, allocations: 0 / 0.7058 GB, free: 14.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=258): time 0.07697/0.8105, allocations: 24.47 MB / 0.7297 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00519/0.8157, allocations: 4.511 MB / 0.7341 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3701/1.186, allocations: 4.308 MB / 0.7383 GB, free: 155 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007806/1.187, allocations: 67.95 kB / 0.7384 GB, free: 155 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002015/1.189, allocations: 3.686 MB / 0.742 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.19, allocations: 1.076 MB / 0.743 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/1.192, allocations: 1.551 MB / 0.7446 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/1.192, allocations: 301.1 kB / 0.7448 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/1.196, allocations: 3.294 MB / 0.7481 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/1.201, allocations: 7.671 MB / 0.7556 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.212, allocations: 11.52 MB / 0.7668 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.212, allocations: 47.75 kB / 0.7668 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.03932/1.251, allocations: 16.3 MB / 0.7828 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/1.252, allocations: 73 kB / 0.7828 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02845/1.28, allocations: 9.615 MB / 0.7922 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0304/1.31, allocations: 6.916 MB / 0.799 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00536/1.316, allocations: 1.727 MB / 0.8007 GB, free: 98.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02673/1.342, allocations: 23.12 MB / 0.8232 GB, free: 74.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006915/1.349, allocations: 0.6757 MB / 0.8239 GB, free: 74.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/1.351, allocations: 455.9 kB / 0.8243 GB, free: 73.8 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.004695/1.355, allocations: 2.349 MB / 0.8266 GB, free: 71.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.357, allocations: 403.2 kB / 0.827 GB, free: 71.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/1.358, allocations: 0.5839 MB / 0.8276 GB, free: 70.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01226/1.37, allocations: 6.466 MB / 0.8339 GB, free: 63.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/1.37, allocations: 8 kB / 0.8339 GB, free: 63.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/1.37, allocations: 11.95 kB / 0.8339 GB, free: 63.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03171/1.402, allocations: 13.98 MB / 0.8476 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.194e-05/1.402, allocations: 8 kB / 0.8476 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.404, allocations: 447.4 kB / 0.848 GB, free: 49.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009837/1.414, allocations: 3.379 MB / 0.8513 GB, free: 45.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006525/1.415, allocations: 79.94 kB / 0.8514 GB, free: 45.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/1.432, allocations: 18.16 MB / 0.8691 GB, free: 27.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002211/1.434, allocations: 4.316 MB / 0.8733 GB, free: 22.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.454, allocations: 10.68 MB / 0.8838 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.455, allocations: 377.2 kB / 0.8841 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001399/1.457, allocations: 67.97 kB / 0.8842 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/1.46, allocations: 299.5 kB / 0.8845 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008797/1.461, allocations: 217.4 kB / 0.8847 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004679/1.462, allocations: 83.89 kB / 0.8847 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004451/1.466, allocations: 2.476 MB / 0.8872 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.466, allocations: 4 kB / 0.8872 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008625/1.475, allocations: 1.571 MB / 0.8887 GB, free: 6.422 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.001029/1.476, allocations: 208.4 kB / 0.8889 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01833/1.494, allocations: 9.092 MB / 0.8978 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/1.494, allocations: 0 / 0.8978 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01077/1.505, allocations: 4.305 MB / 0.902 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005355/1.51, allocations: 0.5005 MB / 0.9025 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/1.541, allocations: 14.03 MB / 0.9162 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007263/1.548, allocations: 3.162 MB / 0.9193 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.55, allocations: 347.3 kB / 0.9196 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/1.55, allocations: 0 / 0.9196 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of Templates: time 0.8832/2.433, allocations: 325.4 MB / 1.237 GB, free: 234.6 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2.makefile [Timeout 660] make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring2AlgLoopMain.cpp:48: ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.202013019938022] 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.443576596211642 2.455553971 1.942847543 Calling exit ...