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.0009741/0.0009741, allocations: 111.5 kB / 20.43 MB, free: 4.602 MB / 13.93 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.0009416/0.0009416, allocations: 217.5 kB / 23.73 MB, free: 2.125 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.9544/0.9544, allocations: 230.6 MB / 257.5 MB, free: 9.602 MB / 202.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.1598/0.1598, allocations: 44.94 MB / 358.9 MB, free: 5.102 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",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 83.88 kB / 0.4946 GB, free: 9.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 65.47 MB / 0.5585 GB, free: 8.051 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.2524/0.3635, allocations: 35.54 MB / 0.5932 GB, free: 12.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02901/0.3925, allocations: 11.16 MB / 0.6041 GB, free: 5.332 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009988/0.4025, allocations: 440.1 kB / 0.6046 GB, free: 5.191 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01692/0.4194, allocations: 14.45 MB / 0.6187 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.4321, allocations: 5.15 MB / 0.6237 GB, free: 9.141 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008336/0.4405, allocations: 4.388 MB / 0.628 GB, free: 6.176 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0244/0.4649, allocations: 19.81 MB / 0.6473 GB, free: 3.184 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01618/0.481, allocations: 12.9 MB / 0.6599 GB, free: 6.164 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.4924, allocations: 6.58 MB / 0.6664 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01044/0.5029, allocations: 8.33 MB / 0.6745 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003907/0.5068, allocations: 1.438 MB / 0.6759 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006149/0.5129, allocations: 2.475 MB / 0.6783 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.007908/0.5208, allocations: 7.894 MB / 0.686 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01062/0.5314, allocations: 6.549 MB / 0.6924 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02392/0.5554, allocations: 25.14 MB / 0.717 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5554, allocations: 0 / 0.717 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5554, allocations: 0 / 0.717 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001006/0.5564, allocations: 0 / 0.717 GB, free: 11.56 MB / 0.5417 GB 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.04633/0.6027, allocations: 19.8 MB / 0.7363 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6027, allocations: 15.98 kB / 0.7363 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005553/0.6083, allocations: 2 MB / 0.7383 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1018/0.7101, allocations: 20.88 MB / 0.7587 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02371/0.7338, allocations: 14.41 MB / 0.7727 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006078/0.7344, allocations: 0.8465 MB / 0.7736 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003841/0.7382, allocations: 1.202 MB / 0.7747 GB, free: 96 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04746/0.7857, allocations: 28.72 MB / 0.8028 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006033/0.7863, allocations: 155 kB / 0.8029 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003331/0.7896, allocations: 0.5114 MB / 0.8034 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3803/1.17, allocations: 3.768 MB / 0.8071 GB, free: 184.1 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04439/1.214, allocations: 23.6 MB / 0.8302 GB, free: 177.4 MB / 0.6199 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.119/1.333, allocations: 105.7 MB / 0.9334 GB, free: 83.67 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02812/1.361, allocations: 14.91 MB / 0.9479 GB, free: 68.83 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008479/1.37, allocations: 9.811 MB / 0.9575 GB, free: 59.01 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009421/1.371, allocations: 0.5558 MB / 0.958 GB, free: 58.46 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/1.371, allocations: 90.78 kB / 0.9581 GB, free: 58.36 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=541): time 7.995e-06/1.371, allocations: 0 / 0.9581 GB, free: 58.36 MB / 0.6199 GB Notification: Performance of matching and sorting (n=748): time 0.7052/2.076, allocations: 140.6 MB / 1.095 GB, free: 205 MB / 0.6669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/2.076, allocations: 342.1 kB / 1.096 GB, free: 204.7 MB / 0.6669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/2.088, allocations: 11.36 MB / 1.107 GB, free: 200.9 MB / 0.6669 GB Notification: Performance of collectPreVariables (initialization): time 0.001216/2.089, allocations: 145.4 kB / 1.107 GB, free: 200.8 MB / 0.6669 GB Notification: Performance of collectInitialEqns (initialization): time 0.003501/2.093, allocations: 8.576 MB / 1.115 GB, free: 195.2 MB / 0.6669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001921/2.094, allocations: 2.82 MB / 1.118 GB, free: 193.1 MB / 0.6669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/2.097, allocations: 3.043 MB / 1.121 GB, free: 191.8 MB / 0.6669 GB Notification: Performance of setup shared object (initialization): time 3.056e-05/2.097, allocations: 308.6 kB / 1.121 GB, free: 191.5 MB / 0.6669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00734/2.105, allocations: 9.615 MB / 1.131 GB, free: 188.2 MB / 0.6669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008799/2.114, allocations: 16.45 MB / 1.147 GB, free: 175.9 MB / 0.6669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/2.133, allocations: 27.62 MB / 1.174 GB, free: 147.9 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/2.133, allocations: 64 kB / 1.174 GB, free: 147.8 MB / 0.6669 GB Notification: Performance of matching and sorting (n=1818) (initialization): time 0.03767/2.17, allocations: 35.24 MB / 1.208 GB, free: 112.6 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 8.638e-05/2.17, allocations: 104.9 kB / 1.208 GB, free: 112.5 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/2.171, allocations: 224.7 kB / 1.209 GB, free: 112.3 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/2.186, allocations: 10.84 MB / 1.219 GB, free: 101.4 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006579/2.192, allocations: 3.248 MB / 1.222 GB, free: 98.17 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05274/2.245, allocations: 57.77 MB / 1.279 GB, free: 40.2 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.255, allocations: 0.9443 MB / 1.28 GB, free: 39.25 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/2.257, allocations: 0.8547 MB / 1.281 GB, free: 38.4 MB / 0.6669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1020 * 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 (1548): * Single equations (assignments): 1536 * 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 {(10,102,78.0%), (9,123,90.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007707/2.265, allocations: 5.818 MB / 1.286 GB, free: 32.56 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/2.266, allocations: 1.149 MB / 1.287 GB, free: 31.4 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2274/2.494, allocations: 28.41 MB / 1.315 GB, free: 193.2 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001217/2.494, allocations: 72.95 kB / 1.315 GB, free: 193.2 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001266/2.494, allocations: 42.75 kB / 1.315 GB, free: 193.2 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000178/2.494, allocations: 43.17 kB / 1.315 GB, free: 193.2 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06968/2.564, allocations: 52.29 MB / 1.366 GB, free: 178.4 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/2.564, allocations: 3.938 kB / 1.366 GB, free: 178.4 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003337/2.567, allocations: 1.333 MB / 1.368 GB, free: 178.3 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01449/2.582, allocations: 9.777 MB / 1.377 GB, free: 176.4 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007937/2.582, allocations: 229.3 kB / 1.377 GB, free: 176.3 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0416/2.624, allocations: 54.52 MB / 1.431 GB, free: 129.5 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.624, allocations: 4 kB / 1.431 GB, free: 129.5 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04359/2.668, allocations: 39.67 MB / 1.469 GB, free: 90.36 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003308/2.671, allocations: 1.054 MB / 1.47 GB, free: 89.75 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/2.672, allocations: 143.7 kB / 1.471 GB, free: 89.61 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004396/2.677, allocations: 0.5227 MB / 1.471 GB, free: 89.09 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00185/2.679, allocations: 0.6118 MB / 1.472 GB, free: 88.47 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006629/2.679, allocations: 275.4 kB / 1.472 GB, free: 88.2 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.00797/2.687, allocations: 7.069 MB / 1.479 GB, free: 81.2 MB / 0.6669 GB Notification: Performance of sort global known variables: time 1.7e-07/2.687, allocations: 0 / 1.479 GB, free: 81.2 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.01063/2.698, allocations: 3.795 MB / 1.483 GB, free: 77.41 MB / 0.6669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 32 (freeMotion1.r_rel_a[1],freeMotion1.r_rel_a[2],freeMotion1.r_rel_a[3],freeMotion1.v_rel_a[1],freeMotion1.v_rel_a[2],freeMotion1.v_rel_a[3],freeMotion1.phi[1],freeMotion1.phi[2],freeMotion1.phi[3],freeMotion1.phi_d[1],freeMotion1.phi_d[2],freeMotion1.phi_d[3],revolute1.phi,revolute1.w,gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,freeMotion2.r_rel_a[1],freeMotion2.r_rel_a[2],freeMotion2.r_rel_a[3],freeMotion2.v_rel_a[1],freeMotion2.v_rel_a[2],freeMotion2.v_rel_a[3],freeMotion2.phi[1],freeMotion2.phi[2],freeMotion2.phi[3],freeMotion2.phi_d[1],freeMotion2.phi_d[2],freeMotion2.phi_d[3],revolute2.phi,revolute2.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (548): * Single equations (assignments): 542 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (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 {(9,111,97.5%), (11,87,73.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04476/2.743, allocations: 40.57 MB / 1.522 GB, free: 36.74 MB / 0.6669 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.02542/2.768, allocations: 23.42 MB / 1.545 GB, free: 13.35 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.768, allocations: 0 / 1.545 GB, free: 13.35 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 0.01338/2.781, allocations: 10.74 MB / 1.556 GB, free: 2.57 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/2.792, allocations: 1.98 MB / 1.557 GB, free: 0.6367 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4367/3.228, allocations: 183.1 MB / 1.736 GB, free: 84.29 MB / 0.6825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01791/3.246, allocations: 8.953 MB / 1.745 GB, free: 75.31 MB / 0.6825 GB Notification: Performance of simCode: alias equations: time 0.01087/3.257, allocations: 4.555 MB / 1.749 GB, free: 70.75 MB / 0.6825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01073/3.268, allocations: 7.192 MB / 1.756 GB, free: 63.56 MB / 0.6825 GB Notification: Performance of SimCode: time 1.513e-06/3.268, allocations: 0 / 1.756 GB, free: 63.56 MB / 0.6825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8732/4.141, allocations: 342.8 MB / 2.091 GB, free: 176.2 MB / 0.6981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.22/23.36, allocations: 18.53 kB / 2.091 GB, free: 176.2 MB / 0.6981 GB " [Timeout remaining time 636] (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 [Calling sys.exit(0), Time elapsed: 31.391151634976268]