Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000902/0.000902, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.00204, allocations: 449.6 kB / 10.33 MB, free: 372 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007566/0.0007566, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002127, allocations: 475.5 kB / 11.67 MB, free: 2.496 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.995/0.995, allocations: 177.4 MB / 189.8 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08902/1.084, allocations: 53.85 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2576/0.2576, allocations: 34.87 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02433/0.282, allocations: 13.23 MB / 292.5 MB, free: 6.469 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_trunk_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.072e-06/1.072e-06, allocations: 0 / 293.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.338e-06/1.041e-05, allocations: 6.75 kB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4): time 0.02609/0.0261, allocations: 38.92 MB / 332.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.04677, allocations: 11.88 MB / 344.6 MB, free: 2.219 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005878/0.05265, allocations: 441.7 kB / 345 MB, free: 1.785 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01318/0.06583, allocations: 14.88 MB / 359.9 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008564/0.07439, allocations: 5.289 MB / 365.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005399/0.07979, allocations: 4.584 MB / 369.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0193/0.09909, allocations: 21.13 MB / 390.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.1137, allocations: 14.25 MB / 405.2 MB, free: 5.371 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01432/0.1281, allocations: 12.44 MB / 417.6 MB, free: 8.855 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008005/0.1361, allocations: 9.342 MB / 426.9 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.1375, allocations: 1.484 MB / 428.4 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.1405, allocations: 2.607 MB / 431 MB, free: 11.4 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004432/0.1449, allocations: 7.425 MB / 438.5 MB, free: 3.957 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2924/0.4373, allocations: 4.234 MB / 442.7 MB, free: 45.82 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.4513, allocations: 14.17 MB / 456.9 MB, free: 44.68 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.4513, allocations: 2.859 kB / 456.9 MB, free: 44.68 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4513, allocations: 0 / 456.9 MB, free: 44.68 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0002402/0.4516, allocations: 0 / 456.9 MB, free: 44.68 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.02395/0.4755, allocations: 20.24 MB / 477.1 MB, free: 38.48 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4756, allocations: 16.75 kB / 477.1 MB, free: 38.48 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001575/0.4772, allocations: 1.968 MB / 479.1 MB, free: 38.34 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006472/0.4836, allocations: 2.919 MB / 482 MB, free: 38.32 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009351/0.493, allocations: 8.525 MB / 490.5 MB, free: 36.43 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/0.4933, allocations: 0.8536 MB / 491.4 MB, free: 36.4 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4945, allocations: 1.201 MB / 492.6 MB, free: 36.37 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.5094, allocations: 14.05 MB / 0.4948 GB, free: 31.85 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000248/0.5097, allocations: 142.9 kB / 0.4949 GB, free: 31.82 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007562/0.5104, allocations: 0.5104 MB / 0.4954 GB, free: 31.82 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/0.5125, allocations: 3.38 MB / 0.4987 GB, free: 31.55 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.5226, allocations: 6.837 MB / 0.5054 GB, free: 25.89 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.06953/0.5922, allocations: 81.57 MB / 0.585 GB, free: 10.06 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0209/0.6131, allocations: 6.683 MB / 0.5916 GB, free: 3.547 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.6158, allocations: 1.667 MB / 0.5932 GB, free: 1.902 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.6171, allocations: 0.7904 MB / 0.594 GB, free: 1.129 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/0.6172, allocations: 82.31 kB / 0.594 GB, free: 1.039 MB / 490.8 MB Notification: Performance of pre-optimization done (n=481): time 8.446e-06/0.6172, allocations: 0 / 0.594 GB, free: 1.039 MB / 490.8 MB Notification: Performance of matching and sorting (n=635): time 0.307/0.9241, allocations: 65.24 MB / 0.6577 GB, free: 188.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.9242, allocations: 325.9 kB / 0.6581 GB, free: 188.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008032/0.9323, allocations: 9.062 MB / 0.6669 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004425/0.9327, allocations: 126.7 kB / 0.667 GB, free: 185.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.935, allocations: 7.035 MB / 0.6739 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001443/0.9364, allocations: 2.44 MB / 0.6763 GB, free: 177.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002602/0.939, allocations: 2.693 MB / 0.6789 GB, free: 175.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.954e-05/0.9391, allocations: 305.1 kB / 0.6792 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/0.9428, allocations: 2.477 MB / 0.6816 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00513/0.948, allocations: 9.19 MB / 0.6906 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008581/0.9565, allocations: 12.58 MB / 0.7029 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.795e-05/0.9566, allocations: 71.25 kB / 0.7029 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1863) (initialization): time 0.02245/0.9791, allocations: 13.92 MB / 0.7165 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.9792, allocations: 104 kB / 0.7166 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001771/0.9793, allocations: 228 kB / 0.7169 GB, free: 130.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/0.9961, allocations: 6.182 MB / 0.7229 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007891/1.004, allocations: 3.268 MB / 0.7261 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03179/1.036, allocations: 17.17 MB / 0.7428 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009521/1.045, allocations: 0.5426 MB / 0.7434 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.046, allocations: 0.6288 MB / 0.744 GB, free: 102.4 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.004417/1.051, allocations: 1.223 MB / 0.7452 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/1.053, allocations: 0.7804 MB / 0.7459 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01858/1.071, allocations: 9.12 MB / 0.7549 GB, free: 91.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/1.071, allocations: 64 kB / 0.7549 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.071, allocations: 36 kB / 0.7549 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.183e-05/1.071, allocations: 39.81 kB / 0.755 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03377/1.105, allocations: 22.51 MB / 0.777 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.105, allocations: 4 kB / 0.777 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00261/1.108, allocations: 0.9246 MB / 0.7779 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/1.11, allocations: 1.067 MB / 0.7789 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01618/1.126, allocations: 5.971 MB / 0.7847 GB, free: 60.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004979/1.127, allocations: 124 kB / 0.7849 GB, free: 60.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/1.149, allocations: 15.2 MB / 0.7997 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.149, allocations: 7.938 kB / 0.7997 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/1.168, allocations: 10.07 MB / 0.8096 GB, free: 34.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/1.17, allocations: 124 kB / 0.8097 GB, free: 34.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.172, allocations: 132 kB / 0.8098 GB, free: 34.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.174, allocations: 457.6 kB / 0.8102 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003725/1.174, allocations: 116 kB / 0.8103 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003461/1.177, allocations: 3.863 MB / 0.8141 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/1.177, allocations: 0 / 0.8141 GB, free: 29.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.1718/1.349, allocations: 4.317 MB / 0.8183 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.02063/1.37, allocations: 10.85 MB / 0.8289 GB, free: 163.9 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.01157/1.381, allocations: 8.525 MB / 0.8373 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0002582/1.382, allocations: 178.2 kB / 0.8374 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00557/1.387, allocations: 3.595 MB / 0.8409 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.009346/1.397, allocations: 3.379 MB / 0.8442 GB, free: 162 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08617/1.483, allocations: 77.69 MB / 0.9201 GB, free: 99.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/1.486, allocations: 4.126 MB / 0.9241 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003744/1.49, allocations: 1.383 MB / 0.9255 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006664/1.496, allocations: 7.954 MB / 0.9333 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.816e-06/1.496, allocations: 0 / 0.9333 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of FMU documentation: time 0.6757/2.172, allocations: 384.2 MB / 1.308 GB, free: 78.49 MB / 0.5105 GB Notification: FMU-only work: backend 0.01943, simCode 0.05012, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06584/2.238, allocations: 1.339 MB / 1.31 GB, free: 77.11 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.5/8.738, allocations: 23.53 kB / 1.31 GB, free: 77.09 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=me --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4.fmu) > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --mode=cs --timeout=240 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_OMSimulator-cs-euler.fmu) > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4.fmu) > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4_fmpy-fmi3-cs-cvode.fmu) > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ModelicaTest_trunk_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.572949302382767]