Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000914/0.000914, allocations: 175.1 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007347/0.0007347, allocations: 86.41 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3148/0.3148, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 12 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 58.86 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.6903/0.8041, allocations: 241.8 MB / 0.7155 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.931, allocations: 46.67 MB / 0.7611 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06552/0.9966, allocations: 1.175 MB / 0.7622 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.04335/1.04, allocations: 12.01 MB / 0.7739 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.112/1.152, allocations: 34.38 MB / 0.8075 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01943/1.171, allocations: 2.644 MB / 0.8101 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.5586/1.73, allocations: 106.5 MB / 0.9141 GB, free: 76.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04035/1.771, allocations: 24.65 MB / 0.9382 GB, free: 74.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/1.783, allocations: 5.123 MB / 0.9432 GB, free: 74.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01544/1.798, allocations: 7.843 MB / 0.9508 GB, free: 74.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.004422/1.803, allocations: 0.5176 MB / 0.9513 GB, free: 74.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008428/1.811, allocations: 1.626 MB / 0.9529 GB, free: 74.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.01252/1.824, allocations: 6.876 MB / 0.9597 GB, free: 74.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.02/1.844, allocations: 6.899 MB / 0.9664 GB, free: 74.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02802/1.872, allocations: 20.79 MB / 0.9867 GB, free: 69.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/1.872, allocations: 0 / 0.9867 GB, free: 69.74 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.149e-06/1.872, allocations: 0 / 0.9867 GB, free: 69.74 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001495/1.873, allocations: 5.688 kB / 0.9867 GB, free: 69.74 MB / 0.6042 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.0543/1.928, allocations: 16.19 MB / 1.003 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/1.928, allocations: 12.03 kB / 1.003 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03473/1.962, allocations: 4.894 MB / 1.007 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02975/1.992, allocations: 13.07 MB / 1.02 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008583/1.993, allocations: 0.9147 MB / 1.021 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006018/1.999, allocations: 1.268 MB / 1.022 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07853/2.078, allocations: 31.94 MB / 1.053 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001016/2.079, allocations: 151.7 kB / 1.054 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00589/2.085, allocations: 0.5409 MB / 1.054 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00736/2.092, allocations: 4.557 MB / 1.059 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0614/2.153, allocations: 27.08 MB / 1.085 GB, free: 9.965 MB / 0.6198 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.4589/2.612, allocations: 124.9 MB / 1.207 GB, free: 248.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04663/2.659, allocations: 16.55 MB / 1.223 GB, free: 248.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01605/2.675, allocations: 11.23 MB / 1.234 GB, free: 248.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002285/2.677, allocations: 1.505 MB / 1.236 GB, free: 247.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.844e-05/2.678, allocations: 100.6 kB / 1.236 GB, free: 247.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=614): time 1.116e-05/2.678, allocations: 0 / 1.236 GB, free: 247.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=817): time 0.4564/3.134, allocations: 150.5 MB / 1.383 GB, free: 148.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/3.134, allocations: 339.4 kB / 1.383 GB, free: 147.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01731/3.151, allocations: 11.48 MB / 1.394 GB, free: 136.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002449/3.154, allocations: 153.7 kB / 1.394 GB, free: 136.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004992/3.159, allocations: 8.882 MB / 1.403 GB, free: 127.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004194/3.163, allocations: 2.959 MB / 1.406 GB, free: 124.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/3.165, allocations: 324.9 kB / 1.406 GB, free: 124.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000651/3.166, allocations: 0.9964 MB / 1.407 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0145/3.18, allocations: 10.85 MB / 1.418 GB, free: 112.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01863/3.199, allocations: 18.19 MB / 1.435 GB, free: 90.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03352/3.232, allocations: 30.67 MB / 1.465 GB, free: 56.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/3.233, allocations: 68 kB / 1.465 GB, free: 56.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=2133) (initialization): time 0.07227/3.305, allocations: 40.15 MB / 1.505 GB, free: 16.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/3.305, allocations: 111.6 kB / 1.505 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002628/3.305, allocations: 248.8 kB / 1.505 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03173/3.337, allocations: 12.32 MB / 1.517 GB, free: 3.812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/3.35, allocations: 3.802 MB / 1.521 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.347/3.697, allocations: 58.88 MB / 1.578 GB, free: 261.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01774/3.715, allocations: 1.111 MB / 1.579 GB, free: 261.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004735/3.72, allocations: 0.9525 MB / 1.58 GB, free: 261.3 MB / 0.698 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 (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,(10,90.0%) 122} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01759/3.738, allocations: 6.353 MB / 1.586 GB, free: 258.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003501/3.741, allocations: 1.133 MB / 1.588 GB, free: 258.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06857/3.81, allocations: 33 MB / 1.62 GB, free: 248.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/3.81, allocations: 81.75 kB / 1.62 GB, free: 248.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001554/3.81, allocations: 44.75 kB / 1.62 GB, free: 248.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002/3.81, allocations: 39.38 kB / 1.62 GB, free: 248.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1089/3.919, allocations: 60.59 MB / 1.679 GB, free: 206.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.705e-05/3.919, allocations: 8 kB / 1.679 GB, free: 206.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006905/3.926, allocations: 1.477 MB / 1.681 GB, free: 205.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02916/3.955, allocations: 11.79 MB / 1.692 GB, free: 193.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002463/3.958, allocations: 243.8 kB / 1.692 GB, free: 193.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07414/4.032, allocations: 57.41 MB / 1.748 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/4.032, allocations: 15.88 kB / 1.748 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07205/4.104, allocations: 44.14 MB / 1.792 GB, free: 92.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01001/4.114, allocations: 2.934 MB / 1.794 GB, free: 89.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005583/4.12, allocations: 159.9 kB / 1.795 GB, free: 89.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/4.13, allocations: 0.6306 MB / 1.795 GB, free: 88.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004254/4.135, allocations: 0.6212 MB / 1.796 GB, free: 88.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002366/4.137, allocations: 288.2 kB / 1.796 GB, free: 87.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01608/4.153, allocations: 7.332 MB / 1.803 GB, free: 80.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/4.153, allocations: 0 / 1.803 GB, free: 80.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02149/4.175, allocations: 4.267 MB / 1.807 GB, free: 76.41 MB / 0.698 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 (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 {(35,37.0%) 85,(28,28.6%) 70} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002981/4.178, allocations: 391 kB / 1.808 GB, free: 76.04 MB / 0.698 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[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. Notification: Performance of simCode: created initialization part: time 0.04239/4.22, allocations: 27.17 MB / 1.834 GB, free: 48.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/4.22, allocations: 0 / 1.834 GB, free: 48.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.02996/4.25, allocations: 14.87 MB / 1.849 GB, free: 33.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02481/4.275, allocations: 1.818 MB / 1.851 GB, free: 32.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3256/4.601, allocations: 47.46 MB / 1.897 GB, free: 264.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01932/4.62, allocations: 9.988 MB / 1.907 GB, free: 263 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005513/4.625, allocations: 1.11 MB / 1.908 GB, free: 263 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/4.625, allocations: 0 / 1.908 GB, free: 263 MB / 0.698 GB Notification: Performance of Templates: time 0.8876/5.513, allocations: 0.5157 GB / 2.423 GB, free: 88.7 MB / 0.698 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint4/GearConstraint4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches