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.001297/0.001297, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.543/1.543, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000766/0.000766, allocations: 93.34 kB / 270.9 MB, free: 8.355 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.3125/0.3125, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003333, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.7288/0.8339, allocations: 241.8 MB / 0.7149 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.117/0.9509, allocations: 46.68 MB / 0.7605 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0643/1.015, allocations: 1.174 MB / 0.7616 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.04737/1.063, allocations: 12.01 MB / 0.7734 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.1064/1.169, allocations: 34.38 MB / 0.8069 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01685/1.186, allocations: 2.557 MB / 0.8094 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.5844/1.77, allocations: 106.3 MB / 0.9133 GB, free: 76.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04142/1.812, allocations: 22.43 MB / 0.9352 GB, free: 75.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/1.826, allocations: 5.125 MB / 0.9402 GB, free: 75.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/1.842, allocations: 7.844 MB / 0.9479 GB, free: 75.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.004742/1.847, allocations: 0.5185 MB / 0.9484 GB, free: 75.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008678/1.856, allocations: 1.415 MB / 0.9497 GB, free: 75.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.01319/1.869, allocations: 6.882 MB / 0.9565 GB, free: 75.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.009386/1.878, allocations: 2.983 MB / 0.9594 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02662/1.905, allocations: 20.79 MB / 0.9797 GB, free: 71.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.905, allocations: 0 / 0.9797 GB, free: 71.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/1.905, allocations: 7.938 kB / 0.9797 GB, free: 71.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001329/1.906, allocations: 0 / 0.9797 GB, free: 71.3 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.06186/1.968, allocations: 16.38 MB / 0.9957 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.968, allocations: 8.031 kB / 0.9957 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03932/2.008, allocations: 4.894 MB / 1 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03508/2.043, allocations: 12.81 MB / 1.013 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009336/2.044, allocations: 0.9041 MB / 1.014 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007883/2.052, allocations: 1.279 MB / 1.015 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08913/2.141, allocations: 31.93 MB / 1.046 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00154/2.142, allocations: 152.8 kB / 1.046 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007093/2.149, allocations: 0.5442 MB / 1.047 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008171/2.158, allocations: 4.552 MB / 1.051 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06949/2.227, allocations: 27.09 MB / 1.078 GB, free: 14.12 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.5954/2.823, allocations: 124.8 MB / 1.2 GB, free: 246.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05038/2.873, allocations: 16.56 MB / 1.216 GB, free: 246.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01651/2.89, allocations: 11.22 MB / 1.227 GB, free: 246.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002303/2.892, allocations: 1.502 MB / 1.228 GB, free: 245.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.384e-05/2.892, allocations: 103.6 kB / 1.228 GB, free: 245.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=614): time 9.158e-06/2.892, allocations: 0 / 1.228 GB, free: 245.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=817): time 0.4868/3.379, allocations: 150.6 MB / 1.376 GB, free: 149.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/3.379, allocations: 350.7 kB / 1.376 GB, free: 148.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01999/3.399, allocations: 11.47 MB / 1.387 GB, free: 137.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002918/3.402, allocations: 153.7 kB / 1.387 GB, free: 137.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006112/3.408, allocations: 8.883 MB / 1.396 GB, free: 128.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004743/3.413, allocations: 2.956 MB / 1.399 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002903/3.416, allocations: 328.8 kB / 1.399 GB, free: 125.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0009244/3.417, allocations: 0.9964 MB / 1.4 GB, free: 124.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/3.432, allocations: 10.85 MB / 1.411 GB, free: 113.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02019/3.453, allocations: 18.18 MB / 1.428 GB, free: 91.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02016/3.473, allocations: 13.87 MB / 1.442 GB, free: 77.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001812/3.473, allocations: 68 kB / 1.442 GB, free: 77.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=2133) (initialization): time 0.07777/3.551, allocations: 40.14 MB / 1.481 GB, free: 37.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/3.551, allocations: 111.7 kB / 1.481 GB, free: 37.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002447/3.551, allocations: 244 kB / 1.482 GB, free: 37.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03192/3.583, allocations: 12.35 MB / 1.494 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/3.597, allocations: 3.806 MB / 1.497 GB, free: 21.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4256/4.023, allocations: 58.88 MB / 1.555 GB, free: 264 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01961/4.043, allocations: 1.109 MB / 1.556 GB, free: 263.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005669/4.048, allocations: 0.9449 MB / 1.557 GB, free: 263.6 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.02191/4.07, allocations: 6.357 MB / 1.563 GB, free: 261.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005002/4.075, allocations: 1.13 MB / 1.564 GB, free: 261.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07861/4.154, allocations: 33 MB / 1.596 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00019/4.154, allocations: 78.69 kB / 1.596 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001739/4.154, allocations: 43.53 kB / 1.597 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002314/4.155, allocations: 39.52 kB / 1.597 GB, free: 250.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1326/4.287, allocations: 60.58 MB / 1.656 GB, free: 223.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001082/4.287, allocations: 4 kB / 1.656 GB, free: 223.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007807/4.295, allocations: 1.475 MB / 1.657 GB, free: 222.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03126/4.326, allocations: 11.8 MB / 1.669 GB, free: 213.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002678/4.329, allocations: 243.8 kB / 1.669 GB, free: 213.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07575/4.405, allocations: 57.4 MB / 1.725 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/4.405, allocations: 11.94 kB / 1.725 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07255/4.477, allocations: 44.13 MB / 1.768 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00931/4.487, allocations: 2.937 MB / 1.771 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004202/4.491, allocations: 156 kB / 1.771 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009919/4.501, allocations: 0.6281 MB / 1.772 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002401/4.503, allocations: 0.6241 MB / 1.772 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008407/4.504, allocations: 287.8 kB / 1.773 GB, free: 107.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01384/4.518, allocations: 7.335 MB / 1.78 GB, free: 100.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.02e-07/4.518, allocations: 0 / 1.78 GB, free: 100.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02493/4.543, allocations: 4.264 MB / 1.784 GB, free: 96.35 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.003068/4.546, allocations: 373.4 kB / 1.784 GB, free: 95.98 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.04221/4.588, allocations: 27.18 MB / 1.811 GB, free: 68.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/4.588, allocations: 0 / 1.811 GB, free: 68.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.03124/4.62, allocations: 14.87 MB / 1.825 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02071/4.64, allocations: 1.832 MB / 1.827 GB, free: 52.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3594/5, allocations: 47.47 MB / 1.873 GB, free: 262.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01841/5.018, allocations: 9.988 MB / 1.883 GB, free: 261.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005265/5.024, allocations: 1.105 MB / 1.884 GB, free: 261.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.133e-06/5.024, allocations: 6.156 kB / 1.884 GB, free: 261.3 MB / 0.698 GB Notification: Performance of Templates: time 0.9227/5.946, allocations: 0.5162 GB / 2.401 GB, free: 101.9 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