Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001391/0.001391, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001549/0.001549, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.529/1.529, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2404/0.2404, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 75.88 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1445, allocations: 65.99 MB / 0.5568 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.3595/0.504, allocations: 41.8 MB / 0.5976 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02527/0.5293, allocations: 11.41 MB / 0.6088 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009429/0.5387, allocations: 370 kB / 0.6091 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02677/0.5655, allocations: 15.05 MB / 0.6238 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.5806, allocations: 5.118 MB / 0.6288 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.5912, allocations: 4.446 MB / 0.6332 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03015/0.6214, allocations: 19.79 MB / 0.6525 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0223/0.6437, allocations: 14.64 MB / 0.6668 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/0.6563, allocations: 6.511 MB / 0.6731 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0154/0.6717, allocations: 9.006 MB / 0.6819 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.005173/0.6769, allocations: 1.438 MB / 0.6833 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008792/0.6857, allocations: 2.54 MB / 0.6858 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.013/0.6987, allocations: 7.848 MB / 0.6935 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01883/0.7175, allocations: 8.119 MB / 0.7014 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03813/0.7556, allocations: 24.33 MB / 0.7252 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7556, allocations: 0 / 0.7252 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.351e-06/0.7556, allocations: 3.984 kB / 0.7252 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009662/0.7566, allocations: 0 / 0.7252 GB, free: 3.156 MB / 0.5294 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.0731/0.8297, allocations: 19.19 MB / 0.7439 GB, free: 8 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.8297, allocations: 8.031 kB / 0.7439 GB, free: 0 / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04157/0.8713, allocations: 4.679 MB / 0.7485 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03168/0.903, allocations: 12.41 MB / 0.7606 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000943/0.9039, allocations: 0.8519 MB / 0.7615 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005086/0.909, allocations: 1.199 MB / 0.7626 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07504/0.9841, allocations: 28.9 MB / 0.7909 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007979/0.9849, allocations: 155 kB / 0.791 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004255/0.9891, allocations: 0.5032 MB / 0.7915 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007358/0.9965, allocations: 3.771 MB / 0.7952 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06193/1.058, allocations: 24.43 MB / 0.819 GB, free: 2.016 MB / 0.6231 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.7753/1.834, allocations: 115.9 MB / 0.9322 GB, free: 123.9 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04867/1.882, allocations: 15.31 MB / 0.9471 GB, free: 113.6 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01104/1.893, allocations: 10.15 MB / 0.9571 GB, free: 103.4 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/1.895, allocations: 1.494 MB / 0.9585 GB, free: 101.8 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.895e-05/1.895, allocations: 86.78 kB / 0.9586 GB, free: 101.7 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=541): time 8.055e-06/1.895, allocations: 0 / 0.9586 GB, free: 101.7 MB / 0.6388 GB Notification: Performance of matching and sorting (n=748): time 1.163/3.058, allocations: 148.2 MB / 1.103 GB, free: 219.5 MB / 0.6702 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/3.058, allocations: 341.2 kB / 1.104 GB, free: 219.1 MB / 0.6702 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0239/3.082, allocations: 10.93 MB / 1.114 GB, free: 215.8 MB / 0.6702 GB Notification: Performance of collectPreVariables (initialization): time 0.002895/3.085, allocations: 143.8 kB / 1.114 GB, free: 215.7 MB / 0.6702 GB Notification: Performance of collectInitialEqns (initialization): time 0.006733/3.092, allocations: 8.401 MB / 1.123 GB, free: 211.5 MB / 0.6702 GB Notification: Performance of collectInitialBindings (initialization): time 0.004782/3.097, allocations: 2.839 MB / 1.125 GB, free: 209.5 MB / 0.6702 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009417/3.106, allocations: 3.31 MB / 1.129 GB, free: 208.1 MB / 0.6702 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/3.106, allocations: 305.1 kB / 1.129 GB, free: 207.8 MB / 0.6702 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01534/3.122, allocations: 10.33 MB / 1.139 GB, free: 204.1 MB / 0.6702 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02053/3.142, allocations: 17.04 MB / 1.156 GB, free: 190 MB / 0.6702 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03569/3.178, allocations: 28.86 MB / 1.184 GB, free: 164.4 MB / 0.6702 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003154/3.178, allocations: 64 kB / 1.184 GB, free: 164.3 MB / 0.6702 GB Notification: Performance of matching and sorting (n=1958) (initialization): time 0.07678/3.255, allocations: 38.36 MB / 1.221 GB, free: 125.9 MB / 0.6702 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/3.255, allocations: 100.8 kB / 1.222 GB, free: 125.8 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/3.255, allocations: 224 kB / 1.222 GB, free: 125.6 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03364/3.289, allocations: 12.27 MB / 1.234 GB, free: 113.3 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/3.302, allocations: 3.455 MB / 1.237 GB, free: 109.8 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07982/3.381, allocations: 63.22 MB / 1.299 GB, free: 46.32 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0154/3.397, allocations: 1.018 MB / 1.3 GB, free: 45.3 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003841/3.401, allocations: 0.8785 MB / 1.301 GB, free: 44.43 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.01346/3.414, allocations: 5.838 MB / 1.306 GB, free: 38.57 MB / 0.6702 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003707/3.418, allocations: 1.126 MB / 1.307 GB, free: 37.43 MB / 0.6702 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06086/3.479, allocations: 30.62 MB / 1.337 GB, free: 6.715 MB / 0.6702 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/3.479, allocations: 72 kB / 1.337 GB, free: 6.645 MB / 0.6702 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001138/3.479, allocations: 44 kB / 1.337 GB, free: 6.602 MB / 0.6702 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001922/3.479, allocations: 39.8 kB / 1.338 GB, free: 6.562 MB / 0.6702 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4921/3.971, allocations: 57.05 MB / 1.393 GB, free: 188.4 MB / 0.6702 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000104/3.971, allocations: 3.938 kB / 1.393 GB, free: 188.4 MB / 0.6702 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00726/3.978, allocations: 1.336 MB / 1.395 GB, free: 188.3 MB / 0.6702 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03369/4.012, allocations: 11.71 MB / 1.406 GB, free: 184.5 MB / 0.6702 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003384/4.016, allocations: 231.8 kB / 1.406 GB, free: 184.2 MB / 0.6702 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08402/4.1, allocations: 61.21 MB / 1.466 GB, free: 123.4 MB / 0.6702 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/4.1, allocations: 4 kB / 1.466 GB, free: 123.4 MB / 0.6702 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07719/4.177, allocations: 42.35 MB / 1.507 GB, free: 81.56 MB / 0.6702 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00453/4.181, allocations: 1.14 MB / 1.508 GB, free: 80.79 MB / 0.6702 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005675/4.187, allocations: 140 kB / 1.509 GB, free: 80.65 MB / 0.6702 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01157/4.199, allocations: 0.5734 MB / 1.509 GB, free: 80.07 MB / 0.6702 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004084/4.203, allocations: 0.5809 MB / 1.51 GB, free: 79.49 MB / 0.6702 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001924/4.205, allocations: 271.4 kB / 1.51 GB, free: 79.23 MB / 0.6702 GB Notification: Performance of sorting global known variables: time 0.01557/4.22, allocations: 6.985 MB / 1.517 GB, free: 72.3 MB / 0.6702 GB Notification: Performance of sort global known variables: time 3.7e-07/4.22, allocations: 0 / 1.517 GB, free: 72.3 MB / 0.6702 GB Notification: Performance of remove unused functions: time 0.02044/4.241, allocations: 4.002 MB / 1.521 GB, free: 68.31 MB / 0.6702 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.002905/4.243, allocations: 377.7 kB / 1.521 GB, free: 67.95 MB / 0.6702 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.04141/4.285, allocations: 25.16 MB / 1.546 GB, free: 42.68 MB / 0.6702 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/4.285, allocations: 0 / 1.546 GB, free: 42.68 MB / 0.6702 GB Notification: Performance of simCode: created simulation system equations: time 0.02959/4.314, allocations: 13.46 MB / 1.559 GB, free: 29.14 MB / 0.6702 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01719/4.332, allocations: 1.879 MB / 1.561 GB, free: 27.31 MB / 0.6702 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4491/4.781, allocations: 39.03 MB / 1.599 GB, free: 200.2 MB / 0.6858 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02702/4.808, allocations: 9.227 MB / 1.608 GB, free: 199.1 MB / 0.6858 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005868/4.814, allocations: 1.03 MB / 1.609 GB, free: 199.1 MB / 0.6858 GB Notification: Performance of SimCode: time 1.954e-06/4.814, allocations: 3.781 kB / 1.609 GB, free: 199.1 MB / 0.6858 GB Notification: Performance of Templates: time 1.038/5.851, allocations: 489.9 MB / 2.087 GB, free: 22.5 MB / 0.7014 GB " [Timeout remaining time 654] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp In file included from OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:17: ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1507:13: warning: '_sine2_P_amplitude_' macro redefined [-Wmacro-redefined] #define _sine2_P_amplitude_ _pointerToRealVars[3201] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1493:13: note: previous definition is here #define _sine2_P_amplitude_ _pointerToRealVars[3187] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1508:13: warning: '_sine2_P_f_' macro redefined [-Wmacro-redefined] #define _sine2_P_f_ _pointerToRealVars[3202] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1496:13: note: previous definition is here #define _sine2_P_f_ _pointerToRealVars[3190] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1509:13: warning: '_sine2_P_offset_' macro redefined [-Wmacro-redefined] #define _sine2_P_offset_ _pointerToRealVars[3203] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1499:13: note: previous definition is here #define _sine2_P_offset_ _pointerToRealVars[3193] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1510:13: warning: '_sine2_P_phase_' macro redefined [-Wmacro-redefined] #define _sine2_P_phase_ _pointerToRealVars[3204] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1502:13: note: previous definition is here #define _sine2_P_phase_ _pointerToRealVars[3196] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1511:13: warning: '_sine2_P_startTime_' macro redefined [-Wmacro-redefined] #define _sine2_P_startTime_ _pointerToRealVars[3205] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1505:13: note: previous definition is here #define _sine2_P_startTime_ _pointerToRealVars[3199] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1825:13: warning: '_sine2_P_continuous_' macro redefined [-Wmacro-redefined] #define _sine2_P_continuous_ _pointerToBoolVars[178] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1823:13: note: previous definition is here #define _sine2_P_continuous_ _pointerToBoolVars[176] ^ ./OMCppModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2363:13: warning: '_sine2_P_y_' macro redefined [-Wmacro-redefined] #define _sine2_P_y_ _pointerToRealVars[1584] ^ ./OMCppModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:29: ./OMCppModelicaTest_4.1.0-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 10.951043359003961] 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.860509101068601 5.871332868 5.113154645 Calling exit ...