Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001415/0.001415, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001659/0.001659, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 44.91 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.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.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 67.91 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3447, allocations: 65.47 MB / 0.5583 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.04912/0.3938, allocations: 41.84 MB / 0.5991 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02904/0.4229, allocations: 11.44 MB / 0.6103 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009108/0.432, allocations: 445.7 kB / 0.6107 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03018/0.4621, allocations: 15.11 MB / 0.6255 GB, free: 2.594 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.4768, allocations: 5.127 MB / 0.6305 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.4873, allocations: 4.483 MB / 0.6349 GB, free: 8.953 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03042/0.5177, allocations: 19.83 MB / 0.6542 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0234/0.5411, allocations: 12.96 MB / 0.6669 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/0.5557, allocations: 6.572 MB / 0.6733 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01645/0.5722, allocations: 9.018 MB / 0.6821 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.005529/0.5777, allocations: 1.438 MB / 0.6835 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.5882, allocations: 2.529 MB / 0.686 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.01239/0.6006, allocations: 7.855 MB / 0.6937 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0178/0.6184, allocations: 8.122 MB / 0.7016 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.03688/0.6553, allocations: 24.33 MB / 0.7254 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.6553, allocations: 0 / 0.7254 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6553, allocations: 4 kB / 0.7254 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.001029/0.6564, allocations: 0 / 0.7254 GB, free: 11.91 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.5836/1.24, allocations: 19.12 MB / 0.744 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.24, allocations: 10.34 kB / 0.744 GB, free: 144.6 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03856/1.279, allocations: 4.684 MB / 0.7486 GB, free: 143.2 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02878/1.307, allocations: 12.19 MB / 0.7605 GB, free: 134.4 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007955/1.308, allocations: 0.8524 MB / 0.7614 GB, free: 133.6 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005838/1.314, allocations: 1.203 MB / 0.7625 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0655/1.379, allocations: 28.9 MB / 0.7908 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006944/1.38, allocations: 162.9 kB / 0.7909 GB, free: 102.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003511/1.384, allocations: 0.5 MB / 0.7914 GB, free: 101.7 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006128/1.39, allocations: 3.768 MB / 0.7951 GB, free: 97.97 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05089/1.441, allocations: 24.44 MB / 0.819 GB, free: 73.52 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.1748/1.616, allocations: 115.8 MB / 0.932 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05615/1.672, allocations: 15.32 MB / 0.947 GB, free: 4.023 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01718/1.689, allocations: 10.19 MB / 0.9569 GB, free: 9.812 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002347/1.691, allocations: 0.5953 MB / 0.9575 GB, free: 9.215 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/1.691, allocations: 86.78 kB / 0.9576 GB, free: 9.117 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=541): time 1.457e-05/1.691, allocations: 0 / 0.9576 GB, free: 9.117 MB / 0.6388 GB Notification: Performance of matching and sorting (n=748): time 1.133/2.824, allocations: 147.5 MB / 1.102 GB, free: 161.8 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/2.824, allocations: 334.8 kB / 1.102 GB, free: 161.4 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02043/2.845, allocations: 10.93 MB / 1.113 GB, free: 150.7 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.002406/2.847, allocations: 155.7 kB / 1.113 GB, free: 150.5 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.00654/2.854, allocations: 8.397 MB / 1.121 GB, free: 143 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.005806/2.86, allocations: 2.838 MB / 1.124 GB, free: 140.2 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0113/2.871, allocations: 3.308 MB / 1.127 GB, free: 136.8 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 4.484e-05/2.871, allocations: 305.1 kB / 1.127 GB, free: 136.5 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01436/2.885, allocations: 10.33 MB / 1.137 GB, free: 126.2 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01806/2.903, allocations: 17.05 MB / 1.154 GB, free: 106 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03372/2.937, allocations: 28.85 MB / 1.182 GB, free: 73.98 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002684/2.937, allocations: 64 kB / 1.182 GB, free: 73.92 MB / 0.6702 GB Notification: Performance of matching and sorting (n=1958) (initialization): time 0.07784/3.015, allocations: 38.35 MB / 1.22 GB, free: 35.5 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002714/3.015, allocations: 100.8 kB / 1.22 GB, free: 35.41 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003321/3.016, allocations: 227.9 kB / 1.22 GB, free: 35.18 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03406/3.05, allocations: 12.27 MB / 1.232 GB, free: 22.88 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/3.062, allocations: 3.466 MB / 1.235 GB, free: 19.41 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4072/3.469, allocations: 62.99 MB / 1.297 GB, free: 185.1 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01563/3.485, allocations: 1.012 MB / 1.298 GB, free: 184.9 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003957/3.489, allocations: 0.8768 MB / 1.299 GB, free: 184.8 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.01432/3.503, allocations: 5.843 MB / 1.304 GB, free: 182.5 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004369/3.508, allocations: 1.119 MB / 1.306 GB, free: 182.5 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06733/3.575, allocations: 30.63 MB / 1.335 GB, free: 158.9 MB / 0.6702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/3.575, allocations: 79.94 kB / 1.336 GB, free: 158.8 MB / 0.6702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001905/3.575, allocations: 43.44 kB / 1.336 GB, free: 158.8 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002286/3.576, allocations: 39.86 kB / 1.336 GB, free: 158.8 MB / 0.6702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1205/3.696, allocations: 57.03 MB / 1.391 GB, free: 102 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/3.696, allocations: 4 kB / 1.391 GB, free: 102 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006999/3.703, allocations: 1.337 MB / 1.393 GB, free: 100.6 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03209/3.735, allocations: 11.72 MB / 1.404 GB, free: 88.95 MB / 0.6702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002523/3.738, allocations: 227.8 kB / 1.404 GB, free: 88.73 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08861/3.826, allocations: 60.98 MB / 1.464 GB, free: 28.21 MB / 0.6702 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/3.826, allocations: 7.938 kB / 1.464 GB, free: 28.21 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4035/4.23, allocations: 42.35 MB / 1.505 GB, free: 211.2 MB / 0.6858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003714/4.234, allocations: 1.069 MB / 1.506 GB, free: 211.2 MB / 0.6858 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007415/4.241, allocations: 142.2 kB / 1.506 GB, free: 211.2 MB / 0.6858 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/4.253, allocations: 0.5717 MB / 1.507 GB, free: 211.2 MB / 0.6858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003654/4.257, allocations: 0.6111 MB / 1.508 GB, free: 211.2 MB / 0.6858 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001/4.258, allocations: 271.8 kB / 1.508 GB, free: 211.2 MB / 0.6858 GB Notification: Performance of sorting global known variables: time 0.01228/4.27, allocations: 6.987 MB / 1.515 GB, free: 210.9 MB / 0.6858 GB Notification: Performance of sort global known variables: time 2.81e-07/4.27, allocations: 0.9375 kB / 1.515 GB, free: 210.9 MB / 0.6858 GB Notification: Performance of remove unused functions: time 0.01962/4.29, allocations: 3.996 MB / 1.519 GB, free: 210.9 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.00261/4.293, allocations: 381.2 kB / 1.519 GB, free: 210.7 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.03989/4.333, allocations: 24.85 MB / 1.543 GB, free: 202.2 MB / 0.6858 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/4.333, allocations: 0 / 1.543 GB, free: 202.2 MB / 0.6858 GB Notification: Performance of simCode: created simulation system equations: time 0.02793/4.36, allocations: 13.33 MB / 1.556 GB, free: 198.1 MB / 0.6858 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02129/4.382, allocations: 1.869 MB / 1.558 GB, free: 197.2 MB / 0.6858 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08015/4.462, allocations: 39.33 MB / 1.596 GB, free: 163.6 MB / 0.6858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01752/4.479, allocations: 9.219 MB / 1.605 GB, free: 156.8 MB / 0.6858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00501/4.484, allocations: 1.038 MB / 1.606 GB, free: 155.9 MB / 0.6858 GB Notification: Performance of SimCode: time 1.723e-06/4.484, allocations: 0 / 1.606 GB, free: 155.9 MB / 0.6858 GB Notification: Performance of Templates: time 1.175/5.659, allocations: 489.9 MB / 2.085 GB, free: 209 MB / 0.717 GB " [Timeout remaining time 654] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:17: ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1507:13: warning: '_sine2_P_amplitude_' macro redefined [-Wmacro-redefined] #define _sine2_P_amplitude_ _pointerToRealVars[3201] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1493:13: note: previous definition is here #define _sine2_P_amplitude_ _pointerToRealVars[3187] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1508:13: warning: '_sine2_P_f_' macro redefined [-Wmacro-redefined] #define _sine2_P_f_ _pointerToRealVars[3202] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1496:13: note: previous definition is here #define _sine2_P_f_ _pointerToRealVars[3190] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1509:13: warning: '_sine2_P_offset_' macro redefined [-Wmacro-redefined] #define _sine2_P_offset_ _pointerToRealVars[3203] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1499:13: note: previous definition is here #define _sine2_P_offset_ _pointerToRealVars[3193] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1510:13: warning: '_sine2_P_phase_' macro redefined [-Wmacro-redefined] #define _sine2_P_phase_ _pointerToRealVars[3204] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1502:13: note: previous definition is here #define _sine2_P_phase_ _pointerToRealVars[3196] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1511:13: warning: '_sine2_P_startTime_' macro redefined [-Wmacro-redefined] #define _sine2_P_startTime_ _pointerToRealVars[3205] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1505:13: note: previous definition is here #define _sine2_P_startTime_ _pointerToRealVars[3199] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1825:13: warning: '_sine2_P_continuous_' macro redefined [-Wmacro-redefined] #define _sine2_P_continuous_ _pointerToBoolVars[178] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1823:13: note: previous definition is here #define _sine2_P_continuous_ _pointerToBoolVars[176] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2363:13: warning: '_sine2_P_y_' macro redefined [-Wmacro-redefined] #define _sine2_P_y_ _pointerToRealVars[1584] ^ ./OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2361:13: note: previous definition is here #define _sine2_P_y_ _pointerToRealVars[1493] ^ In file included from OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:29: ./OMCppModelicaTest_4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 10.73992551700212] 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'] 5.6701178720686585 5.679868986 5.021651385 Calling exit ...