Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.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.001443/0.001443, allocations: 107.6 kB / 21.19 MB, free: 0.6758 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.001558/0.001558, allocations: 215.6 kB / 24.48 MB, free: 3.977 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.593/1.593, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2383/0.2383, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.Parts.Rotor1D.GearConstraint4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion1.phi.1.|freeMotion1.phi.2.|freeMotion1.phi.3.|freeMotion1.phi_d.1.|freeMotion1.phi_d.2.|freeMotion1.phi_d.3.|freeMotion1.r_rel_a.1.|freeMotion1.r_rel_a.2.|freeMotion1.r_rel_a.3.|freeMotion1.v_rel_a.1.|freeMotion1.v_rel_a.2.|freeMotion1.v_rel_a.3.|freeMotion2.phi.1.|freeMotion2.phi.2.|freeMotion2.phi.3.|freeMotion2.phi_d.1.|freeMotion2.phi_d.2.|freeMotion2.phi_d.3.|freeMotion2.r_rel_a.1.|freeMotion2.r_rel_a.2.|freeMotion2.r_rel_a.3.|freeMotion2.v_rel_a.1.|freeMotion2.v_rel_a.2.|freeMotion2.v_rel_a.3.|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion1.phi.1.|freeMotion1.phi.2.|freeMotion1.phi.3.|freeMotion1.phi_d.1.|freeMotion1.phi_d.2.|freeMotion1.phi_d.3.|freeMotion1.r_rel_a.1.|freeMotion1.r_rel_a.2.|freeMotion1.r_rel_a.3.|freeMotion1.v_rel_a.1.|freeMotion1.v_rel_a.2.|freeMotion1.v_rel_a.3.|freeMotion2.phi.1.|freeMotion2.phi.2.|freeMotion2.phi.3.|freeMotion2.phi_d.1.|freeMotion2.phi_d.2.|freeMotion2.phi_d.3.|freeMotion2.r_rel_a.1.|freeMotion2.r_rel_a.2.|freeMotion2.r_rel_a.3.|freeMotion2.v_rel_a.1.|freeMotion2.v_rel_a.2.|freeMotion2.v_rel_a.3.|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4044, allocations: 66.02 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.0449/0.4493, allocations: 35.57 MB / 0.5966 GB, free: 440 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02982/0.4792, allocations: 11.16 MB / 0.6075 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01122/0.4904, allocations: 445.7 kB / 0.6079 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02855/0.5189, allocations: 14.44 MB / 0.622 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01605/0.535, allocations: 5.151 MB / 0.627 GB, free: 1.141 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.5457, allocations: 4.382 MB / 0.6313 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03432/0.58, allocations: 19.82 MB / 0.6507 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02192/0.6019, allocations: 12.98 MB / 0.6633 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01805/0.62, allocations: 6.584 MB / 0.6698 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01919/0.6392, allocations: 9.006 MB / 0.6786 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00635/0.6455, allocations: 1.445 MB / 0.68 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01027/0.6558, allocations: 2.49 MB / 0.6824 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.01517/0.671, allocations: 7.851 MB / 0.6901 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01983/0.6908, allocations: 6.296 MB / 0.6962 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.04386/0.7346, allocations: 24.5 MB / 0.7201 GB, free: 1.414 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.7347, allocations: 0 / 0.7201 GB, free: 1.414 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.895e-06/0.7347, allocations: 4 kB / 0.7201 GB, free: 1.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001051/0.7357, allocations: 0 / 0.7201 GB, free: 1.41 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4096 * Number of variables: 4096 Notification: Performance of Generate backend data structure: time 0.9005/1.636, allocations: 19.12 MB / 0.7388 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.636, allocations: 9.375 kB / 0.7388 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04198/1.678, allocations: 4.682 MB / 0.7434 GB, free: 143.4 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03706/1.715, allocations: 12.23 MB / 0.7553 GB, free: 134 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/1.717, allocations: 0.848 MB / 0.7562 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008218/1.725, allocations: 1.2 MB / 0.7573 GB, free: 132.1 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07495/1.8, allocations: 29.1 MB / 0.7858 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001172/1.801, allocations: 158.7 kB / 0.7859 GB, free: 101.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005946/1.807, allocations: 0.5059 MB / 0.7864 GB, free: 101.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006318/1.813, allocations: 3.771 MB / 0.7901 GB, free: 97.3 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0601/1.873, allocations: 24.36 MB / 0.8139 GB, free: 72.95 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1831/2.056, allocations: 105.3 MB / 0.9167 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05602/2.112, allocations: 15.28 MB / 0.9316 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01752/2.13, allocations: 10.19 MB / 0.9416 GB, free: 4.949 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/2.132, allocations: 0.5659 MB / 0.9421 GB, free: 4.383 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/2.132, allocations: 94.78 kB / 0.9422 GB, free: 4.277 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=541): time 9.127e-06/2.132, allocations: 0 / 0.9422 GB, free: 4.277 MB / 0.6232 GB Notification: Performance of matching and sorting (n=748): time 1.333/3.465, allocations: 147.8 MB / 1.087 GB, free: 169.8 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/3.466, allocations: 342.9 kB / 1.087 GB, free: 169.4 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02225/3.488, allocations: 10.4 MB / 1.097 GB, free: 159.3 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.003097/3.491, allocations: 141.7 kB / 1.097 GB, free: 159.1 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.007721/3.499, allocations: 8.43 MB / 1.105 GB, free: 151.4 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.005863/3.504, allocations: 2.834 MB / 1.108 GB, free: 148.6 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01462/3.519, allocations: 3.311 MB / 1.111 GB, free: 145.3 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/3.519, allocations: 305.1 kB / 1.112 GB, free: 145 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01561/3.535, allocations: 10.33 MB / 1.122 GB, free: 134.7 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02021/3.555, allocations: 17.25 MB / 1.139 GB, free: 114.2 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03596/3.591, allocations: 28.86 MB / 1.167 GB, free: 82.2 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003487/3.591, allocations: 64 kB / 1.167 GB, free: 82.14 MB / 0.6702 GB Notification: Performance of matching and sorting (n=1958) (initialization): time 0.0881/3.679, allocations: 38.29 MB / 1.204 GB, free: 43.79 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/3.68, allocations: 103.9 kB / 1.204 GB, free: 43.69 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000595/3.68, allocations: 227.9 kB / 1.205 GB, free: 43.46 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03479/3.715, allocations: 12.24 MB / 1.217 GB, free: 31.19 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01403/3.729, allocations: 3.458 MB / 1.22 GB, free: 27.73 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5498/4.279, allocations: 62.11 MB / 1.281 GB, free: 187.3 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01794/4.297, allocations: 1.019 MB / 1.282 GB, free: 187 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004621/4.302, allocations: 0.8843 MB / 1.282 GB, free: 186.9 MB / 0.6702 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1020 * Number of states: 0 () * Number of discrete variables: 160 (absoluteSensor_1D.arrow.twoHeadedArrow,absoluteSensor_1D.arrow.headAtOrigin,absoluteSensor_MBS.arrow.twoHeadedArrow,absoluteSensor_MBS.arrow.headAtOrigin,torque3.torqueArrow.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,cyl4.color[3],cyl4.color[2],cyl4.color[1],cyl4.body.sphereColor[3],cyl4.body.sphereColor[2],cyl4.body.sphereColor[1],cyl3.color[3],cyl3.color[2],cyl3.color[1],cyl3.body.sphereColor[3],cyl3.body.sphereColor[2],cyl3.body.sphereColor[1],absoluteSensor_1D.arrowColor[3],absoluteSensor_1D.arrowColor[2],absoluteSensor_1D.arrowColor[1],absoluteSensor_MBS.arrowColor[3],absoluteSensor_MBS.arrowColor[2],absoluteSensor_MBS.arrowColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],fixedTranslation8.color[3],fixedTranslation8.color[2],fixedTranslation8.color[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],fixedTranslation7.color[3],fixedTranslation7.color[2],fixedTranslation7.color[1],bodyShape2.color[3],bodyShape2.color[2],bodyShape2.color[1],bodyShape2.body.sphereColor[3],bodyShape2.body.sphereColor[2],bodyShape2.body.sphereColor[1],bodyShape2.frameTranslation.color[3],bodyShape2.frameTranslation.color[2],bodyShape2.frameTranslation.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],freeMotion2.arrowColor[3],freeMotion2.arrowColor[2],freeMotion2.arrowColor[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],bodyShape1.color[3],bodyShape1.color[2],bodyShape1.color[1],bodyShape1.body.sphereColor[3],bodyShape1.body.sphereColor[2],bodyShape1.body.sphereColor[1],bodyShape1.frameTranslation.color[3],bodyShape1.frameTranslation.color[2],bodyShape1.frameTranslation.color[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],freeMotion1.arrowColor[3],freeMotion1.arrowColor[2],freeMotion1.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1688): * Single equations (assignments): 1676 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(10,102,78.0%), (12,120,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0171/4.319, allocations: 5.835 MB / 1.288 GB, free: 184.6 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005026/4.324, allocations: 1.045 MB / 1.289 GB, free: 184.6 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06804/4.392, allocations: 30.56 MB / 1.319 GB, free: 168.6 MB / 0.6702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/4.392, allocations: 79.8 kB / 1.319 GB, free: 168.5 MB / 0.6702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002374/4.392, allocations: 44 kB / 1.319 GB, free: 168.5 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002561/4.392, allocations: 32.95 kB / 1.319 GB, free: 168.5 MB / 0.6702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.131/4.523, allocations: 52.63 MB / 1.371 GB, free: 116.9 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001418/4.524, allocations: 4.875 kB / 1.371 GB, free: 116.9 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007673/4.531, allocations: 1.329 MB / 1.372 GB, free: 115.6 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03278/4.564, allocations: 11.71 MB / 1.383 GB, free: 103.9 MB / 0.6702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003037/4.567, allocations: 219.8 kB / 1.383 GB, free: 103.7 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09147/4.659, allocations: 60.18 MB / 1.442 GB, free: 44.04 MB / 0.6702 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/4.659, allocations: 4 kB / 1.442 GB, free: 44.04 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08001/4.739, allocations: 42.28 MB / 1.484 GB, free: 2.191 MB / 0.6702 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004467/4.743, allocations: 0.9638 MB / 1.484 GB, free: 1.41 MB / 0.6702 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006122/4.749, allocations: 146.6 kB / 1.485 GB, free: 1.27 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01165/4.761, allocations: 0.5734 MB / 1.485 GB, free: 0.6953 MB / 0.6702 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004729/4.766, allocations: 0.6079 MB / 1.486 GB, free: 88 kB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002817/4.768, allocations: 267.8 kB / 1.486 GB, free: 15.82 MB / 0.6858 GB Notification: Performance of sorting global known variables: time 0.01772/4.786, allocations: 6.358 MB / 1.492 GB, free: 9.5 MB / 0.6858 GB Notification: Performance of sort global known variables: time 6.91e-07/4.786, allocations: 4 kB / 1.492 GB, free: 9.496 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.02541/4.811, allocations: 3.978 MB / 1.496 GB, free: 5.527 MB / 0.6858 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 32 (freeMotion1.r_rel_a[1],freeMotion1.r_rel_a[2],freeMotion1.r_rel_a[3],freeMotion1.v_rel_a[1],freeMotion1.v_rel_a[2],freeMotion1.v_rel_a[3],freeMotion1.phi[1],freeMotion1.phi[2],freeMotion1.phi[3],freeMotion1.phi_d[1],freeMotion1.phi_d[2],freeMotion1.phi_d[3],revolute1.phi,revolute1.w,gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,freeMotion2.r_rel_a[1],freeMotion2.r_rel_a[2],freeMotion2.r_rel_a[3],freeMotion2.v_rel_a[1],freeMotion2.v_rel_a[2],freeMotion2.v_rel_a[3],freeMotion2.phi[1],freeMotion2.phi[2],freeMotion2.phi[3],freeMotion2.phi_d[1],freeMotion2.phi_d[2],freeMotion2.phi_d[3],revolute2.phi,revolute2.w,inertia1.phi,inertia1.w) * 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 (548): * Single equations (assignments): 542 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(30,90,36.7%), (28,70,29.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003749/4.815, allocations: 394.5 kB / 1.497 GB, free: 5.156 MB / 0.6858 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95:41:writable] Warning: Variable freeMotion1.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95:41:writable] Warning: Variable freeMotion1.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95:41:writable] Warning: Variable freeMotion2.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95:41:writable] Warning: Variable freeMotion2.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.4288/5.244, allocations: 24.85 MB / 1.521 GB, free: 226.5 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/5.244, allocations: 3.281 kB / 1.521 GB, free: 226.5 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 0.02977/5.274, allocations: 13.32 MB / 1.534 GB, free: 222.3 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01579/5.29, allocations: 1.701 MB / 1.535 GB, free: 221.6 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08063/5.37, allocations: 39.23 MB / 1.574 GB, free: 188.3 MB / 0.6858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02084/5.391, allocations: 8.875 MB / 1.582 GB, free: 181.5 MB / 0.6858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005162/5.396, allocations: 0.9987 MB / 1.583 GB, free: 180.5 MB / 0.6858 GB Notification: Performance of SimCode: time 2.335e-06/5.396, allocations: 0 / 1.583 GB, free: 180.5 MB / 0.6858 GB Notification: Performance of Templates: time 1.274/6.67, allocations: 491 MB / 2.063 GB, free: 230.4 MB / 0.717 GB " [Timeout remaining time 653] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.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.Parts.Rotor1D.GearConstraint4CalcHelperMain.o OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:17: ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1357:13: warning: '_sine2_P_amplitude_' macro redefined [-Wmacro-redefined] #define _sine2_P_amplitude_ _pointerToRealVars[3019] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1343:13: note: previous definition is here #define _sine2_P_amplitude_ _pointerToRealVars[3005] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1358:13: warning: '_sine2_P_f_' macro redefined [-Wmacro-redefined] #define _sine2_P_f_ _pointerToRealVars[3020] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1346:13: note: previous definition is here #define _sine2_P_f_ _pointerToRealVars[3008] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1359:13: warning: '_sine2_P_offset_' macro redefined [-Wmacro-redefined] #define _sine2_P_offset_ _pointerToRealVars[3021] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1349:13: note: previous definition is here #define _sine2_P_offset_ _pointerToRealVars[3011] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1360:13: warning: '_sine2_P_phase_' macro redefined [-Wmacro-redefined] #define _sine2_P_phase_ _pointerToRealVars[3022] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1352:13: note: previous definition is here #define _sine2_P_phase_ _pointerToRealVars[3014] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1361:13: warning: '_sine2_P_startTime_' macro redefined [-Wmacro-redefined] #define _sine2_P_startTime_ _pointerToRealVars[3023] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1355:13: note: previous definition is here #define _sine2_P_startTime_ _pointerToRealVars[3017] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1637:13: warning: '_sine2_P_continuous_' macro redefined [-Wmacro-redefined] #define _sine2_P_continuous_ _pointerToBoolVars[178] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1635:13: note: previous definition is here #define _sine2_P_continuous_ _pointerToBoolVars[176] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2325:13: warning: '_sine2_P_y_' macro redefined [-Wmacro-redefined] #define _sine2_P_y_ _pointerToRealVars[1584] ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2323:13: note: previous definition is here #define _sine2_P_y_ _pointerToRealVars[1493] ^ In file included from OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:29: ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:129:76: error: use of undeclared identifier 'bodyBox1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox1_P_body_P_Q_(1),bodyBox1_P_body_P_Q_start_(1)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:130:76: error: use of undeclared identifier 'bodyBox1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox1_P_body_P_Q_(2),bodyBox1_P_body_P_Q_start_(2)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:131:76: error: use of undeclared identifier 'bodyBox1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox1_P_body_P_Q_(3),bodyBox1_P_body_P_Q_start_(3)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:132:76: error: use of undeclared identifier 'bodyBox1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox1_P_body_P_Q_(4),bodyBox1_P_body_P_Q_start_(4)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:142:76: error: use of undeclared identifier 'bodyBox3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox3_P_body_P_Q_(1),bodyBox3_P_body_P_Q_start_(1)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:143:76: error: use of undeclared identifier 'bodyBox3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox3_P_body_P_Q_(2),bodyBox3_P_body_P_Q_start_(2)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:144:76: error: use of undeclared identifier 'bodyBox3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox3_P_body_P_Q_(3),bodyBox3_P_body_P_Q_start_(3)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:145:76: error: use of undeclared identifier 'bodyBox3_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyBox3_P_body_P_Q_(4),bodyBox3_P_body_P_Q_start_(4)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:155:78: error: use of undeclared identifier 'bodyShape1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape1_P_body_P_Q_(1),bodyShape1_P_body_P_Q_start_(1)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:156:78: error: use of undeclared identifier 'bodyShape1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape1_P_body_P_Q_(2),bodyShape1_P_body_P_Q_start_(2)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:157:78: error: use of undeclared identifier 'bodyShape1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape1_P_body_P_Q_(3),bodyShape1_P_body_P_Q_start_(3)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:158:78: error: use of undeclared identifier 'bodyShape1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape1_P_body_P_Q_(4),bodyShape1_P_body_P_Q_start_(4)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:168:78: error: use of undeclared identifier 'bodyShape2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape2_P_body_P_Q_(1),bodyShape2_P_body_P_Q_start_(1)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:169:78: error: use of undeclared identifier 'bodyShape2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape2_P_body_P_Q_(2),bodyShape2_P_body_P_Q_start_(2)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:170:78: error: use of undeclared identifier 'bodyShape2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape2_P_body_P_Q_(3),bodyShape2_P_body_P_Q_start_(3)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:171:78: error: use of undeclared identifier 'bodyShape2_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_bodyShape2_P_body_P_Q_(4),bodyShape2_P_body_P_Q_start_(4)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:181:72: error: use of undeclared identifier 'cyl1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_cyl1_P_body_P_Q_(1),cyl1_P_body_P_Q_start_(1)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:182:72: error: use of undeclared identifier 'cyl1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_cyl1_P_body_P_Q_(2),cyl1_P_body_P_Q_start_(2)); ^ ./OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4Initialize.cpp:183:72: error: use of undeclared identifier 'cyl1_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_cyl1_P_body_P_Q_(3),cyl1_P_body_P_Q_start_(3)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. make: *** [: OMCppModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 11.914832680980908] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion1.phi[1]', 'freeMotion1.phi[2]', 'freeMotion1.phi[3]', 'freeMotion1.phi_d[1]', 'freeMotion1.phi_d[2]', 'freeMotion1.phi_d[3]', 'freeMotion1.r_rel_a[1]', 'freeMotion1.r_rel_a[2]', 'freeMotion1.r_rel_a[3]', 'freeMotion1.v_rel_a[1]', 'freeMotion1.v_rel_a[2]', 'freeMotion1.v_rel_a[3]', 'freeMotion2.phi[1]', 'freeMotion2.phi[2]', 'freeMotion2.phi[3]', 'freeMotion2.phi_d[1]', 'freeMotion2.phi_d[2]', 'freeMotion2.phi_d[3]', 'freeMotion2.r_rel_a[1]', 'freeMotion2.r_rel_a[2]', 'freeMotion2.r_rel_a[3]', 'freeMotion2.v_rel_a[1]', 'freeMotion2.v_rel_a[2]', 'freeMotion2.v_rel_a[3]', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'inertia2.phi', 'inertia2.w', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 6.681159651983762 6.690765786 5.9531664 Calling exit ...