Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 72.17 kB / 9.897 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001628/0.002744, allocations: 449.7 kB / 10.34 MB, free: 360 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 161.1 kB / 11.23 MB, free: 2.945 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002311, allocations: 459.6 kB / 11.67 MB, free: 2.492 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9749/0.9749, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0788/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2464/0.2464, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03185/0.2782, allocations: 13.09 MB / 291.3 MB, free: 7.367 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.274e-05, allocations: 3.516 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.02638/0.02639, allocations: 38.91 MB / 331.5 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.04775, allocations: 11.88 MB / 343.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005651/0.0534, allocations: 445.7 kB / 343.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.06576, allocations: 14.87 MB / 358.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00945/0.07521, allocations: 5.285 MB / 364 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005801/0.08101, allocations: 4.577 MB / 368.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01897/0.09998, allocations: 21.14 MB / 389.7 MB, free: 4.898 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/0.1131, allocations: 14.27 MB / 403.9 MB, free: 6.465 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.1244, allocations: 12.44 MB / 416.4 MB, free: 9.945 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008077/0.1325, allocations: 9.338 MB / 425.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.1339, allocations: 1.484 MB / 427.2 MB, free: 15.1 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.1369, allocations: 2.615 MB / 429.8 MB, free: 12.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004409/0.1413, allocations: 7.417 MB / 437.2 MB, free: 5.051 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004626/0.1459, allocations: 4.236 MB / 441.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2101/0.356, allocations: 14.17 MB / 455.6 MB, free: 44.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.356, allocations: 0 / 455.6 MB, free: 44.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.356, allocations: 0 / 455.6 MB, free: 44.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005886/0.3566, allocations: 0 / 455.6 MB, free: 44.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4096 * Number of variables: 4096 Notification: Performance of Generate backend data structure: time 0.0227/0.3793, allocations: 20.25 MB / 475.9 MB, free: 38.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3793, allocations: 9.469 kB / 475.9 MB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001709/0.381, allocations: 1.968 MB / 477.9 MB, free: 38.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006575/0.3876, allocations: 2.95 MB / 480.8 MB, free: 38.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009322/0.3969, allocations: 8.528 MB / 489.4 MB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.3972, allocations: 0.854 MB / 490.2 MB, free: 36.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.3984, allocations: 1.195 MB / 491.4 MB, free: 36.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.4142, allocations: 14.06 MB / 0.4936 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/0.4146, allocations: 138.3 kB / 0.4937 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.4157, allocations: 0.5096 MB / 0.4942 GB, free: 32.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003102/0.4188, allocations: 3.378 MB / 0.4975 GB, free: 31.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.4331, allocations: 6.835 MB / 0.5042 GB, free: 26.62 MB / 426.7 MB 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.07004/0.5031, allocations: 81.57 MB / 0.5839 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/0.5233, allocations: 6.68 MB / 0.5904 GB, free: 4.277 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/0.5261, allocations: 1.674 MB / 0.592 GB, free: 2.625 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.5273, allocations: 0.7962 MB / 0.5928 GB, free: 1.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.265e-05/0.5274, allocations: 82.31 kB / 0.5929 GB, free: 1.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=481): time 8.265e-06/0.5274, allocations: 0 / 0.5929 GB, free: 1.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=635): time 0.3742/0.9016, allocations: 65.23 MB / 0.6566 GB, free: 188.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.9017, allocations: 120.2 kB / 0.6567 GB, free: 188.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009516/0.9112, allocations: 9.061 MB / 0.6656 GB, free: 186.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009806/0.9122, allocations: 127.3 kB / 0.6657 GB, free: 186.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002224/0.9144, allocations: 7.028 MB / 0.6725 GB, free: 181 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001935/0.9163, allocations: 2.442 MB / 0.6749 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00261/0.9189, allocations: 2.698 MB / 0.6776 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.818e-05/0.919, allocations: 301.1 kB / 0.6778 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/0.9227, allocations: 2.477 MB / 0.6803 GB, free: 174 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/0.9279, allocations: 9.185 MB / 0.6892 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008376/0.9363, allocations: 12.59 MB / 0.7015 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.072e-05/0.9364, allocations: 64 kB / 0.7016 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1863) (initialization): time 0.02452/0.9609, allocations: 13.92 MB / 0.7152 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.961, allocations: 101 kB / 0.7153 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/0.9612, allocations: 232 kB / 0.7155 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01999/0.9812, allocations: 6.186 MB / 0.7215 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007836/0.989, allocations: 3.262 MB / 0.7247 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02712/1.016, allocations: 17.18 MB / 0.7415 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0094/1.026, allocations: 0.5387 MB / 0.742 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.028, allocations: 0.6327 MB / 0.7426 GB, free: 103.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1042 * Number of states: 0 () * Number of discrete variables: 160 (absoluteSensor_1D.arrow.twoHeadedArrow,absoluteSensor_1D.arrow.headAtOrigin,absoluteSensor_MBS.arrow.twoHeadedArrow,absoluteSensor_MBS.arrow.headAtOrigin,torque3.torqueArrow.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.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 (1617): * Single equations (assignments): 1605 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,94,84.4%), (8,110,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005749/1.033, allocations: 1.222 MB / 0.7438 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002567/1.036, allocations: 0.7765 MB / 0.7446 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/1.053, allocations: 9.119 MB / 0.7535 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.719e-05/1.053, allocations: 63.98 kB / 0.7536 GB, free: 92.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.274e-05/1.054, allocations: 40 kB / 0.7536 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/1.054, allocations: 31.83 kB / 0.7536 GB, free: 92.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04621/1.1, allocations: 22.51 MB / 0.7756 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-05/1.1, allocations: 4 kB / 0.7756 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/1.103, allocations: 0.9293 MB / 0.7765 GB, free: 68.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004139/1.107, allocations: 1.059 MB / 0.7776 GB, free: 67.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01726/1.125, allocations: 5.969 MB / 0.7834 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001266/1.126, allocations: 124 kB / 0.7835 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/1.149, allocations: 15.21 MB / 0.7984 GB, free: 46.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/1.149, allocations: 7.938 kB / 0.7984 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02301/1.172, allocations: 10.07 MB / 0.8082 GB, free: 35.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003459/1.176, allocations: 120 kB / 0.8083 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006017/1.182, allocations: 128 kB / 0.8084 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001994/1.184, allocations: 461.6 kB / 0.8089 GB, free: 35.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005651/1.184, allocations: 116 kB / 0.809 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005465/1.19, allocations: 3.863 MB / 0.8128 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.22e-07/1.19, allocations: 0 / 0.8128 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.2115/1.401, allocations: 4.314 MB / 0.817 GB, free: 165.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (461): * Single equations (assignments): 455 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,95.3%), (9,78,76.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02729/1.429, allocations: 10.86 MB / 0.8276 GB, free: 163.9 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95: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 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95: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 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95:41:writable] Warning: Variable freeMotion2.phi_d[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Joints/FreeMotion.mo:93:3-95:41:writable] Warning: Variable freeMotion2.phi_d[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01543/1.444, allocations: 8.515 MB / 0.8359 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0007249/1.445, allocations: 175.7 kB / 0.8361 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007283/1.452, allocations: 3.606 MB / 0.8396 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01228/1.464, allocations: 3.379 MB / 0.8429 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1358/1.6, allocations: 77.5 MB / 0.9186 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00768/1.608, allocations: 4.118 MB / 0.9226 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005677/1.614, allocations: 1.379 MB / 0.9239 GB, free: 95.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01103/1.625, allocations: 7.958 MB / 0.9317 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of SimCode: time 3.066e-06/1.625, allocations: 4 kB / 0.9317 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of FMU documentation: time 0.6614/2.286, allocations: 391 MB / 1.314 GB, free: 74.16 MB / 0.5105 GB Notification: FMU-only work: backend 0.02515, simCode 0.07346, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08515/2.371, allocations: 1.48 MB / 1.315 GB, free: 72.64 MB / 0.5105 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 6.368/8.739, allocations: 18.84 kB / 1.315 GB, free: 72.62 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4.fmu) > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint4/GearConstraint4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint4/GearConstraint4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-euler.fmu) > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint4/GearConstraint4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy_res.csv --output-variables '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 --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ../ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4.fmu) > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint4/GearConstraint4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode_res.csv --output-variables '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 freeMotion1.phi freeMotion1.phi_d freeMotion1.r_rel_a freeMotion1.v_rel_a freeMotion2.phi freeMotion2.phi_d freeMotion2.r_rel_a freeMotion2.v_rel_a --start-time 0 --stop-time 2 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.00039984 ../ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint4/GearConstraint4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.08242021780461]