Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.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.001448/0.001448, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001581/0.001581, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.34/1.34, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.2105/0.2105, allocations: 46.93 MB / 361.5 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 83.88 kB / 0.4974 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2715, allocations: 66.09 MB / 0.562 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.04377/0.3153, allocations: 41.84 MB / 0.6028 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.3416, allocations: 11.44 MB / 0.614 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007726/0.3493, allocations: 441.7 kB / 0.6144 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02665/0.376, allocations: 15.11 MB / 0.6292 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01261/0.3886, allocations: 5.131 MB / 0.6342 GB, free: 9.973 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009309/0.3979, allocations: 4.479 MB / 0.6386 GB, free: 5.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02723/0.4251, allocations: 19.83 MB / 0.6579 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01985/0.4449, allocations: 12.96 MB / 0.6706 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01151/0.4565, allocations: 6.584 MB / 0.677 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01462/0.4711, allocations: 9.006 MB / 0.6858 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.004586/0.4757, allocations: 1.438 MB / 0.6872 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007073/0.4827, allocations: 2.537 MB / 0.6897 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.01096/0.4937, allocations: 7.855 MB / 0.6974 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01576/0.5095, allocations: 8.122 MB / 0.7053 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.03229/0.5417, allocations: 24.32 MB / 0.7291 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5418, allocations: 0 / 0.7291 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5418, allocations: 0 / 0.7291 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0008521/0.5426, allocations: 0 / 0.7291 GB, free: 8.453 MB / 0.5606 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.5076/1.05, allocations: 19.12 MB / 0.7477 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.05, allocations: 11.78 kB / 0.7478 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03348/1.084, allocations: 4.681 MB / 0.7523 GB, free: 139.7 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02457/1.108, allocations: 12.19 MB / 0.7642 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007046/1.109, allocations: 0.8488 MB / 0.7651 GB, free: 127.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004111/1.113, allocations: 1.198 MB / 0.7662 GB, free: 126.5 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05203/1.165, allocations: 28.91 MB / 0.7945 GB, free: 96.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006345/1.166, allocations: 158.9 kB / 0.7946 GB, free: 96.14 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003059/1.169, allocations: 0.5005 MB / 0.7951 GB, free: 95.69 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004889/1.174, allocations: 3.768 MB / 0.7988 GB, free: 91.92 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04447/1.218, allocations: 24.45 MB / 0.8227 GB, free: 67.46 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.1507/1.369, allocations: 115.8 MB / 0.9357 GB, free: 13.27 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05097/1.42, allocations: 15.31 MB / 0.9507 GB, free: 13.96 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01438/1.434, allocations: 10.19 MB / 0.9606 GB, free: 3.742 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/1.436, allocations: 0.5911 MB / 0.9612 GB, free: 3.148 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/1.436, allocations: 86.78 kB / 0.9613 GB, free: 3.051 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=541): time 8.896e-06/1.436, allocations: 0 / 0.9613 GB, free: 3.051 MB / 0.6388 GB Notification: Performance of matching and sorting (n=748): time 0.9167/2.353, allocations: 147.5 MB / 1.105 GB, free: 153.1 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.353, allocations: 330.9 kB / 1.106 GB, free: 152.8 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/2.365, allocations: 10.93 MB / 1.116 GB, free: 142 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.00203/2.367, allocations: 155.7 kB / 1.117 GB, free: 141.9 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.00406/2.371, allocations: 8.397 MB / 1.125 GB, free: 134.3 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.003338/2.375, allocations: 2.834 MB / 1.127 GB, free: 131.5 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00435/2.379, allocations: 3.31 MB / 1.131 GB, free: 128.2 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/2.379, allocations: 309 kB / 1.131 GB, free: 127.9 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01066/2.39, allocations: 10.33 MB / 1.141 GB, free: 117.5 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01495/2.405, allocations: 17.04 MB / 1.158 GB, free: 97.34 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0291/2.434, allocations: 28.86 MB / 1.186 GB, free: 65.31 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002281/2.434, allocations: 64 kB / 1.186 GB, free: 65.25 MB / 0.6702 GB Notification: Performance of matching and sorting (n=1958) (initialization): time 0.06563/2.5, allocations: 38.35 MB / 1.223 GB, free: 26.83 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/2.5, allocations: 100 kB / 1.224 GB, free: 26.73 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00024/2.5, allocations: 232 kB / 1.224 GB, free: 26.5 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02915/2.529, allocations: 12.26 MB / 1.236 GB, free: 14.21 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/2.54, allocations: 3.466 MB / 1.239 GB, free: 10.74 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3235/2.864, allocations: 62.97 MB / 1.301 GB, free: 180 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/2.876, allocations: 1.024 MB / 1.302 GB, free: 179.8 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003343/2.88, allocations: 0.8788 MB / 1.302 GB, free: 179.7 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.009413/2.889, allocations: 5.843 MB / 1.308 GB, free: 177.4 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002422/2.891, allocations: 1.119 MB / 1.309 GB, free: 177.4 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04893/2.94, allocations: 30.63 MB / 1.339 GB, free: 152.1 MB / 0.6702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.848e-05/2.94, allocations: 72 kB / 1.339 GB, free: 152 MB / 0.6702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.96e-05/2.941, allocations: 44 kB / 1.339 GB, free: 152 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001403/2.941, allocations: 35.86 kB / 1.339 GB, free: 151.9 MB / 0.6702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08723/3.028, allocations: 57.04 MB / 1.395 GB, free: 95.14 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-05/3.028, allocations: 4 kB / 1.395 GB, free: 95.14 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005844/3.034, allocations: 1.326 MB / 1.396 GB, free: 93.81 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02656/3.06, allocations: 11.72 MB / 1.408 GB, free: 82.14 MB / 0.6702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001607/3.062, allocations: 227.8 kB / 1.408 GB, free: 81.92 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07277/3.135, allocations: 60.99 MB / 1.468 GB, free: 21.37 MB / 0.6702 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/3.135, allocations: 3 kB / 1.468 GB, free: 21.37 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3608/3.496, allocations: 42.35 MB / 1.509 GB, free: 207.3 MB / 0.6858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003194/3.499, allocations: 1.066 MB / 1.51 GB, free: 207.3 MB / 0.6858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003712/3.502, allocations: 139.2 kB / 1.51 GB, free: 207.3 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00843/3.511, allocations: 0.5784 MB / 1.511 GB, free: 207.3 MB / 0.6858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002824/3.514, allocations: 0.6128 MB / 1.511 GB, free: 207.3 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001049/3.515, allocations: 269.4 kB / 1.512 GB, free: 207.3 MB / 0.6858 GB Notification: Performance of sorting global known variables: time 0.01084/3.526, allocations: 6.984 MB / 1.518 GB, free: 206.9 MB / 0.6858 GB Notification: Performance of sort global known variables: time 3.21e-07/3.526, allocations: 0 / 1.518 GB, free: 206.9 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.0162/3.542, allocations: 3.993 MB / 1.522 GB, free: 206.5 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.002419/3.544, allocations: 379.3 kB / 1.523 GB, free: 206.3 MB / 0.6858 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.03908/3.583, allocations: 24.86 MB / 1.547 GB, free: 197.8 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/3.583, allocations: 3.5 kB / 1.547 GB, free: 197.8 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 0.02705/3.61, allocations: 13.31 MB / 1.56 GB, free: 193.6 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01726/3.628, allocations: 1.881 MB / 1.562 GB, free: 192.8 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07097/3.699, allocations: 39.32 MB / 1.6 GB, free: 158.4 MB / 0.6858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01626/3.715, allocations: 9.224 MB / 1.609 GB, free: 151.5 MB / 0.6858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00466/3.72, allocations: 1.032 MB / 1.61 GB, free: 150.7 MB / 0.6858 GB Notification: Performance of SimCode: time 8.62e-07/3.72, allocations: 4 kB / 1.61 GB, free: 150.7 MB / 0.6858 GB Notification: Performance of Templates: time 1.055/4.775, allocations: 489.9 MB / 2.089 GB, free: 206.6 MB / 0.717 GB " [Timeout remaining time 655] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.makefile [Timeout 660] make -j1 -f ModelicaTest_trunk_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 -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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1507:13: warning: '_sine2_P_amplitude_' macro redefined [-Wmacro-redefined] #define _sine2_P_amplitude_ _pointerToRealVars[3201] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1493:13: note: previous definition is here #define _sine2_P_amplitude_ _pointerToRealVars[3187] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1508:13: warning: '_sine2_P_f_' macro redefined [-Wmacro-redefined] #define _sine2_P_f_ _pointerToRealVars[3202] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1496:13: note: previous definition is here #define _sine2_P_f_ _pointerToRealVars[3190] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1509:13: warning: '_sine2_P_offset_' macro redefined [-Wmacro-redefined] #define _sine2_P_offset_ _pointerToRealVars[3203] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1499:13: note: previous definition is here #define _sine2_P_offset_ _pointerToRealVars[3193] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1510:13: warning: '_sine2_P_phase_' macro redefined [-Wmacro-redefined] #define _sine2_P_phase_ _pointerToRealVars[3204] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1502:13: note: previous definition is here #define _sine2_P_phase_ _pointerToRealVars[3196] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1511:13: warning: '_sine2_P_startTime_' macro redefined [-Wmacro-redefined] #define _sine2_P_startTime_ _pointerToRealVars[3205] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1505:13: note: previous definition is here #define _sine2_P_startTime_ _pointerToRealVars[3199] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1825:13: warning: '_sine2_P_continuous_' macro redefined [-Wmacro-redefined] #define _sine2_P_continuous_ _pointerToBoolVars[178] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1823:13: note: previous definition is here #define _sine2_P_continuous_ _pointerToBoolVars[176] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2363:13: warning: '_sine2_P_y_' macro redefined [-Wmacro-redefined] #define _sine2_P_y_ _pointerToRealVars[1584] ^ ./OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2361:13: note: previous definition is here #define _sine2_P_y_ _pointerToRealVars[1493] ^ In file included from OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 9.173979229060933] 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'] 4.784479869063944 4.793856824 4.249533107 Calling exit ...