Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001441/0.001441, allocations: 105 kB / 20.44 MB, free: 1.504 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.001594/0.001594, allocations: 217.3 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2056/0.2056, allocations: 44.23 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002089/0.002089, allocations: 75.88 kB / 468.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 61.04 MB / 0.5174 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.2518/0.3775, allocations: 46.13 MB / 0.5624 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.4042, allocations: 12.02 MB / 0.5742 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01126/0.4155, allocations: 455.2 kB / 0.5746 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02878/0.4442, allocations: 15.31 MB / 0.5896 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01784/0.4621, allocations: 5.659 MB / 0.5951 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.4725, allocations: 4.492 MB / 0.5995 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02898/0.5015, allocations: 19.04 MB / 0.6181 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02245/0.5239, allocations: 13.44 MB / 0.6312 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01394/0.5378, allocations: 6.953 MB / 0.638 GB, free: 7.562 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01624/0.5541, allocations: 9.679 MB / 0.6475 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00528/0.5594, allocations: 1.543 MB / 0.649 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008926/0.5683, allocations: 2.627 MB / 0.6515 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01236/0.5806, allocations: 8.435 MB / 0.6598 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01804/0.5987, allocations: 8.798 MB / 0.6684 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03829/0.637, allocations: 26.55 MB / 0.6943 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.637, allocations: 4 kB / 0.6943 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.637, allocations: 0 / 0.6943 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008492/0.6378, allocations: 0 / 0.6943 GB, free: 13.73 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: 4597 * Number of variables: 4597 Notification: Performance of Generate backend data structure: time 0.06304/0.7009, allocations: 20.05 MB / 0.7139 GB, free: 9.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.7009, allocations: 16.02 kB / 0.7139 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03731/0.7382, allocations: 4.918 MB / 0.7187 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03046/0.7687, allocations: 13.23 MB / 0.7316 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008604/0.7695, allocations: 0.9109 MB / 0.7325 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004662/0.7742, allocations: 1.273 MB / 0.7337 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07267/0.8469, allocations: 31.96 MB / 0.765 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007489/0.8476, allocations: 151 kB / 0.7651 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003804/0.8514, allocations: 0.5388 MB / 0.7656 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4053/1.257, allocations: 4.556 MB / 0.7701 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05864/1.315, allocations: 27.12 MB / 0.7966 GB, free: 168.5 MB / 0.5919 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.1455/1.461, allocations: 124.2 MB / 0.9179 GB, free: 54.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04401/1.505, allocations: 16.08 MB / 0.9336 GB, free: 38.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/1.515, allocations: 10.68 MB / 0.944 GB, free: 28.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/1.517, allocations: 0.6087 MB / 0.9446 GB, free: 27.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.517, allocations: 99.33 kB / 0.9447 GB, free: 27.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=614): time 7.605e-06/1.517, allocations: 0 / 0.9447 GB, free: 27.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=817): time 0.8733/2.39, allocations: 148.8 MB / 1.09 GB, free: 187.2 MB / 0.6389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/2.39, allocations: 347.6 kB / 1.09 GB, free: 186.9 MB / 0.6389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/2.403, allocations: 11.57 MB / 1.102 GB, free: 176.6 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.002144/2.406, allocations: 157.7 kB / 1.102 GB, free: 176.5 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.004773/2.41, allocations: 9.182 MB / 1.111 GB, free: 168.4 MB / 0.6389 GB Notification: Performance of collectInitialBindings (initialization): time 0.003774/2.414, allocations: 3.099 MB / 1.114 GB, free: 165.4 MB / 0.6389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004688/2.419, allocations: 3.554 MB / 1.117 GB, free: 161.8 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/2.419, allocations: 305.1 kB / 1.118 GB, free: 161.5 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01168/2.431, allocations: 10.91 MB / 1.128 GB, free: 150.6 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01511/2.446, allocations: 18.25 MB / 1.146 GB, free: 129 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.029/2.475, allocations: 30.76 MB / 1.176 GB, free: 94.67 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/2.475, allocations: 68 kB / 1.176 GB, free: 94.61 MB / 0.6389 GB Notification: Performance of matching and sorting (n=2133) (initialization): time 0.06432/2.539, allocations: 40.15 MB / 1.215 GB, free: 54.32 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/2.539, allocations: 116.2 kB / 1.215 GB, free: 54.21 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/2.539, allocations: 248 kB / 1.216 GB, free: 53.97 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0285/2.568, allocations: 12.28 MB / 1.228 GB, free: 41.66 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/2.581, allocations: 3.798 MB / 1.231 GB, free: 37.86 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3503/2.931, allocations: 63.02 MB / 1.293 GB, free: 165.8 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01555/2.947, allocations: 1.102 MB / 1.294 GB, free: 165.5 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00408/2.951, allocations: 0.9547 MB / 1.295 GB, free: 165.4 MB / 0.6389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1118 * Number of states: 0 () * Number of discrete variables: 150 (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 (1863): * Single equations (assignments): 1851 * 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.01424/2.965, allocations: 6.349 MB / 1.301 GB, free: 162.9 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004496/2.97, allocations: 1.196 MB / 1.302 GB, free: 162.9 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06426/3.034, allocations: 32.84 MB / 1.334 GB, free: 152.4 MB / 0.6389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001186/3.034, allocations: 80.5 kB / 1.334 GB, free: 152.4 MB / 0.6389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002117/3.034, allocations: 45.34 kB / 1.335 GB, free: 152.4 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002248/3.035, allocations: 38.11 kB / 1.335 GB, free: 152.4 MB / 0.6389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1138/3.148, allocations: 59.68 MB / 1.393 GB, free: 101.8 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.43e-05/3.148, allocations: 4 kB / 1.393 GB, free: 101.8 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006863/3.155, allocations: 1.476 MB / 1.394 GB, free: 100.3 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02825/3.184, allocations: 11.8 MB / 1.406 GB, free: 88.58 MB / 0.6389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00227/3.186, allocations: 243.8 kB / 1.406 GB, free: 88.34 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07269/3.259, allocations: 61.36 MB / 1.466 GB, free: 27.3 MB / 0.6389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/3.259, allocations: 8 kB / 1.466 GB, free: 27.29 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3116/3.57, allocations: 44.09 MB / 1.509 GB, free: 188 MB / 0.6545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01021/3.58, allocations: 2.909 MB / 1.512 GB, free: 188 MB / 0.6545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004318/3.585, allocations: 156 kB / 1.512 GB, free: 188 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009778/3.594, allocations: 0.6226 MB / 1.513 GB, free: 188 MB / 0.6545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002999/3.597, allocations: 0.6498 MB / 1.513 GB, free: 188 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001168/3.599, allocations: 290.3 kB / 1.514 GB, free: 188 MB / 0.6545 GB Notification: Performance of sorting global known variables: time 0.01525/3.614, allocations: 7.423 MB / 1.521 GB, free: 186 MB / 0.6545 GB Notification: Performance of sort global known variables: time 1.91e-07/3.614, allocations: 1.5 kB / 1.521 GB, free: 186 MB / 0.6545 GB Notification: Performance of remove unused functions: time 0.02106/3.635, allocations: 4.265 MB / 1.525 GB, free: 185.6 MB / 0.6545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (616): * Single equations (assignments): 610 * 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 {(35,85,37.0%), (28,70,28.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002875/3.638, allocations: 383.3 kB / 1.525 GB, free: 185.4 MB / 0.6545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1583:5-1585:43: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 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1583:5-1585:43: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 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1583:5-1585:43: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 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1583:5-1585:43: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.03988/3.678, allocations: 26.14 MB / 1.551 GB, free: 176.5 MB / 0.6545 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/3.678, allocations: 0 / 1.551 GB, free: 176.5 MB / 0.6545 GB Notification: Performance of simCode: created simulation system equations: time 0.02775/3.705, allocations: 13.94 MB / 1.564 GB, free: 172.2 MB / 0.6545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01456/3.72, allocations: 1.94 MB / 1.566 GB, free: 171.4 MB / 0.6545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06401/3.784, allocations: 42.23 MB / 1.608 GB, free: 141.4 MB / 0.6545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01539/3.799, allocations: 9.984 MB / 1.617 GB, free: 134 MB / 0.6545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005022/3.804, allocations: 1.11 MB / 1.618 GB, free: 133.1 MB / 0.6545 GB Notification: Performance of SimCode: time 2.445e-06/3.804, allocations: 0 / 1.618 GB, free: 133.1 MB / 0.6545 GB Notification: Performance of Templates: time 1.049/4.854, allocations: 0.521 GB / 2.139 GB, free: 143.9 MB / 0.7014 GB " [Timeout remaining time 655] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.makefile [Timeout 660] make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:17: ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1604:13: warning: '_sine2_P_amplitude_' macro redefined [-Wmacro-redefined] #define _sine2_P_amplitude_ _pointerToRealVars[3425] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1590:13: note: previous definition is here #define _sine2_P_amplitude_ _pointerToRealVars[3411] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1605:13: warning: '_sine2_P_freqHz_' macro redefined [-Wmacro-redefined] #define _sine2_P_freqHz_ _pointerToRealVars[3426] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1593:13: note: previous definition is here #define _sine2_P_freqHz_ _pointerToRealVars[3414] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1606:13: warning: '_sine2_P_offset_' macro redefined [-Wmacro-redefined] #define _sine2_P_offset_ _pointerToRealVars[3427] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1596:13: note: previous definition is here #define _sine2_P_offset_ _pointerToRealVars[3417] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1607:13: warning: '_sine2_P_phase_' macro redefined [-Wmacro-redefined] #define _sine2_P_phase_ _pointerToRealVars[3428] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1599:13: note: previous definition is here #define _sine2_P_phase_ _pointerToRealVars[3420] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1608:13: warning: '_sine2_P_startTime_' macro redefined [-Wmacro-redefined] #define _sine2_P_startTime_ _pointerToRealVars[3429] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:1602:13: note: previous definition is here #define _sine2_P_startTime_ _pointerToRealVars[3423] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2523:13: warning: '_sine2_P_y_' macro redefined [-Wmacro-redefined] #define _sine2_P_y_ _pointerToRealVars[1768] ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.h:2521:13: note: previous definition is here #define _sine2_P_y_ _pointerToRealVars[1596] ^ In file included from OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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_3.2.3_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=] 6 warnings and 20 errors generated. make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 9.340165733126923] 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.863837502896786 4.873256208 4.233605783 Calling exit ...