Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion1.phi.1.|freeMotion1.phi.2.|freeMotion1.phi.3.|freeMotion1.phi_d.1.|freeMotion1.phi_d.2.|freeMotion1.phi_d.3.|freeMotion1.r_rel_a.1.|freeMotion1.r_rel_a.2.|freeMotion1.r_rel_a.3.|freeMotion1.v_rel_a.1.|freeMotion1.v_rel_a.2.|freeMotion1.v_rel_a.3.|freeMotion2.phi.1.|freeMotion2.phi.2.|freeMotion2.phi.3.|freeMotion2.phi_d.1.|freeMotion2.phi_d.2.|freeMotion2.phi_d.3.|freeMotion2.r_rel_a.1.|freeMotion2.r_rel_a.2.|freeMotion2.r_rel_a.3.|freeMotion2.v_rel_a.1.|freeMotion2.v_rel_a.2.|freeMotion2.v_rel_a.3.|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion1.phi.1.|freeMotion1.phi.2.|freeMotion1.phi.3.|freeMotion1.phi_d.1.|freeMotion1.phi_d.2.|freeMotion1.phi_d.3.|freeMotion1.r_rel_a.1.|freeMotion1.r_rel_a.2.|freeMotion1.r_rel_a.3.|freeMotion1.v_rel_a.1.|freeMotion1.v_rel_a.2.|freeMotion1.v_rel_a.3.|freeMotion2.phi.1.|freeMotion2.phi.2.|freeMotion2.phi.3.|freeMotion2.phi_d.1.|freeMotion2.phi_d.2.|freeMotion2.phi_d.3.|freeMotion2.r_rel_a.1.|freeMotion2.r_rel_a.2.|freeMotion2.r_rel_a.3.|freeMotion2.v_rel_a.1.|freeMotion2.v_rel_a.2.|freeMotion2.v_rel_a.3.|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009785/0.0009787, allocations: 199.7 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007699/0.0007701, allocations: 103.2 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1928/0.1928, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002628, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08606, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.6843/0.7704, allocations: 238.6 MB / 0.7484 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1047/0.8752, allocations: 46.21 MB / 0.7935 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05876/0.934, allocations: 1.167 MB / 0.7947 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.03943/0.9734, allocations: 11.96 MB / 0.8063 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.1011/1.075, allocations: 34.04 MB / 0.8396 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01602/1.091, allocations: 2.554 MB / 0.8421 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.5001/1.591, allocations: 187.8 MB / 1.026 GB, free: 74.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02999/1.621, allocations: 22.11 MB / 1.047 GB, free: 60.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009924/1.631, allocations: 4.867 MB / 1.052 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/1.642, allocations: 7.329 MB / 1.059 GB, free: 52.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003155/1.645, allocations: 484 kB / 1.059 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005691/1.65, allocations: 1.377 MB / 1.061 GB, free: 50.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.008399/1.659, allocations: 6.509 MB / 1.067 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00633/1.665, allocations: 2.807 MB / 1.07 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01727/1.683, allocations: 19.54 MB / 1.089 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.683, allocations: 0 / 1.089 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.667e-06/1.683, allocations: 0 / 1.089 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001099/1.684, allocations: 0.9844 kB / 1.089 GB, free: 27.62 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4241 * Number of variables: 4241 Notification: Performance of Generate backend data structure: time 0.05245/1.736, allocations: 15.98 MB / 1.105 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.736, allocations: 12.03 kB / 1.105 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03446/1.771, allocations: 4.797 MB / 1.109 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02384/1.795, allocations: 11.87 MB / 1.121 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000701/1.795, allocations: 0.8609 MB / 1.122 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/1.8, allocations: 1.219 MB / 1.123 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07131/1.871, allocations: 29.84 MB / 1.152 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009352/1.872, allocations: 148.1 kB / 1.152 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003952/1.876, allocations: 0.5105 MB / 1.153 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007042/1.883, allocations: 4.081 MB / 1.157 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05361/1.937, allocations: 25.18 MB / 1.181 GB, free: 2.75 MB / 0.6823 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.7445/2.681, allocations: 118.4 MB / 1.297 GB, free: 69.02 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04549/2.727, allocations: 15.74 MB / 1.312 GB, free: 68.84 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01221/2.739, allocations: 10.69 MB / 1.323 GB, free: 68.8 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/2.741, allocations: 1.483 MB / 1.324 GB, free: 67.66 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.601e-05/2.741, allocations: 91.75 kB / 1.324 GB, free: 67.61 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=541): time 9.127e-06/2.741, allocations: 1.969 kB / 1.324 GB, free: 67.61 MB / 0.7137 GB Notification: Performance of matching and sorting (n=748): time 0.4569/3.198, allocations: 149.7 MB / 1.47 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/3.198, allocations: 342.8 kB / 1.471 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01598/3.214, allocations: 10.99 MB / 1.482 GB, free: 1.812 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.002078/3.216, allocations: 141.7 kB / 1.482 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.006402/3.223, allocations: 8.372 MB / 1.49 GB, free: 9.418 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.004012/3.227, allocations: 2.718 MB / 1.493 GB, free: 6.719 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/3.228, allocations: 307.1 kB / 1.493 GB, free: 6.422 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 0.0007207/3.229, allocations: 0.9468 MB / 1.494 GB, free: 5.469 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4081/3.637, allocations: 10.31 MB / 1.504 GB, free: 381.3 MB / 0.7763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0191/3.656, allocations: 17.15 MB / 1.521 GB, free: 370.7 MB / 0.7763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/3.674, allocations: 13.13 MB / 1.533 GB, free: 365.6 MB / 0.7763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/3.674, allocations: 66.25 kB / 1.533 GB, free: 365.6 MB / 0.7763 GB Notification: Performance of matching and sorting (n=1979) (initialization): time 0.06465/3.738, allocations: 38.54 MB / 1.571 GB, free: 353.6 MB / 0.7763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/3.739, allocations: 102.7 kB / 1.571 GB, free: 353.6 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003005/3.739, allocations: 229.7 kB / 1.571 GB, free: 353.6 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03033/3.769, allocations: 12.29 MB / 1.583 GB, free: 347.8 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/3.781, allocations: 3.506 MB / 1.587 GB, free: 344.9 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07008/3.851, allocations: 58.87 MB / 1.644 GB, free: 287.3 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/3.867, allocations: 1.035 MB / 1.645 GB, free: 286.3 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003778/3.87, allocations: 0.8895 MB / 1.646 GB, free: 285.4 MB / 0.7763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1041 * Number of states: 0 () * Number of discrete variables: 160 (absoluteSensor_1D.arrow.arrowLine.twoHeadedArrow,absoluteSensor_1D.arrow.headAtOrigin,absoluteSensor_MBS.arrow.arrowLine.twoHeadedArrow,absoluteSensor_MBS.arrow.headAtOrigin,torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.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 (1709): * Single equations (assignments): 1697 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,78.0%) 102,(11,73.6%) 121} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01122/3.882, allocations: 5.981 MB / 1.652 GB, free: 279.6 MB / 0.7763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/3.884, allocations: 1.077 MB / 1.653 GB, free: 279.1 MB / 0.7763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0482/3.932, allocations: 30.77 MB / 1.683 GB, free: 248.3 MB / 0.7763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/3.932, allocations: 72 kB / 1.683 GB, free: 248.2 MB / 0.7763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/3.932, allocations: 44 kB / 1.683 GB, free: 248.2 MB / 0.7763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/3.932, allocations: 39.81 kB / 1.683 GB, free: 248.1 MB / 0.7763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09086/4.023, allocations: 58.19 MB / 1.74 GB, free: 189.7 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.58e-05/4.023, allocations: 4 kB / 1.74 GB, free: 189.7 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006105/4.029, allocations: 1.326 MB / 1.741 GB, free: 188.4 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02893/4.058, allocations: 11.72 MB / 1.753 GB, free: 176.6 MB / 0.7763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002292/4.061, allocations: 227.8 kB / 1.753 GB, free: 176.4 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0739/4.135, allocations: 57.06 MB / 1.809 GB, free: 119.1 MB / 0.7763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/4.135, allocations: 4 kB / 1.809 GB, free: 119.1 MB / 0.7763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06512/4.2, allocations: 42.43 MB / 1.85 GB, free: 76.45 MB / 0.7763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002972/4.203, allocations: 1.092 MB / 1.851 GB, free: 75.32 MB / 0.7763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00311/4.206, allocations: 144 kB / 1.851 GB, free: 75.18 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007677/4.214, allocations: 0.5851 MB / 1.852 GB, free: 74.6 MB / 0.7763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002216/4.216, allocations: 0.577 MB / 1.853 GB, free: 74.02 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009356/4.217, allocations: 273.5 kB / 1.853 GB, free: 73.75 MB / 0.7763 GB Notification: Performance of sorting global known variables: time 0.009751/4.227, allocations: 7 MB / 1.86 GB, free: 66.81 MB / 0.7763 GB Notification: Performance of sort global known variables: time 2.1e-07/4.227, allocations: 4 kB / 1.86 GB, free: 66.81 MB / 0.7763 GB Notification: Performance of remove unused functions: time 0.01452/4.241, allocations: 4.046 MB / 1.864 GB, free: 62.77 MB / 0.7763 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(30,36.7%) 90,(28,29.0%) 70} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/4.243, allocations: 365.7 kB / 1.864 GB, free: 62.41 MB / 0.7763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotion.mo:92:3-94: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:92:3-94: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:92:3-94:41:writable] Warning: Variable freeMotion2.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:92:3-94:41:writable] Warning: Variable freeMotion2.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.03311/4.276, allocations: 26.02 MB / 1.889 GB, free: 36.3 MB / 0.7763 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/4.276, allocations: 0 / 1.889 GB, free: 36.3 MB / 0.7763 GB Notification: Performance of simCode: created simulation system equations: time 0.2319/4.508, allocations: 14.22 MB / 1.903 GB, free: 368.5 MB / 0.7763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01253/4.52, allocations: 1.801 MB / 1.905 GB, free: 368.5 MB / 0.7763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06439/4.585, allocations: 44.85 MB / 1.949 GB, free: 352.1 MB / 0.7763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/4.596, allocations: 9.439 MB / 1.958 GB, free: 349.2 MB / 0.7763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004504/4.6, allocations: 1.042 MB / 1.959 GB, free: 349.2 MB / 0.7763 GB Notification: Performance of SimCode: time 9.11e-07/4.6, allocations: 0 / 1.959 GB, free: 349.2 MB / 0.7763 GB Notification: Performance of Templates: time 0.7363/5.337, allocations: 496.6 MB / 2.444 GB, free: 234.1 MB / 0.7763 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint4/GearConstraint4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches