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.001528/0.001528, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.6 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007953/0.0007954, allocations: 99.14 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2989/0.2989, allocations: 44.83 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002846, allocations: 11.98 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 62.95 MB / 0.5159 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.5492/0.8431, allocations: 238.7 MB / 0.749 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1001/0.9432, allocations: 46.22 MB / 0.7941 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04669/0.9899, allocations: 1.169 MB / 0.7953 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.03685/1.027, allocations: 11.94 MB / 0.8069 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.09192/1.119, allocations: 34.05 MB / 0.8402 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01635/1.135, allocations: 2.633 MB / 0.8427 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.5354/1.671, allocations: 188 MB / 1.026 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02841/1.699, allocations: 24.32 MB / 1.05 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008443/1.708, allocations: 4.861 MB / 1.055 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009906/1.718, allocations: 7.331 MB / 1.062 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002782/1.72, allocations: 484 kB / 1.062 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/1.726, allocations: 1.584 MB / 1.064 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.008091/1.734, allocations: 6.506 MB / 1.07 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.01012/1.744, allocations: 6.451 MB / 1.077 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.02062/1.765, allocations: 19.54 MB / 1.096 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.765, allocations: 0 / 1.096 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.415e-06/1.765, allocations: 0 / 1.096 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0008098/1.766, allocations: 0 / 1.096 GB, free: 5.285 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.05174/1.817, allocations: 15.8 MB / 1.111 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.817, allocations: 12.03 kB / 1.111 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03349/1.851, allocations: 4.8 MB / 1.116 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02638/1.877, allocations: 12.13 MB / 1.128 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007802/1.878, allocations: 0.8613 MB / 1.129 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004466/1.883, allocations: 1.209 MB / 1.13 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0712/1.954, allocations: 29.85 MB / 1.159 GB, free: 272 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008735/1.955, allocations: 144.4 kB / 1.159 GB, free: 168 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004492/1.959, allocations: 0.5179 MB / 1.159 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00737/1.967, allocations: 4.089 MB / 1.163 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4855/2.452, allocations: 25.17 MB / 1.188 GB, free: 317.4 MB / 0.698 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.1517/2.604, allocations: 118.5 MB / 1.304 GB, free: 226.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04379/2.648, allocations: 15.74 MB / 1.319 GB, free: 211.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/2.659, allocations: 10.69 MB / 1.33 GB, free: 200.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/2.661, allocations: 1.491 MB / 1.331 GB, free: 198.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/2.661, allocations: 82.78 kB / 1.331 GB, free: 198.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=541): time 7.805e-06/2.661, allocations: 0 / 1.331 GB, free: 198.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=748): time 0.4667/3.128, allocations: 149.7 MB / 1.477 GB, free: 49.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/3.128, allocations: 338.8 kB / 1.478 GB, free: 49.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02208/3.15, allocations: 10.99 MB / 1.488 GB, free: 38.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002732/3.153, allocations: 145.7 kB / 1.489 GB, free: 38.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006773/3.159, allocations: 8.365 MB / 1.497 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004401/3.164, allocations: 2.707 MB / 1.499 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003391/3.167, allocations: 307.6 kB / 1.5 GB, free: 26.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00151/3.169, allocations: 0.9507 MB / 1.501 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01491/3.184, allocations: 10.31 MB / 1.511 GB, free: 15.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5015/3.685, allocations: 17.14 MB / 1.527 GB, free: 289.8 MB / 0.6981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03857/3.724, allocations: 29 MB / 1.556 GB, free: 275 MB / 0.6981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004275/3.724, allocations: 65.28 kB / 1.556 GB, free: 275 MB / 0.6981 GB Notification: Performance of matching and sorting (n=1979) (initialization): time 0.08525/3.81, allocations: 38.54 MB / 1.593 GB, free: 263 MB / 0.6981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005099/3.81, allocations: 103.3 kB / 1.593 GB, free: 263 MB / 0.6981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007268/3.811, allocations: 225.6 kB / 1.594 GB, free: 263 MB / 0.6981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03348/3.844, allocations: 12.27 MB / 1.606 GB, free: 260.8 MB / 0.6981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/3.857, allocations: 3.496 MB / 1.609 GB, free: 258.1 MB / 0.6981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09343/3.951, allocations: 58.86 MB / 1.667 GB, free: 203.2 MB / 0.6981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02333/3.974, allocations: 1.035 MB / 1.668 GB, free: 202.2 MB / 0.6981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0054/3.979, allocations: 0.8953 MB / 1.668 GB, free: 201.3 MB / 0.6981 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.02083/4, allocations: 5.985 MB / 1.674 GB, free: 195.4 MB / 0.6981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005281/4.006, allocations: 1.076 MB / 1.675 GB, free: 194.9 MB / 0.6981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09411/4.1, allocations: 30.79 MB / 1.705 GB, free: 164 MB / 0.6981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/4.1, allocations: 72 kB / 1.706 GB, free: 164 MB / 0.6981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001738/4.1, allocations: 44 kB / 1.706 GB, free: 163.9 MB / 0.6981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001961/4.1, allocations: 39.86 kB / 1.706 GB, free: 163.9 MB / 0.6981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1343/4.235, allocations: 58.21 MB / 1.762 GB, free: 105.5 MB / 0.6981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.677e-05/4.235, allocations: 4 kB / 1.762 GB, free: 105.5 MB / 0.6981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006373/4.241, allocations: 1.326 MB / 1.764 GB, free: 104.1 MB / 0.6981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02966/4.271, allocations: 11.71 MB / 1.775 GB, free: 92.41 MB / 0.6981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00229/4.273, allocations: 231.8 kB / 1.775 GB, free: 92.18 MB / 0.6981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3811/4.654, allocations: 57.06 MB / 1.831 GB, free: 275.8 MB / 0.6981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/4.654, allocations: 6.812 kB / 1.831 GB, free: 275.8 MB / 0.6981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0805/4.735, allocations: 42.43 MB / 1.873 GB, free: 268.6 MB / 0.6981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003784/4.739, allocations: 1.098 MB / 1.874 GB, free: 268.5 MB / 0.6981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005528/4.744, allocations: 143 kB / 1.874 GB, free: 268.4 MB / 0.6981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01024/4.754, allocations: 0.5856 MB / 1.874 GB, free: 268.3 MB / 0.6981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004148/4.759, allocations: 0.575 MB / 1.875 GB, free: 268.2 MB / 0.6981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002234/4.761, allocations: 271.4 kB / 1.875 GB, free: 268.2 MB / 0.6981 GB Notification: Performance of sorting global known variables: time 0.01385/4.775, allocations: 7.005 MB / 1.882 GB, free: 265.9 MB / 0.6981 GB Notification: Performance of sort global known variables: time 6.01e-07/4.775, allocations: 3.781 kB / 1.882 GB, free: 265.9 MB / 0.6981 GB Notification: Performance of remove unused functions: time 0.01919/4.794, allocations: 4.045 MB / 1.886 GB, free: 265.5 MB / 0.6981 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.002851/4.797, allocations: 373.5 kB / 1.886 GB, free: 265.3 MB / 0.6981 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.04209/4.839, allocations: 26.01 MB / 1.912 GB, free: 253.6 MB / 0.6981 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/4.839, allocations: 4 kB / 1.912 GB, free: 253.6 MB / 0.6981 GB Notification: Performance of simCode: created simulation system equations: time 0.02902/4.868, allocations: 14.23 MB / 1.926 GB, free: 241.8 MB / 0.6981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02026/4.888, allocations: 1.781 MB / 1.927 GB, free: 240.4 MB / 0.6981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07684/4.965, allocations: 44.83 MB / 1.971 GB, free: 200.5 MB / 0.6981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01656/4.982, allocations: 9.439 MB / 1.98 GB, free: 193.2 MB / 0.6981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004961/4.987, allocations: 1.038 MB / 1.981 GB, free: 192.2 MB / 0.6981 GB Notification: Performance of SimCode: time 1.362e-06/4.987, allocations: 0 / 1.981 GB, free: 192.2 MB / 0.6981 GB Notification: Performance of Templates: time 1.149/6.136, allocations: 496.1 MB / 2.466 GB, free: 250.1 MB / 0.6981 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