Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00113/0.00113, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002674, allocations: 441.7 kB / 10.32 MB, free: 380 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.00112/0.00112, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002555, allocations: 467.5 kB / 11.66 MB, free: 2.504 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 1.079/1.079, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08694/1.166, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2455/0.2455, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02509/0.2705, allocations: 12.53 MB / 289.3 MB, free: 8.691 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_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_0_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 2.013e-06/2.013e-06, allocations: 0 / 290.5 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.21e-05, allocations: 3.078 kB / 290.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.02741/0.02743, allocations: 38.93 MB / 329.5 MB, free: 1.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.05149, allocations: 11.87 MB / 341.3 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007596/0.05908, allocations: 437.8 kB / 341.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01454/0.07363, allocations: 14.88 MB / 356.7 MB, free: 5.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009457/0.08308, allocations: 5.281 MB / 361.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005355/0.08844, allocations: 4.584 MB / 366.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01957/0.108, allocations: 21.14 MB / 387.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01478/0.1228, allocations: 14.25 MB / 401.9 MB, free: 8.488 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0204/0.1432, allocations: 12.44 MB / 414.4 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01318/0.1564, allocations: 9.334 MB / 423.7 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003083/0.1595, allocations: 1.484 MB / 425.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/0.1639, allocations: 2.615 MB / 427.8 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006978/0.1709, allocations: 7.417 MB / 435.2 MB, free: 7.082 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006485/0.1774, allocations: 4.24 MB / 439.4 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3159/0.4933, allocations: 14.17 MB / 453.6 MB, free: 45.18 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.671e-05/0.4933, allocations: 4.703 kB / 453.6 MB, free: 45.18 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4933, allocations: 0 / 453.6 MB, free: 45.18 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0009784/0.4943, allocations: 0 / 453.6 MB, free: 45.18 MB / 426.8 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.03686/0.5311, allocations: 20.24 MB / 473.9 MB, free: 38.98 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.5312, allocations: 9.938 kB / 473.9 MB, free: 38.98 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005894/0.5371, allocations: 1.973 MB / 475.8 MB, free: 38.84 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.5497, allocations: 2.919 MB / 478.8 MB, free: 38.83 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/0.565, allocations: 8.527 MB / 487.3 MB, free: 36.93 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005607/0.5656, allocations: 0.8571 MB / 488.1 MB, free: 36.91 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/0.5692, allocations: 1.191 MB / 489.3 MB, free: 36.88 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/0.6047, allocations: 14.06 MB / 0.4916 GB, free: 32.36 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009805/0.6057, allocations: 143.1 kB / 0.4917 GB, free: 32.33 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003334/0.609, allocations: 0.5049 MB / 0.4922 GB, free: 32.33 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003342/0.6124, allocations: 3.389 MB / 0.4955 GB, free: 32.07 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/0.6351, allocations: 6.836 MB / 0.5022 GB, free: 29.8 MB / 426.8 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.11/0.7452, allocations: 81.56 MB / 0.5819 GB, free: 13.95 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/0.7644, allocations: 6.678 MB / 0.5884 GB, free: 7.445 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002826/0.7672, allocations: 1.679 MB / 0.59 GB, free: 5.793 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.7682, allocations: 0.7899 MB / 0.5908 GB, free: 5.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/0.7683, allocations: 82.31 kB / 0.5909 GB, free: 4.93 MB / 490.8 MB Notification: Performance of pre-optimization done (n=481): time 7.734e-06/0.7683, allocations: 0 / 0.5909 GB, free: 4.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=635): time 0.3498/1.118, allocations: 65.23 MB / 0.6546 GB, free: 168.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.118, allocations: 326 kB / 0.6549 GB, free: 167.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/1.13, allocations: 9.067 MB / 0.6637 GB, free: 161.6 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001668/1.132, allocations: 124 kB / 0.6639 GB, free: 161.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003601/1.136, allocations: 7.035 MB / 0.6707 GB, free: 155.4 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003191/1.139, allocations: 2.436 MB / 0.6731 GB, free: 152.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004481/1.143, allocations: 2.705 MB / 0.6758 GB, free: 150.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.441e-05/1.143, allocations: 301.1 kB / 0.676 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/1.148, allocations: 2.477 MB / 0.6785 GB, free: 147.4 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005873/1.154, allocations: 9.185 MB / 0.6874 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009939/1.163, allocations: 12.58 MB / 0.6997 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.164, allocations: 64 kB / 0.6998 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1863) (initialization): time 0.02602/1.19, allocations: 13.92 MB / 0.7134 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/1.19, allocations: 100 kB / 0.7135 GB, free: 105.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/1.19, allocations: 232 kB / 0.7137 GB, free: 105 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0179/1.208, allocations: 6.184 MB / 0.7197 GB, free: 98.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007768/1.216, allocations: 3.264 MB / 0.7229 GB, free: 95.54 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02729/1.243, allocations: 17.17 MB / 0.7397 GB, free: 78.13 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009329/1.252, allocations: 0.5309 MB / 0.7402 GB, free: 77.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/1.254, allocations: 0.6407 MB / 0.7408 GB, free: 76.96 MB / 0.4949 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.006108/1.261, allocations: 1.226 MB / 0.742 GB, free: 75.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002583/1.263, allocations: 0.7765 MB / 0.7428 GB, free: 74.92 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/1.282, allocations: 9.123 MB / 0.7517 GB, free: 65.7 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.527e-05/1.282, allocations: 60.98 kB / 0.7518 GB, free: 65.64 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-05/1.282, allocations: 40 kB / 0.7518 GB, free: 65.61 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/1.282, allocations: 31.88 kB / 0.7518 GB, free: 65.57 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04953/1.332, allocations: 22.51 MB / 0.7738 GB, free: 42.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.322e-05/1.332, allocations: 7.984 kB / 0.7738 GB, free: 42.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/1.335, allocations: 0.9285 MB / 0.7747 GB, free: 41.86 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00359/1.339, allocations: 1.067 MB / 0.7758 GB, free: 40.78 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01877/1.357, allocations: 5.975 MB / 0.7816 GB, free: 34.79 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001404/1.359, allocations: 124 kB / 0.7817 GB, free: 34.67 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2102/1.569, allocations: 15.18 MB / 0.7965 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.569, allocations: 4.781 kB / 0.7965 GB, free: 148.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02428/1.593, allocations: 10.06 MB / 0.8064 GB, free: 147.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003514/1.597, allocations: 127.9 kB / 0.8065 GB, free: 147.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007314/1.604, allocations: 123.5 kB / 0.8066 GB, free: 147.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002388/1.607, allocations: 458.1 kB / 0.807 GB, free: 147.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005518/1.607, allocations: 120 kB / 0.8072 GB, free: 147.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005839/1.613, allocations: 3.86 MB / 0.8109 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.8e-07/1.613, allocations: 0 / 0.8109 GB, free: 147.6 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01689/1.63, allocations: 4.332 MB / 0.8152 GB, free: 147.6 MB / 0.4949 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.02647/1.656, allocations: 10.87 MB / 0.8258 GB, free: 146.2 MB / 0.4949 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.01481/1.671, allocations: 8.516 MB / 0.8341 GB, free: 142.8 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 0.00067/1.672, allocations: 172.2 kB / 0.8343 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007419/1.679, allocations: 3.609 MB / 0.8378 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01498/1.694, allocations: 3.383 MB / 0.8411 GB, free: 137.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1239/1.818, allocations: 77.68 MB / 0.9169 GB, free: 58.24 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006812/1.825, allocations: 4.118 MB / 0.921 GB, free: 54.09 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.005578/1.83, allocations: 1.375 MB / 0.9223 GB, free: 52.73 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01052/1.841, allocations: 7.96 MB / 0.9301 GB, free: 44.75 MB / 0.4949 GB Notification: Performance of SimCode: time 2.475e-06/1.841, allocations: 0 / 0.9301 GB, free: 44.75 MB / 0.4949 GB Notification: Performance of FMU documentation: time 0.6786/2.52, allocations: 384.3 MB / 1.305 GB, free: 26.01 MB / 0.4949 GB Notification: FMU-only work: backend 0.02432, simCode 0.06954, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06574/2.585, allocations: 1.331 MB / 1.307 GB, free: 24.64 MB / 0.4949 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.397/8.982, allocations: 10.72 kB / 1.307 GB, free: 24.64 MB / 0.4949 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4.fmu) > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-euler.fmu) > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4.fmu) > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.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_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_4.0.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.0.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.809124859049916]